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 AI coding agentsPrebuilt 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 filesystemLocalLocal, 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

  • Choose Deep Agents for an open source, model-agnostic harness you can deploy in a production-ready, multi-tenant way while keeping control of your memory.
  • Choose Claude Agent SDK or Codex SDK if you want to standardize on a single model provider and are comfortable building the hosting, auth, and multi-tenant isolation layers yourself.

Feature comparison

The feature comparison is grouped by decision area.

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 ClientMCPMCP client
Human-in-the-LoopApprove/edit/rejectPermission modesApproval modes (Full Access, Read-only, Auto)
Skills SystemSkillsSkillsSkills
Additional instructionsMemoryCLAUDE.md filesAGENTS.md
Long-term memoryMemory 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
Composable MiddlewareHooks
Virtual FilesystemsVirtual filesystem with pluggable backends

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.

Protocols and state

FeatureDeep AgentsClaude Agent SDKCodex SDK
ACP server (IDE integration)ACP server✅ (third-party)✅ (third-party)
MCP server modeMCP endpoint through Agent Servercodex mcp-server
A2A endpointA2A endpoint in Agent Server
Session ResumeReconnect and load thread historySession managementResume threads; SDK resumeThread()
File CheckpointingBackends and checkpointsFile checkpointingGit checkpoints
Time Travel (state branching)

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.