AI Agents

AI Agents Guide

A comprehensive guide to AI agents - systems that use LLMs to reason, plan, call tools, and act autonomously until a goal is achieved. Covers architecture, tool use, control loops, and production deployment.

50 min readIntermediateLast reviewed: 21 July 2026

Quick Summary

An AI agent is an LLM-driven control loop that observes state, selects tools, and acts until a goal is met or a stop condition fires.

One Analogy

Like an on-call engineer with a runbook: gather context, decide the next command, run it, read the output, repeat until the incident is resolved.

Engineering Rule

Bound the loop first - step limits, typed tools, and gates on irreversible actions beat unbounded autonomy.

TL;DR

  • An AI agent is an LLM-driven control loop that observes state, reasons about a goal, selects actions (often tool calls), and repeats until the task is done or a stop condition is met.

  • Agents differ from chatbots because they act autonomously across multiple steps - they don't just respond; they plan, execute, observe results, and adapt.

  • The core components are always the same: a language model, a tool registry, a state store, and an orchestration loop that decides when to think, act, or stop.

  • Reliability comes from constraints, not model intelligence alone - bounded iterations, typed tool schemas, human approval gates, and observability at every step.

  • Most production systems are hybrids - deterministic workflows for predictable paths, agent loops for dynamic reasoning. Pure autonomy is rarely the right default.

Why This Matters

The first wave of LLM applications was chat: ask a question, get an answer. The second wave is action: resolve a support ticket, triage an incident, refactor a codebase, reconcile expenses, or research a market segment - tasks that require multiple steps, external data, and decisions along the way.

If you're building software that needs to do things rather than just say things, you're building an agent - whether you call it that or not. Customer support bots that look up orders and issue refunds. Dev tools that read files, run tests, and open pull requests. Research assistants that search, summarize, and cross-reference sources. These all share the same underlying pattern.

Understanding agents matters because the failure modes are different from chat. A chatbot that hallucinates is annoying. An agent that hallucinates a SQL query and deletes rows is a production incident. The engineering discipline - tool design, state management, guardrails, evaluation - is what separates demos from systems people trust.

The Problem AI Agents Solve

Single-shot LLM calls fail when:

  1. The task requires external data the model wasn't trained on or can't know at inference time (live APIs, private databases, current events).

  2. The task decomposes into multiple steps where each step depends on the outcome of the previous one.

  3. The correct action isn't known upfront - the system must explore, backtrack, or try alternatives.

  4. Side effects must happen in the real world - sending emails, updating records, deploying code - not just generating text.

Prompting alone handles none of this reliably. Fine-tuning teaches behavior but doesn't give live access to tools. RAG injects knowledge but doesn't execute actions. Agents combine reasoning with tool execution in a loop, closing the gap between "the model knows what to do" and "the system actually did it."

How We Got Here

Agent systems did not appear overnight. The production pattern is a stack of older ideas with an LLM as the controller:

Diagram: Evolution of AI agents

flowchart LR
    A[Scripts / cron] --> B[RPA / macros]
    B --> C[Workflow engines]
    C --> D[Tool-calling LLMs]
    D --> E[Agent loops]
    E --> F[HITL + durable agents]

Automation moved from scripts and RPA to tool-calling LLMs, then to bounded production agent loops.

Era What shipped Gap
Scripts & cron Deterministic automation Brittle to unexpected inputs
RPA UI macros for enterprise apps Fragile selectors; no reasoning
Workflow engines Durable DAGs (e.g. Temporal) Explicit steps; weak open-ended judgment
Tool-calling LLMs Models emit structured function calls Still often single-turn
Agent loops ReAct-style observe → reason → act Needs bounds, memory, observability
Production agents HITL, durable execution, evals Autonomy only where risk allows

Public systems that popularized the pattern include coding agents such as GitHub Copilot and Cursor, research summaries like Anthropic — Building effective agents, and orchestration runtimes such as LangGraph. The lesson across them is consistent: the loop is simple; production is the hard part.

What Is an AI Agent?

An AI agent is a software system where a large language model serves as the decision-making core. Given a goal and current state, the agent decides what to do next - typically by generating structured output that maps to a tool call, a plan update, or a final response.

Formally, an agent implements a policy π(state) → action in a loop:

def agent_loop(goal, tools, max_steps=10):
    state = {"goal": goal, "messages": [], "observations": []}

    for step in range(max_steps):
        action = llm.decide(state, tools)

        if action.type == "final_answer":
            return action.content

        if action.type == "tool_call":
            result = tools.execute(action.name, action.args)
            state["observations"].append(result)
            state["messages"].append({"role": "tool", "content": result})
        else:
            raise ValueError(f"Unknown action: {action.type}")

    raise RuntimeError("Agent exceeded max steps without completing goal")

This is deliberately simple. Every framework - LangChain, LangGraph, AutoGen, CrewAI - adds structure around this loop: typed state, checkpointing, parallel branches, human-in-the-loop interrupts, and retry logic.

Agents are not magic. They are control systems with an LLM as the controller. Treat them like any distributed system: define interfaces, bound execution, log everything, and test failure paths.

How AI Agents Work

An agent run proceeds through four phases that repeat until termination:

1. Perception

The agent receives input: user message, system prompt, conversation history, retrieved documents, tool outputs from prior steps, and structured state (task ID, permissions, budget remaining).

2. Reasoning

The LLM processes context and decides the next move. Depending on architecture, this may be implicit (direct tool selection) or explicit (chain-of-thought before action). Reasoning models like o1 and DeepSeek-R1 externalize this as visible thinking tokens.

3. Action

The agent executes a tool call, updates internal state, or emits a final response. Tool calls should be structured (JSON schema) so your runtime can validate arguments before execution.

4. Observation

Tool results flow back into state. The loop continues until the agent produces a final answer, hits a step limit, encounters an unrecoverable error, or a human approves/rejects an action.

ReAct interleaves reasoning traces and tool actions: the model thinks about what to do, calls a tool, observes the result, and repeats until it can answer.

Figure: ReAct reasoning and acting loop

Figure: ReAct interleaves thought, action, and observation until the task completes.
Source: Yao et al., ReAct (arXiv:2210.03629)

Execution lifecycle

Diagram: Agent execution lifecycle

stateDiagram-v2
    [*] --> Perceive
    Perceive --> Reason
    Reason --> Act: tool / plan
    Reason --> Done: final answer
    Act --> Observe
    Observe --> Reason
    Reason --> Interrupt: gated write
    Interrupt --> Reason: human decision
    Done --> [*]

Every transition should be logged; interrupt edges need durable checkpoints before gated writes.

Interrupt edges need a durable checkpoint so approval can arrive minutes or hours later without restarting the run.

Architecture

A production agent system has distinct layers:

Diagram: Production agent architecture

flowchart TB
    UI[Interface / API] --> Orch[Orchestrator]
    Orch --> LLM[LLM policy]
    Orch --> Tools[Tool registry]
    Orch --> Mem[Memory / checkpoints]
    Orch --> Guard[Guardrails]
    Orch --> Obs[Tracing / evals]
    Tools --> Ext[APIs, DBs, browsers, MCP]

The orchestrator owns control flow; tools, memory, guardrails, and observability surround the LLM policy.

Layer Responsibility Examples
Interface User/API input, streaming output REST, WebSocket, Slack bot
Orchestrator Loop control, step limits, routing LangGraph, custom state machine
LLM Reasoning, tool selection, synthesis GPT-5.6 Terra/Sol, Claude Sonnet 5, Llama 4 (self-hosted)
Tool Registry Discoverable, typed capabilities DB queries, HTTP APIs, code exec
Memory Short and long-term state Message history, vector store
Guardrails Input/output validation, permissions PII filter, RBAC, sandbox
Observability Traces, metrics, eval hooks LangSmith, OpenTelemetry

The orchestrator is the critical piece. Raw while-loops work for prototypes; production needs checkpointing (resume after crash), idempotent tool design, and explicit termination conditions.

Step-by-Step Flow

Consider an agent tasked with: "What's our Q2 revenue for the EMEA region, and how does it compare to Q1?"

  1. Parse goal - Orchestrator initializes state with user query and available tools: sql_query, chart_generator, send_slack_message.

  2. Plan (optional) - Agent identifies subtasks: fetch Q2 EMEA revenue, fetch Q1 EMEA revenue, compute delta, format response.

  3. First tool call - Agent calls sql_query with a generated SELECT statement filtered by region and quarter.

  4. Observe - Database returns {q2_revenue: 4200000}.

Result appended to state.

  1. Second tool call - Agent calls sql_query for Q1 with corrected date range based on schema observation.

  2. Observe - Returns {q1_revenue: 3800000}.

  3. Reason - Agent computes 10.5% growth, decides no chart needed for this simple comparison.

  4. Final answer - Agent synthesizes: "Q2 EMEA revenue was $4.2M, up 10.5% from Q1's $3.8M."

  5. Log trace - Full step sequence stored for audit and eval.

If step 3 returned a SQL error, a well-designed agent would read the error, inspect schema via another tool, rewrite the query, and retry - not fail silently or hallucinate numbers.

Real Production Example

Here's a minimal but production-shaped ReAct agent using LangGraph:

from typing import Annotated, TypedDict
from langchain_openai import ChatOpenAI
from langchain_core.tools import tool
from langgraph.graph import StateGraph, END
from langgraph.prebuilt import ToolNode
from langgraph.graph.message import add_messages
import operator

# --- Tools ---
@tool
def search_orders(customer_id: str) -> str:
    """Look up recent orders for a customer ID."""
    orders = db.query("SELECT id, status, total FROM orders WHERE customer_id = ?", customer_id)
    return str(orders[:5])

@tool
def issue_refund(order_id: str, reason: str) -> str:
    """Issue a refund for an order. Requires order_id and reason."""
    if not auth.can_refund(current_user, order_id):
        return "ERROR: Insufficient permissions"
    refund_id = payments.refund(order_id, reason=reason)
    return f"Refund {refund_id} issued for order {order_id}"

tools = [search_orders, issue_refund]
tool_node = ToolNode(tools)

# --- State ---
class AgentState(TypedDict):
    messages: Annotated[list, add_messages]
    step_count: Annotated[int, operator.add]

# --- Nodes ---
llm = ChatOpenAI(model="gpt-4o", temperature=0).bind_tools(tools)

def agent_node(state: AgentState):
    response = llm.invoke(state["messages"])
    return {"messages": [response], "step_count": 1}

def should_continue(state: AgentState) -> str:
    last = state["messages"][-1]
    if state.get("step_count", 0) >= 8:
        return "end"
    if last.tool_calls:
        return "tools"
    return "end"

# --- Graph ---
graph = StateGraph(AgentState)
graph.add_node("agent", agent_node)
graph.add_node("tools", tool_node)
graph.set_entry_point("agent")
graph.add_conditional_edges("agent", should_continue, {"tools": "tools", "end": END})
graph.add_edge("tools", "agent")

agent = graph.compile()

result = agent.invoke({
    "messages": [
        {"role": "system", "content": "You are a support agent. Verify order status before issuing refunds."},
        {"role": "user", "content": "Customer C-8842 says order O-991 was charged twice. Help them."},
    ],
    "step_count": 0,
})

Key production details in this example: typed tools with docstrings (used for schema generation), permission checks inside tools (not trusting the LLM), step limits to prevent runaway loops, and a system prompt that encodes business rules.

Design Decisions

Decision Option A Option B When to choose
Control flow Fixed workflow with LLM nodes Fully autonomous loop Workflows for compliance-heavy paths; agents for exploratory tasks
Tool granularity Few high-level tools Many atomic tools High-level tools reduce error rates; atomic tools increase flexibility
Model choice Fast/cheap (Haiku 4.5, GPT-5.6 Luna) Capable (Sonnet 5, GPT-5.6 Terra/Sol) Route simple steps to small models; reserve capable models for planning
Autonomy level Human approval on write actions Full auto execution Always require approval for irreversible or high-cost actions
State storage In-memory per session Persistent checkpointing Checkpointing for long tasks, crash recovery, and audit trails
Termination Fixed step count Dynamic (goal detection) Always set a hard step cap; add soft stopping via goal evaluation

Comparisons

Agents vs chatbots

Dimension Chatbot Agent
Loop Usually one model call per turn Multi-step observe → reason → act
Side effects Rare Common (tools, APIs, writes)
State Conversation history Task state + tool results + checkpoints
Failure mode Wrong answer Wrong action in the real world
Controls Prompt + moderation Step limits, RBAC, HITL, evals

Agents vs deterministic workflows

Use a workflow when the step graph is known; use an agent when the next tool depends on intermediate observations. Most production systems mix both - see Workflows vs Agents.

Dimension Workflow Agent
Control Explicit DAG / state machine LLM policy selects next action
Reliability High when paths are stable Needs bounds and tests
Flexibility Low for novel paths High for open-ended tasks
Cost Predictable Variable with step count

Agents vs Agentic RAG

RAG retrieves knowledge. An agent may call retrieval as one tool among many. Agentic RAG is the specialized case where the loop mainly decides what and how to retrieve. Do not rename every chatbot-with-search as an agent - reserve the term for systems that plan, act, and terminate under constraints.

Decision tree: do you need an agent?

Decision tree: When to use an agent

flowchart TD
    A[Is the task multi-step with external actions?] -->|No| B[Single LLM call / chatbot]
    A -->|Yes| C[Is the happy path fully enumerable?]
    C -->|Yes| D[Prefer workflow / DAG]
    C -->|No| E[Agent loop with step limits]
    E --> F{Irreversible writes?}
    F -->|Yes| G[Add HITL + durable checkpoints]
    F -->|No| H[Ship with traces + evals]
    G --> H
    D --> I{Need open-ended branch?}
    I -->|Yes| J[Hybrid: workflow + agent nodes]
    I -->|No| K[Keep deterministic]

Start with the simplest control plane that meets the task - escalate to agents, HITL, and durability only when needed.

Common Mistakes

  1. Giving agents too many tools - A registry of 40 tools overwhelms the model. Curate 5–10 relevant tools per task type, or use a router agent that selects a tool subset first.

  2. No step limits - Agents can loop indefinitely, burning tokens and API budget. Always set max_iterations and alert when hit.

  3. Trusting LLM-generated SQL/code without sandboxing - Execute against read-only replicas, use parameterized queries, and never give write access by default.

  4. Poor tool descriptions - The model chooses tools based on names and docstrings. Vague descriptions cause wrong tool selection more often than model capability limits.

  5. No observability - Without step-level traces, debugging a failed 7-step agent run is guesswork. Log every LLM input/output and tool result.

  6. Treating agents as chatbots with tools bolted on - A single tool call isn't an agent. The value is in multi-step reasoning with observation feedback.

Where It Breaks Down

  • Long-horizon tasks - Agents lose coherence over 15+ steps. Decompose into sub-agents or use Plan-and-Execute architectures (Agent Architectures).

  • Ambiguous goals - "Make the codebase better" has no termination condition. Agents need concrete, verifiable objectives.

  • Adversarial inputs - Prompt injection via tool outputs (e.g., a webpage telling the agent to ignore instructions) is a real attack surface. Sanitize external content.

  • Non-deterministic cost - A simple question might take 1 step or 8. Budget caps and model routing are essential for predictable billing.

  • Evaluation difficulty - End-to-end agent quality is hard to measure with single metrics.

You need task-specific success criteria and step-level checks.

When NOT to Use AI Agents

Skip a full agent loop when:

  1. A single LLM call or template is enough - FAQ answers, classification, short summarization.
  2. The path is fully known - fixed ETL, deterministic approvals, or a Temporal/workflow DAG with no open-ended branching.
  3. You cannot bound side effects - no RBAC, no sandbox, no audit log, no HITL for writes.
  4. Latency budgets are sub-second - multi-step agents commonly take 10–60s; stream status or redesign.
  5. You lack an eval suite - without task success metrics, autonomy is guessing.

In those cases prefer tool calling inside a thin API, a workflow, or retrieval-only RAG.

Running in Production

Best Practice

Best Practices - Bound steps and tools, gate irreversible writes, trace every transition, and evaluate task success on a fixed suite before widening autonomy.

Dimension Consideration
Scaling Agent runs are stateful and long-lived. Use async workers, queue-based execution, and horizontal scaling of stateless orchestrator nodes with external state stores (Redis, Postgres).
Latency Each step adds 1–5s (LLM) + tool execution time. Multi-step agents routinely take 10–60s. Stream intermediate status to users; set expectations.
Cost Cost = (steps × tokens per step × model price). A 5-step frontier-tier agent can cost on the order of $0.05–0.20+ per run (illustrative). Route planning to cheaper tiers; cache tool results.
Monitoring Track: steps per task, tool error rate, loop termination reason, latency per step, cost per task, human escalation rate. Alert on step-limit hits and tool failures.
Evaluation Build task suites with expected tool sequences. Measure task success rate, unnecessary steps, and dangerous action attempts. Run evals on every prompt/tool change.
Security RBAC on tools, input sanitization, output validation, audit logs for all write actions, sandboxed code execution, rate limits per user.

Important

Never give an agent write access to production systems without human approval gates until you've measured task success rate above 95% on a representative eval set - and even then, keep audit trails.

If you understood this topic, read next:

Diagram: Recommended learning path

flowchart LR
    A[Agents] --> B[HITL]
    B --> C[Durable]
    C --> D[Handoffs]
    D --> E[Memory]
    E --> F[Multi-agent]

Prerequisites: Large Language Models · Tool Calling · Prompt Engineering

Next topics: Human-in-the-Loop · Durable Execution · Multi-Agent Handoffs · Agent Architectures

Estimated time: 50 min · Difficulty: Intermediate

Interview Questions

  1. What defines an AI agent vs a chatbot or a workflow?

    • Expected: multi-step observe → reason → act loop with external side effects; contrast with single-turn chat and deterministic DAGs (Workflows vs Agents).
  2. What belongs in the tool registry for a production agent?

    • Expected: narrow typed tools (3–7 per task), timeouts, RBAC, idempotency for writes—not a flat list of 40 generic functions (Tool Calling).
  3. How do you prevent runaway agent loops?

    • Expected: hard max_iterations, cost caps, circuit breakers on repeated tool failures, structured termination conditions.
  4. When would you add human-in-the-loop?

  5. How do you evaluate agent quality in production?

    • Expected: task-level success on a representative eval set, step-level traces, edit/reject rates on HITL gates—not single-turn BLEU.
  6. What is the difference between agent memory and RAG?

    • Expected: memory stores agent experience and session state; RAG retrieves external documents—often combined (Agent Memory, Agentic RAG).
  7. When should you split into multiple agents?

    • Expected: only when clear specialist roles and separate tool policies improve evals; otherwise single agent + router (Multi-Agent Systems).
  8. Name two failure modes of agents in production.

    • Expected: wrong tool selection, unbounded loops, prompt injection via tool outputs, non-idempotent retries, or cost blowups—tie to mitigations in this guide.

Key Takeaways

  • An AI agent is an orchestration pattern: observe → reason → act under explicit stop conditions.
  • Side effects change the risk model - wrong actions matter more than wrong answers.
  • Bound steps, tools, and permissions before chasing smarter models.
  • HITL and durable execution are how production systems earn autonomy.
  • Prefer workflows for known paths; reserve agents for open-ended branching.
  • Trace every step and evaluate task success - demos without evals do not become products.
  • Framework choice matters less than control-plane discipline; start from Best AI Agent Frameworks when comparing stacks.

FAQs

What is the difference between an AI agent and a chatbot?

A chatbot responds to messages in a single turn (or multi-turn conversation without external actions). An agent autonomously executes a loop of reasoning and tool calls until a goal is achieved. If your system calls APIs, queries databases, or modifies state, it's an agent.

Do I need a framework to build agents?

No. A while-loop with an LLM and tool executor is a valid agent. Frameworks like LangGraph add checkpointing, parallelism, and human-in-the-loop - valuable in production but not required to start.

How many tools should an agent have?

Start with 3–5 tools focused on one task domain. Research shows tool selection accuracy degrades as registry size grows. Use dynamic tool loading or a router if you need more.

What's a reasonable step limit?

8–15 steps for most tasks. Customer support flows rarely need more than 10. Research tasks may need 20 with sub-agent delegation. Always enforce a hard cap.

Can I use open-source models for agents?

Yes. Llama 3, Mistral, and Qwen support tool calling. Smaller models struggle with complex multi-step reasoning - use them for simple tool selection, capable models for planning.

How do agents relate to RAG?

RAG retrieves knowledge; agents take actions. They're complementary - an agent might call a RAG retrieval tool as one step in a larger workflow. See Agentic RAG for the combined pattern.

What is human-in-the-loop for agents?

Pausing the agent loop before irreversible actions (refunds, deployments, emails) for human approval. LangGraph supports interrupt nodes natively. Use this for any write action until trust is established.

How do I test agents?

Create task scenarios with expected outcomes. Assert: correct final answer, correct tools called (in reasonable order), no forbidden tools used, and termination within step limit. Run in CI on every change.

Why do agents sometimes ignore tool results?

Context window pressure, ambiguous tool output format, or conflicting system instructions. Structure tool outputs consistently (JSON with clear fields), and instruct the agent to read observations before proceeding.

Are agents safe for customer-facing use?

With guardrails, yes - but treat write actions as privileged operations. Read-only agents (search, summarize, answer) are lower risk. Progressive autonomy: start read-only, add writes with approval, automate only after eval validation.

What's the difference between agentic AI and AI agents?

Agentic AI describes the paradigm - systems that act autonomously. AI agents are the concrete implementation. The terms are often used interchangeably; Agentic AI covers the broader shift in how we build AI software.

How do I reduce agent latency?

Parallel tool calls where independent, use faster models for intermediate steps, cache frequent lookups, stream status updates, and pre-fetch likely-needed data based on intent classification.

References

Further Reading

Next Topics

Learning Path

  1. AI Agentsyou are here

Continue Learning

Related Guides

Related companies

  • OpenAI

    Commercial foundation model leader.

  • Anthropic

    Enterprise-first AI company focused on safe, reliable reasoning models.

Related models

  • GPT-5.6

    OpenAI’s GPT-5.6 family (Sol flagship, Terra balanced, Luna cost-efficient) for complex reasoning, coding, multimodal understanding, and agentic tool use. The gpt-5.6 API alias routes to Sol.

  • Claude Fable

    Anthropic’s Claude Fable 5 — the most capable widely released Claude for long-horizon agents, deep reasoning, and demanding coding workflows. Mythos 5 is the limited-access peer for Project Glasswing.

  • Claude Opus

    Anthropic’s Claude Opus 5 tier for complex agentic coding, enterprise work, long-context analysis, and careful instruction following. Claude Fable 5 sits above Opus for peak widely released capability.

  • Claude Sonnet

    Anthropic’s Claude Sonnet 5 tier — best combination of speed and intelligence for most production agents and coding, at lower cost than Opus.

  • Claude Haiku

    Anthropic’s fast, cost-efficient Claude tier for high-volume chat, classification, extraction, and sub-agent steps where latency and price matter more than peak reasoning.

Related Tools

ToolCategoryPurposeWebsiteBest For
LangGraph
FeaturedOpen SourceAPI
frameworksGraph-based orchestration runtime for long-running, stateful agents.langgraph.devMulti-agent orchestration
LangChain
PopularOpen SourceAPI
frameworksFramework for building LLM-powered applications and workflows.langchain.comRAG systems
Cursor
TrendingAPICloud
codingAI-native code editor with codebase context, multi-file agents, Origin code hosting, cloud-agent Subscriptions, and intelligent model routing for teams.cursor.comAI-native IDE development
LlamaIndex
Open SourceAPI
frameworksData framework for connecting LLMs to private and structured data.llamaindex.aiRAG over documents
CrewAI
NewOpen SourceAPI
frameworksMulti-agent framework with Crews, tasks, and event-driven Flows.crewai.comContent pipelines
OpenAI Agents SDK
Open SourceAPI
frameworksOfficial OpenAI framework for tool-using agents with handoffs, guardrails, and tracing.openai.github.ioMulti-step agent workflows
PydanticAI
Open SourceAPI
frameworksType-safe Python agent framework with Pydantic validation and structured outputs.ai.pydantic.devType-safe agents
AutoGen
Open SourceAPI
frameworksMicrosoft framework with AgentChat, Core, Extensions, and Studio for multi-agent systems.microsoft.github.ioConversational multi-agent apps
GitHub Copilot
Enterprise Ready
codingGitHub-native AI coding assistant with chat, agent mode, workspace context, and enterprise controls.github.comGitHub-centric team workflows
Semantic Kernel
Open SourceAPI
frameworksMicrosoft SDK for AI agents with plugins, connectors, and multi-language support.learn.microsoft.comEnterprise .NET apps
Agno
Open SourceAPI
frameworksPython framework and AgentOS runtime for agents, teams, and workflows.agno.comAgent platforms
Mastra
Open SourceAPI
frameworksTypeScript framework for agents, tools, and workflows with Studio.mastra.aiTypeScript agent apps
Temporal
Open SourceAPI
automationDurable execution platform for reliable long-running workflows and microservices.temporal.ioLong-running business processes
Google ADK
Open SourceAPI
agentsAgent Development Kit for building multi-agent workflows on Google Cloud and Gemini.google.github.ioGemini-native agents
BeeAI
Open SourceAPI
agentsOpen framework for building, deploying, and observing production AI agents.beeai.devCross-language agent apps
SmolAgents
Open SourceAPI
agentsMinimal agent library from Hugging Face — simple code agents with tool use.huggingface.coLightweight code agents
OpenHands
Open SourceAPI
agentsOpen-source AI software engineering agent for autonomous coding and debugging.openhands.devAutonomous bug fixing
MetaGPT
Open SourceSelf-hosted
agentsMulti-agent framework that simulates a software company to build applications from requirements.deepwisdom.aiRequirements-to-code pipelines
SuperAGI
Open SourceCloud
agentsOpen-source dev-first platform for building, managing, and running autonomous AI agents.superagi.comAgent marketplace experiments
Flowise
Open SourceCloud
agentsLow-code visual builder for LLM apps, agents, and RAG pipelines.flowiseai.comVisual agent prototyping
Dify
Open SourceCloud
agentsProduction-ready platform for building and operating LLM apps, agents, and workflows.dify.aiProduction LLM apps
Langflow
Open SourceCloud
agentsVisual IDE for building LangChain-powered agents, RAG flows, and LLM applications.langflow.orgLangChain visual prototyping
TaskWeaver
Open SourceSelf-hosted
agentsCode-first agent framework from Microsoft Research for data analytics and automation.microsoft.github.ioData analytics agents
PocketFlow
Open SourceSelf-hosted
agents100-line minimalist LLM framework for building agents and workflows in pure Python.github.comLearning agent patterns
NeMo Guardrails
Open SourceSelf-hosted
guardrailsNVIDIA toolkit for programmable guardrails using Colang dialogue flows.github.comDialogue policy control
Trigger.dev
Open SourceCloud
automationOpen-source background jobs platform for long-running AI and TypeScript workflows.trigger.devLong-running AI tasks
Smithery
APICloud
mcp serversRegistry and hosting platform for discovering and deploying MCP servers.smithery.aiMCP server discovery
Glama
APICloud
mcp serversMCP server directory and gateway for connecting AI clients to tools.glama.aiMCP server directory
Composio
Open SourceAPI
mcp serversIntegration platform with 250+ tool connectors and managed MCP server hosting.composio.devAgent tool integrations
Cloudflare MCP
APICloud
mcp serversCloudflare-managed MCP servers for Workers, R2, KV, and edge infrastructure.developers.cloudflare.comEdge-deployed MCP
GitHub MCP Server
Open SourceAPI
mcp serversOfficial MCP server for GitHub — repos, issues, PRs, and code search for agents.github.comCoding agents with GitHub access
Slack MCP Server
Open SourceAPI
mcp serversMCP server for Slack messaging, channels, and workspace interactions.github.comSlack bot agents
Microsoft MCP Server
Open SourceAPI
mcp serversMCP integrations for Microsoft 365, Teams, and Azure services.github.comEnterprise Microsoft agents
Muse Code
APICloud
codingTerminal coding agent (beta) powered by Muse Spark 1.2 with persistent background subagents and a restart-safe event log.dev.meta.aiLong-horizon repository coding tasks

Related Rankings

Related Comparisons