7. Agentic Future
Work in progress
This section is under construction. This information hasn’t been reviewed or edited yet!
Introduction
Throughout this chapter, we’ve explored the foundations of AI systems, from understanding their core architectures to examining deployment strategies, technical underpinnings, crafting effective prompts, and implementing inference techniques. Now, we turn our attention to what many consider the next frontier in AI evolution: agentic systems.
While current LLMs excel at generating content and retrieving knowledge, agentic AI goes further by autonomously pursuing goals, making decisions, and taking actions without constant human guidance. This shift from passive tools to proactive agents represents a fundamental transformation that will redefine how organizations leverage AI and has profound implications for security, governance, and the future of work.
What will I get out of this?
By the end of this section, you will be able to:
- Describe the evolution of AI from generative models to agentic systems, explaining the key differences between each stage.
- Define the characteristics that make an AI system “agentic”, including goal-setting, decision-making, and autonomous action.
- Identify clear real-world applications of agentic AI across different sectors, such as business, healthcare, and customer service.
- Analyze the potential business impact of agentic AI, including projected efficiency gains and market growth estimates.
- Discuss the key challenges associated with implementing agentic AI, including governance, security, ethics, and workforce implications.
- Compare the security risks of agentic AI systems to traditional AI tools, with a focus on the amplified consequences of potential breaches.
- Distinguish between AI agents, agentic AI, and agentic workflows using practical examples.
- Recognize where simple automation ends and true agency begins on the spectrum of AI capabilities.
The Evolution of AI: From Generation to Agency
Generative AI is a nascent technology, still in its infancy. So to continue with that analogy, imagine teaching a child to ride a bike in three stages: First, they learn to balance. Then, they learn to pedal. Finally, they learn to navigate on their own. The evolution of generative AI has followed a similar path:
-
Stage 1: Base Models — Learning to Generate
Remember the early days of ChatGPT? These first-generation LLMs impressed us with their ability to generate human-like text but were limited by their training data. They could confidently tell you that Paris is the capital of Italy or invent citations to non-existent research papers. Useful, but unreliable for critical tasks. -
Stage 2: RAG Systems — Learning to Reference
Next came Retrieval Augmented Generation (RAG), which gave LLMs the ability to “look things up” before answering. Like a student with access to reference materials, RAG-enabled systems could verify facts against external sources, making them significantly more reliable and useful for enterprise applications. -
Stage 3: Agentic AI — Learning to Act
We’re now entering the era of Agentic AI — systems that don’t just respond to prompts but proactively pursue goals. These AI agents can make decisions, execute tasks, and adapt their strategies based on changing conditions. It’s like the difference between a GPS that gives directions and an autonomous vehicle that drives you to your destination.
This shift from reactive tools to proactive agents represents the most significant transformation yet in AI capability. By 2028, experts predict AI agents will autonomously handle up to 15% of routine business decisions and become a multi-trillion dollar market.
The Shift to Agentic AI
What Makes an AI “Agentic”?
Agentic AI systems operate with a degree of autonomy that sets them apart from traditional AI tools. Instead of passively waiting for instructions, these systems:
- Set their own goals within defined parameters
- Make decisions based on available information
- Take action to achieve objectives
- Learn from outcomes to improve future performance
Think of the difference between a calculator (traditional AI) and a personal financial advisor (agentic AI). The calculator performs calculations when prompted; the advisor proactively identifies opportunities, suggests strategies, and executes transactions on your behalf.
Script vs. Agent: The Critical Distinction
A common misconception is that any system using an LLM is automatically an “agent.” Let’s clarify this important distinction with examples:
Not an Agent: LLM-Enhanced Automation
A Python script that:
- Prompts an LLM with “Is this email a phishing attempt? Answer only with TRUE or FALSE”
- Takes the LLM’s response and routes the email accordingly using if-then logic
This is just automation with an LLM component. The script lacks key agent characteristics:
- It has no agency or autonomy beyond executing predefined steps
- It doesn’t perceive or interpret its environment in a meaningful way
- It follows hardcoded logic rather than adapting its behavior
True Agent: Virtual Assistant
A virtual assistant that:
- Receives the message “create a reminder for 10pm”
- Recognizes this as a task requiring action
- Decides to use Google Tasks API as the appropriate tool
- Executes the task with proper parameters
- Confirms completion and learns from the interaction
This displays genuine agency because it independently perceives input, makes decisions about appropriate actions, selects tools, and executes tasks to achieve goals.
The Spectrum of Agency
Agency exists on a spectrum rather than as a binary distinction:
-
Low Agency: Simple scripts with LLM components that follow rigid, predetermined paths (e.g., an LLM-powered form validator)
-
Medium Agency: Systems that can choose between multiple predefined actions based on LLM reasoning (e.g., a customer service bot that can answer questions, escalate issues, or schedule callbacks)
-
High Agency: Systems that can formulate their own plans, select from a wide range of tools, and adapt their approach based on feedback (e.g., an autonomous research assistant that can decompose questions, search for information, synthesize findings, and present conclusions)
Real-World Applications Already Emerging
Agentic AI is quickly moving from research labs to practical applications:
| Sector | Application | Impact |
|---|---|---|
| Business | Automated inventory management | Reduced stockouts by 35% |
| Healthcare | Patient monitoring systems | Earlier intervention in 62% of critical cases |
| Customer Service | Proactive issue resolution | 40% reduction in support tickets |
| Personal Productivity | Email management agents | Saves professionals 5+ hours weekly |
The Business Case for Agentic AI
The numbers tell a compelling story:
- Operational Efficiency: Companies using agentic AI report 20-30% productivity gains in affected workflows
- ROI Timeline: Initial investment typically recovered within 12-18 months
- Market Growth: PwC projects agentic AI could contribute $2.6-$4.4 trillion annually to global GDP by 2030
- Adoption Forecast: Gartner predicts 33% of enterprise software will incorporate agentic capabilities by 2028
Understanding Agentic Workflows
An agentic workflow is a structured series of steps that are dynamically executed by one or more AI agents to achieve a specific task or goal. What makes a workflow “agentic” is that AI agents guide and shape the progression of tasks, rather than following a predetermined, static path.
Distinguishing Traditional, AI, and Agentic Workflows
| Workflow Type | Characteristics | Example |
|---|---|---|
| Traditional Workflow | Deterministic, follows predefined sequences | A form submission process that always follows the same steps |
| Non-agentic AI Workflow | Uses AI but in predetermined ways | A text summarization workflow that takes input, prompts an LLM, returns summary |
| Agentic Workflow | Dynamic, adaptable, agent-guided | A research process where agents determine research paths based on initial findings |
The Anatomy of Agentic Workflows
Agentic workflows are defined by three key capabilities:
-
Planning: The workflow begins with an agent breaking down complex tasks into smaller sub-tasks through task decomposition and determining the best execution route.
-
Tool utilization: Agents in the workflow use predefined tools with specific permissions to accomplish tasks and carry out their generated plan.
-
Reflection and iteration: The agents can assess results at each step, adjust the plan if needed, and loop back until the outcome is satisfactory.
These foundational design patterns - reflection, planning, tool utilization, and multi-agent collaboration - are crucial for enhancing LLM productivity and performance.
Example: Multi-Agent Agentic Workflow
Consider a content creation workflow:
- Manager Agent: Receives the brief, breaks down the task, assigns subtasks to specialized agents
- Research Agent: Collects and analyzes relevant information from multiple sources
- Writer Agent: Creates initial draft based on research and brief
- Editor Agent: Reviews content for accuracy, clarity, and adherence to guidelines
- Quality Control Agent: Performs final check against predefined criteria
Each agent makes independent decisions within its domain, and the collective workflow adapts dynamically based on intermediate results.
Navigating the Challenges
The path to agentic AI isn’t without obstacles:
- Governance Gaps: How do we establish clear boundaries for AI autonomy?
- Security Concerns: Autonomous systems represent new attack vectors with amplified risks.
- Ethical Considerations: Who’s responsible when an AI agent makes a mistake?
- Workforce Evolution: Jobs won’t disappear, but they will transform
Why is Agentic AI Riskier?
Unlike traditional Generative AI that might leak data, agentic systems can make operational decisions and execute actions – turning a security breach from “information exposure” into “unauthorized business operations” with potentially devastating consequences.
The Road Ahead
As AI continues its evolution from tool to teammate, organizations that strategically implement agentic systems will gain significant competitive advantages. The question is no longer if AI agents will transform business operations, but how quickly and extensively.
What’s Next?
This section finishes Chapter 1! If you have been following along, you should now be equipped with a strong understanding of how Generative AI and particularly LLMs work. This knowledge will help you be part of any technical conversation that relates to this technology. From development to security.
Chapter 2 will be focused on showing and demonstrating how LLM systems can be compromised, while Chapter 3 will instead focus on how to secure AI applications and their ecosystem. Stay tuned!
Quiz
Let’s test your understanding!
Want to test your understanding of agentic AI and its implications? This quiz focuses on the practical applications and challenges of agentic systems.
Chapter 1 Complete!
Congratulations on completing Chapter 1! You now have a strong foundation in the core concepts of AI and LLMs, from basic principles through to emerging agentic systems. In Chapter 2, we’ll explore potential vulnerabilities in LLM systems, and in Chapter 3, we’ll delve into security best practices for AI applications.