<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/agentic-ai-hub/agent-harnesses-frameworks" -->

---
title: Agent Harnesses &amp; Frameworks | The Agentic AI Hub — daily.dev
description: Two very different things get called &#34;agent tooling.&#34;
canonical: https://daily.dev/agentic-ai-hub/agent-harnesses-frameworks/
og:type: article
og:url: https://daily.dev/agentic-ai-hub/agent-harnesses-frameworks/
og:title: Agent Harnesses &#38; Frameworks | The Agentic AI Hub — daily.dev
og:description: Two very different things get called &#34;agent tooling.&#34;
og:image: https://daily.dev/assets/og/agentic-ai-hub.png?v=40e6ff69
og:site_name: daily.dev
og:locale: en_US
article:modified_time: 2026-07-22
twitter:card: summary_large_image
twitter:site: @dailydotdev
twitter:creator: @dailydotdev
twitter:title: Agent Harnesses &#38; Frameworks | The Agentic AI Hub — daily.dev
twitter:description: Two very different things get called &#34;agent tooling.&#34;
twitter:image: https://daily.dev/assets/og/agentic-ai-hub.png?v=40e6ff69
---

[Skip to main content ](#main-content) 

[ ![](/assets/brand/daily-dev-logo.svg) ![](/assets/brand/daily-dev-logo-light.svg) ](https://daily.dev/) 

[ Agentic AI Hub ](/agentic-ai-hub/) 

[ ![](/assets/brand/daily-dev-logo.svg) ![](/assets/brand/daily-dev-logo-light.svg) ](https://daily.dev/) / [ Agentic AI Hub ](/agentic-ai-hub/) 

[Get the app ](https://api.daily.dev/get?ref=docs-topbar) 

# Agent Harnesses & Frameworks

Too busy to read?

Get an AI summary

* Copy page  
Copy page Copy page as Markdown for LLMs [ View as Markdown View this page as plain text ](https://daily.dev/agentic-ai-hub/agent-harnesses-frameworks.md/)

Table of Contents

* [(a) Harnesses you drive an agent through](#a-harnesses-you-drive-an-agent-through)
* [(b) Build frameworks (roll your own agent)](#b-build-frameworks-roll-your-own-agent)

Two very different things get called "agent tooling." Keep them separate:

**(a) Harnesses** are a finished agent _loop_ you drive (a REPL/CLI that manages context, tools, permissions, and the model call). You configure and prompt it. You don't write the loop.

**(b) Build frameworks** are libraries you use to _write your own_ agent/workflow in code (orchestration, state, tool-calling, memory).

## (a) Harnesses you drive an agent through

| Harness                                         | Best at                                                                                                                                                              | Watch out                                                                                          | Key fact                                                                                                                                                                   |
| ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Claude Code](https://claude.com/claude-code)   | Long multi-step work across large codebases (plan → edit → run tests → commit); subagents, hooks, skills, MCP, permission modes; scriptable via the Claude Agent SDK | Runs commands and burns tokens; use permission modes and review                                    | Anthropic's terminal-first harness, a de-facto reference implementation; included with Pro/Max or via API                                                                  |
| [OpenAI Codex](https://github.com/openai/codex) | Delegating a task to run locally or hand off to the cloud, on OpenAI models; also inside ChatGPT Work                                                                | "Codex" spans a CLI, IDE extension, and cloud agent, so know which you're using                    | Open-source CLI; use with a ChatGPT plan or API                                                                                                                            |
| [Pi](https://pi.dev)                            | Being small enough to read end-to-end and bend to your own workflow; model-agnostic                                                                                  | A toolkit for building your own agent, not a batteries-included consumer app                       | Minimal, hackable terminal harness by Mario Zechner; open source, npm @mariozechner/pi-coding-agent ([writeup](https://mariozechner.at/posts/2025-11-30-pi-coding-agent/)) |
| [OpenClaw](https://openclaw.ai)                 | A self-hosted, pluggable, cross-platform assistant that can wrap external coding harnesses via ACP                                                                   | Community project, so capabilities and stability vary; verify current state before depending on it | Open source (aka Clawdbot); [GitHub](https://github.com/openclaw/openclaw)                                                                                                 |
| [Amp](https://ampcode.com)                      | Team-shared, aggressive autonomous runs (also in [Coding Tools & CLI Agents](/agentic-ai-hub/coding-tools-cli-agents/))                                              | Token-metered; can get pricey on big runs                                                          | Sourcegraph's high-autonomy harness; usage-based                                                                                                                           |

_Emerging interop standard:_ **ACP (Agent Client Protocol)**, an open protocol from the Zed team (think "LSP for coding agents"), lets editors talk to any compliant agent harness, so Claude Code, Gemini CLI, and others can appear inside different front-ends. It's editor-to-agent, complementing MCP's agent-to-tool role ([MCP & the Tool/Context Ecosystem](/agentic-ai-hub/mcp-tool-context-ecosystem/)).

## (b) Build frameworks (roll your own agent)

| Framework         | Language | Model        | Best at                                     | Note                                 |
| ----------------- | -------- | ------------ | ------------------------------------------- | ------------------------------------ |
| LangGraph         | Py/JS    | Any          | Stateful, graph-based agent workflows       | From LangChain; production-oriented  |
| LangChain         | Py/JS    | Any          | Broad integrations, RAG glue                | Large surface; some see it as heavy  |
| LlamaIndex        | Py/TS    | Any          | RAG / data-connected agents                 | Best-in-class retrieval              |
| CrewAI            | Python   | Any          | Role-based multi-agent "crews"              | Simple mental model                  |
| AutoGen / AG2     | Python   | Any          | Multi-agent conversations                   | Microsoft origin; forked into AG2    |
| OpenAI Agents SDK | Py/JS    | OpenAI-first | Lightweight handoffs + guardrails           | Successor to Swarm                   |
| Claude Agent SDK  | Py/TS    | Claude       | Production agents on the Claude Code engine | Same harness that powers Claude Code |
| Pydantic AI       | Python   | Any          | Type-safe, validated agent I/O              | Great DX for Python teams            |

Links: [LangChain/LangGraph](https://www.langchain.com) · [LlamaIndex](https://www.llamaindex.ai) · [CrewAI](https://www.crewai.com) · [AutoGen](https://microsoft.github.io/autogen/) / [AG2](https://ag2.ai) · [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/) · [Claude Agent SDK](https://docs.claude.com/en/api/agent-sdk/overview) · [Pydantic AI](https://ai.pydantic.dev).

**Framework vs. roll-your-own.** For a single agent with a handful of tools, a plain provider SDK + a loop (or a thin harness) is often _simpler and more debuggable_ than a framework. The model does the reasoning. You mostly need a good tool layer and context management. Reach for a framework when you need **durable state, multi-agent coordination, human-in-the-loop checkpoints, or heavy retrieval**, i.e., orchestration you'd otherwise reinvent. When in doubt, start minimal (many teams found frameworks added indirection they later removed).

Share this page Copy link 

[  Previous Coding Tools & CLI Agents ](/agentic-ai-hub/coding-tools-cli-agents/) [  Next No-Code & App Builders ](/agentic-ai-hub/no-code-app-builders/) 

[  Previous ](#) [  Next ](#) 

### Table of Contents

* [(a) Harnesses you drive an agent through](#a-harnesses-you-drive-an-agent-through)
* [(b) Build frameworks (roll your own agent)](#b-build-frameworks-roll-your-own-agent)

Link copied!
