Development Intermediate

Agentic AI

Artificial intelligence systems that can act autonomously, make decisions, and execute complex tasks with minimal human intervention.

Pronunciation

/eɪˈdʒɛntɪk eɪ aɪ/
"ay-JEN-tik ay-eye"
Listen on: Forvo

What is it

Agentic AI refers to artificial intelligence systems that can:

  1. Act autonomously without step-by-step instructions
  2. Make decisions based on context and goals
  3. Use tools to complete tasks
  4. Iterate until achieving the desired result

Unlike a traditional chatbot that only answers questions, an AI agent does things.

Pronunciation

IPA: /eɪˈdʒɛntɪk eɪ aɪ/

Sounds like: “ay-JEN-tik ay-eye” - stress on the second syllable of “agentic”

Common mistakes:

  • ❌ “a-GEN-tic” (stress should be on ‘JEN’)
  • ❌ “agent-ic” (it’s three syllables, not four)

Chatbot vs AI Agent

AspectTraditional ChatbotAI Agent
InteractionQuestion → AnswerGoal → Actions → Result
AutonomyWaits for instructionsDecides what to do
ToolsDoesn’t use toolsUses APIs, files, code
IterationOne responseMultiple attempts
ContextCurrent conversationEntire project

How an AI Agent Works

┌─────────────────────────────────────────────────────────┐
│                      AGENT CYCLE                         │
├─────────────────────────────────────────────────────────┤
│                                                          │
│   User: "Implement JWT authentication in my API"        │
│                         │                                │
│                         ▼                                │
│   ┌─────────────────────────────────────────────────┐   │
│   │  1. PLAN                                        │   │
│   │     - Analyze project structure                 │   │
│   │     - Identify files to modify                  │   │
│   │     - Determine required dependencies           │   │
│   └─────────────────────────────────────────────────┘   │
│                         │                                │
│                         ▼                                │
│   ┌─────────────────────────────────────────────────┐   │
│   │  2. EXECUTE                                     │   │
│   │     - Install jsonwebtoken                      │   │
│   │     - Create authentication middleware          │   │
│   │     - Modify protected routes                   │   │
│   └─────────────────────────────────────────────────┘   │
│                         │                                │
│                         ▼                                │
│   ┌─────────────────────────────────────────────────┐   │
│   │  3. VERIFY                                      │   │
│   │     - Run tests                                 │   │
│   │     - Review errors                             │   │
│   │     - Iterate if necessary                      │   │
│   └─────────────────────────────────────────────────┘   │
│                         │                                │
│                         ▼                                │
│   Result: "Authentication implemented. Here's the       │
│           usage documentation..."                       │
│                                                          │
└─────────────────────────────────────────────────────────┘

Examples of AI Agents

For software development

AgentDescriptionUse case
Claude CodeAnthropic’s CLI agentFull-stack development
GitHub Copilot WorkspaceAgent in GitHubIssues → Automatic PRs
DevinAutonomous agentComplex engineering tasks
Cursor AgentInside the IDEMulti-file refactoring

For productivity

AgentDescriptionUse case
Computer UseComputer controlTask automation
Operator (OpenAI)Web navigationReservations, purchases
Google GeminiIntegrated in GoogleEmails, calendar

Real-World Example: Agent vs Chatbot

Task: “Fix the shopping cart bug”

With traditional Chatbot:

User: There's a bug in the cart
AI: Can you describe the bug?
User: The total doesn't update
AI: You probably need to recalculate the total after removing items.
    Here's a code example...
User: Where do I put it?
AI: In your remove items function...
[10 more messages]

With AI Agent:

User: There's a bug in the cart - the total doesn't update when removing items

Agent: I'll investigate and fix it.

[Agent automatically:]
1. Reads cart files
2. Identifies removeItem function
3. Finds missing total recalculation
4. Modifies the code
5. Runs tests
6. Creates commit

Agent: Fixed. The problem was in cart.service.ts line 45.
       It forgot to call recalculateTotal() after splice().
       I already committed the fix.

Components of an Agentic System

┌─────────────────────────────────────────────────────────┐
│                  AGENTIC ARCHITECTURE                    │
├─────────────────────────────────────────────────────────┤
│                                                          │
│  ┌──────────────┐                                        │
│  │   Base LLM   │  Agent's brain (Claude, GPT)          │
│  └──────┬───────┘                                        │
│         │                                                │
│  ┌──────┴───────┐                                        │
│  │    Memory    │  Context, history, state              │
│  └──────┬───────┘                                        │
│         │                                                │
│  ┌──────┴───────┐                                        │
│  │    Tools     │  APIs, files, code, web               │
│  └──────┬───────┘                                        │
│         │                                                │
│  ┌──────┴───────┐                                        │
│  │   Planner    │  Decomposes tasks, decides steps      │
│  └──────────────┘                                        │
│                                                          │
└─────────────────────────────────────────────────────────┘

Risks and Considerations

Risks

RiskMitigation
Unwanted actionsGranular permissions, human confirmation
Infinite loopsIteration limits, timeouts
Excessive costsToken limits, monitoring
SecuritySandboxing, principle of least privilege

When NOT to use agents

  • Simple single-response tasks
  • When total step-by-step control is required
  • In critical systems without supervision
  • Without established security policies

The Future: 2026 and beyond

“AI agents will proliferate in 2026 and play a bigger role in daily work, acting more like teammates than tools.” — MIT Technology Review

Prediction for the coming years:

YearStatus
2024Experimental agents
2025First agents in production
2026Agents as teammates
2027+Autonomous agents in production
  • [[MCP]] - Protocol to connect agents to services
  • [[LLM]] - Large Language Model, the agent’s brain
  • [[Prompt Engineering]] - How to instruct agents

Remember: AI agents are powerful but require supervision. Start with low-risk tasks and gradually increase autonomy as you gain confidence.