Skip to main content
This page helps you understand how LangChain Deep Agents compare to the Claude Agent SDK and the Codex SDK.
Deep Agents is actively used in production by OpenSWE and LangSmith Fleet.

Overview

AspectLangChain Deep AgentsClaude Agent SDKCodex SDK
Use casesCustom general-purpose agents (including coding)Custom general-purpose agents (including coding)Prebuilt coding agent that can execute coding tasks
Model supportFlexible and model-agnostic (Anthropic, OpenAI, and 100s others)Tightly integrated with Claude models (Anthropic, Azure, Vertex AI, AWS Bedrock)Tightly integrated with OpenAI models (GPT-5.3-Codex and variants)
ArchitecturePython SDK, TypeScript SDK, and CLIPython SDK, TypeScript SDKTypeScript SDK, CLI, desktop app, IDE extension, cloud interface
Execution environmentLocal, remote sandboxes, virtual filesystemLocal, cloud containersLocal, cloud
Deploymentdeepagents deploySelf-hostedN/A
FrontendIntegration with ReactServer-side onlyServer-side only
ObservabilityLangSmith tracing & evaluationsN/AOpenAI traces & command-line evaluations
Security configurabilityComposable, per-tool human-in-the-loopPermission system with modes, rules and hooksBuilt-in tiers using approval modes and OS-level sandboxes
LicenseMITMIT (underlying Claude Code is proprietary)Apache-2.0

Summary

The central question is deployment. If you are building an agent that will serve multiple users in production, Deep Agents gives you auth, multi-tenant isolation, open protocol endpoints, and observability out of the box. Claude Agent SDK is built on top of Claude Code, a local development tool, and requires you to build and maintain those layers yourself.
  • Choose Deep Agents to go to production with one command: a model-agnostic, multi-tenant deployment with built-in auth, observability, and open protocol endpoints, without assembling your own hosting stack, while keeping control of your memory.
  • Choose Claude Agent SDK to standardize on Claude models and build your own production infrastructure. It is well-suited for local development and custom server architectures.
  • Choose Codex SDK to standardize on OpenAI models with a prebuilt coding workflow and cloud execution environment.

Feature comparison

The feature comparison is grouped by decision area.

Deployment and production

FeatureDeep AgentsClaude Agent SDKCodex SDK
Production hostingLangSmith Deployment, deepagents deploy, self-hosted, or standaloneBuild your own HTTP/WebSocket layer; run SDK in containers
Multi-tenant deployment✅ One deployment with custom auth and scoped user data, plus RBAC⚠️ Possible, but you must build auth, tenancy, and per-user isolation yourself
Local execution environment
Cloud execution environment
Need user-level isolation in one shared deployment? Deep Agents support multi-tenant deployments with scoped threads, runs, and conversation history. For a walkthrough, watch the custom auth video.

Agent capabilities

FeatureDeep AgentsClaude Agent SDKCodex SDK
File Read/Write/Editread_file, write_file, edit_fileRead, write, edit✅ Read, write, edit
Shell Executionexecutebashexec
Glob/Grepglob, grepglob, grep✅ Built-in
Web Search✅ Support for third-party and provider-nativeWebSearch, WebFetchweb_search
Planning/Todoswrite_todosTodo listsPlan before changes
SubagentsSubagentsSubagentsMulti-agent workflows (experimental) via MCP + Agents SDK
MCP client (connect external tools)MCPMCP client
Human-in-the-LoopApprove/edit/rejectPermission modesApproval modes (Full Access, Read-only, Auto)
SkillsSkillsSkillsSkills
Agent instructions file (loaded at startup)MemoryCLAUDE.md filesAGENTS.md
Long-term memory (persist context across sessions)Memory Store
StreamingStreamingStreamingStreaming

Sandboxing and architecture

FeatureDeep AgentsClaude Agent SDKCodex SDK
Agent runs in sandboxCan run in sandboxCan run in sandboxCan run in sandbox
Agent runs operations in sandboxesUses sandboxes as tools
OS-level sandbox modesread-only, workspace-write, and danger-full-access
Middleware / lifecycle hooksHooks
Virtual filesystem (pluggable storage backends)Virtual filesystem with pluggable backends

Protocols and state

FeatureDeep AgentsClaude Agent SDKCodex SDK
ACP server (expose agent to IDEs)ACP server✅ (third-party)✅ (third-party)
MCP server mode (expose agent as a tool)MCP endpoint through Agent Servercodex mcp-server
A2A endpoint (agent-to-agent protocol)A2A endpoint in Agent Server✅ (third-party)
Session resume (reload conversation history)Reconnect and load thread historySession managementResume threads; SDK resumeThread()
Checkpoint to disk (resume across restarts)Backends and checkpointsFile checkpointingGit checkpoints
State branching (fork and replay sessions)

Observability

FeatureDeep AgentsClaude Agent SDKCodex SDK
Native TracingLangSmithOpenAI Traces
EvaluationsLangSmithEvals patterns (command-line with codex exec --json)
Notice a mistake?We drafted this comparison on March 4th, 2026. If you notice mistakes or changes in products, please file an issue.