langchain-ai/deepagentsjs
TypeScript agent harness on LangGraph for tool-driven workflows
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
deepagentsjs is a TypeScript agent harness built around LangGraph. It is organized as a pnpm monorepo, with the core library under libs/deepagents/ and separately versioned deepagents and deepagents-acp packages. The root scripts cover builds, type checking, linting, and unit and integration testing.
The ACP release history shows how the integration handles session restoration: session/load reads the thread’s messages through agent state rather than reading the raw checkpoint directly. That distinction matters for consumers of replayed history. The available package details do not establish public import paths, supported checkpoint backends, or a general plugin contract.
Key Capabilities & Differentiators
The clearest concrete behavior is ACP session replay. In deepagents-acp@0.1.44, session/load was changed to read thread messages through the agent’s state so it can replay the agent’s replies and tool calls. That is useful when reconnecting a client that needs to display past activity. It does not imply that interrupted tool execution resumes automatically or that replay is exactly once.
In deepagents-acp@0.1.45, the filesystem backend runs in virtual mode to keep tool searches inside the workspace, avoiding the host-wide scans and crashes addressed by the patch. This is a search-scope fix, not evidence of process isolation or a guarantee about every file operation. No specific model providers, supported model families, or performance limits are established.
Trade-offs & Limitations
Compared with building directly on LangGraph, this harness is most useful when its session and tool behavior fits the product. For an ACP client, reusing the replay path avoids having to derive conversation history from raw checkpoints yourself. Direct LangGraph integration gives you more control over state and tool boundaries, but you then own the implementation and regression tests for those behaviors.
Evaluate two failure cases early: whether reopening a session shows the expected tool calls, and whether searches stay inside the intended workspace. If your system requires tenant isolation or a particular durability guarantee, verify those independently. MIT licensing poses little friction for commercial integration, but it does not govern the model services or other components you add.
Hardware & Deployment Guide
For source development, use the pnpm workspace and check .nvmrc for the Node.js version; its value is not shown. The repository root includes .env.example, but the required variables and service dependencies are not established. Treat this as a library integration rather than assuming a turnkey container, offline mode, or bundled inference server. Size the application process for representative session concurrency and tool activity, and size model serving separately if you host it yourself.
For ACP deployments, test the session and filesystem behaviors that changed in 0.1.44 and 0.1.45: verify replay includes replies and tool calls, and verify searches remain inside the workspace. The filesystem fix also appears in the deepagents@1.17.1 release notes. Check the versions actually selected by your application rather than assuming the core and ACP packages advance in lockstep.
TypeScript teams building on LangGraph that want ACP session replay and workspace-scoped file searches without implementing both from scratch.
You need turnkey inference hosting, independently verified tenant isolation, or custom state and tool semantics that would replace most of the harness.
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| deepagentsjs ★ | 1.7k | +8 | TypeScript | MIT | TypeScript agent harness on LangGraph for tool-driven workflows |
| langchain | 150.4k | +299 | Python | MIT | Modular Python framework for building agents across model providers |
| langgraph | 45.8k | +293 | Python | MIT | Python graph orchestration for stateful, resumable agents and workflows |
| deepagents | 31.8k | +138 | Python | MIT | A LangGraph-based agent harness for long-running, tool-driven workflows |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/langchain-ai/deepagentsjs.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about deepagentsjs
Where should a TypeScript application integrate with the harness?
How should I size CPU, memory, and VRAM?
Can we use it commercially and run it on our own infrastructure?
When is this a better fit than building directly on LangGraph?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy