DeepAgent Code: AI coding agent with persistent memory and control plane
# Add to your Claude Code skills
git clone https://github.com/deepagent-ltd/deepagent-codeGuides for using ai agents skills like deepagent-code.
Last scanned: 7/18/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-07-18T06:04:22.098Z",
"npmAuditRan": false,
"pipAuditRan": true,
"promptInjectionRan": true
}deepagent-code is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by deepagent-ltd. DeepAgent Code: AI coding agent with persistent memory and control plane. It has 437 GitHub stars.
Yes. deepagent-code passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/deepagent-ltd/deepagent-code" and add it to your Claude Code skills directory (see the Installation section above).
deepagent-code is primarily written in TypeScript. It is open-source under deepagent-ltd on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh deepagent-code against similar tools.
No comments yet. Be the first to share your thoughts!
DeepAgent Code is an AI coding workspace for work that lasts longer than one prompt. It combines a production coding-agent runtime with durable sessions, connected project memory, live planning, code intelligence, multi-agent collaboration, and human oversight.
You can ask for a small edit, guide a running task without interrupting it, hand over a migration with objective completion criteria, or bring several specialist agents into a decision. DeepAgent keeps the work coherent across turns, restarts, tools, people, and projects.
Choose the collaboration style that fits the task:
| Mode | You provide | DeepAgent does |
|---|---|---|
| Auto | A request | Defines the objective, designs and plans as needed, then executes end to end |
| Loop | A goal | Writes an editable goal+plan.md and advances it through plan, execute, verify, and iterate ticks |
| Design | Your goal+plan.md |
Executes your design faithfully without redefining its objective or completion criteria |
Autonomy and permission are independent. Use Read-only, Request approval, or Full access without changing the collaboration mode.
DeepAgent is built for active collaboration, not fire-and-forget automation.
DeepAgent does not hide memory in an opaque prompt. Project state lives in typed, versioned documents with provenance, confidence, scope, status, and links.
Learning follows a governed lifecycle: evidence creates a candidate, isolated review or a human decision changes its status, and regression/ablation gates publish a reproducible knowledge snapshot. Rejection reasons remain durable so discarded patterns are not silently relearned.
The Repo & Wiki view makes this system readable. Browse knowledge and execution archives, search across the repository, follow docs-to-code links, inspect lineage, and promote useful run evidence into governed knowledge.
DeepAgent connects four views of the project:
The Session V2 runner assembles context from explicit sources under a durable Context Epoch. It selects linked evidence within budget, records why each reference was admitted or rejected, and preserves the current goal, constraints, decisions, open questions, next steps, and relevant files during compaction.
Prompt caching remains effective across long runs: stable system instructions stay byte-stable, while plans, steering, budgets, round results, and other volatile state are appended in a dedicated tail block.
Query code by symbol and intent instead of guessing file locations. DeepAgent combines LSP definitions, references, call chains, type information, diagnostics, rename previews, and cross-file evidence. Unsaved editor buffers participate in LSP updates, so analysis follows the code you are actually editing.
Composable domain packs add language, framework, platform, hardware, business, and risk expertise without hardcoding it into the core. Packs activate from the problem profile, resolve conflicts with stricter-policy-wins semantics, and are snapshot-locked for reproducible runs.
DeepAgent can partition independent work across bounded, isolated workers. Delegated runs persist their identity, generation, owner, lease, phase, terminal state, result, and parent delivery, so an exact retry resumes the same work instead of silently starting another worker. Write-capable subagents receive dedicated worktrees, return compact summaries and artifact references, and leave their full transcripts available for inspection.
Automatic write collaboration follows a durable Git/PR path. Workers commit only their scoped changes; one Reviewer session checks each exact worker SHA, the coordinator performs serial --no-ff merges on the Session branch, and one Senior Reviewer examines the merged batch. Resume, timeout, cancellation, takeover, review feedback, and cleanup are generation-fenced so a stale worker cannot settle or overwrite newer work.
For high-risk decisions, convene an Expert Panel. Correctness, security, performance, architecture, and reproducibility lenses review the same frozen question, debate anonymously for up to three rounds, and feed a deterministic arbiter that preserves minority opinions and fails closed to human review.
Project IM brings people and agents into the same thread. Mention an agent to start a scoped run with project context, stream its progress, inspect its artifacts, and keep the answer attached to the conversation that requested it.
Note: The
deepagent-codenpm package is not yet publicly published. Install via the desktop app or the install script below.
# Install script (macOS / Linux)
curl -fsSL https://deepagent.ltd/install | bash
Then run:
deepagent-code
# or use the alias:
deepagent
Before you can run a task, DeepAgent Code needs at least one model provider. It supports 75+ providers through the AI SDK and models.dev, plus any OpenAI- or Anthropic-compatible endpoint. Pick whichever path fits how you work.
Open Settings → Providers:
/models list — you don't have to fill anything else.Model specs (context window, reasoning) are auto-filled by matching each model against the models.dev catalog. You can reopen a custom provider to override a model's context/reasoning/temperature; those overrides are best-effort and not guaranteed to keep the model working.
# Log in to a provider (official providers, or a plugin auth flow)
deepagent auth login
# See what's connected
deepagent auth list
Providers also live in ~/.deepagent/code/config.jsonc. A custom
OpenAI-compatible endpoint looks like this — set discovery: true to have models
refreshed from the endpoint at runtime, or list them explicitly under models:
{
"$schema": "https://deepagent-code.ai/config.json",
"provider": {
"myprovider": {
"name": "My Provider",
"npm": "@ai-sdk/openai-compatible",
"discovery": true,
"options": {
"baseURL": "https://api.myprovider.com/v1",
"apiKey": "sk-..."
}
}
}
}
Official-provider keys added via the app/CLI are stored separately in
~/.deepagent/code/auth.json, not in the config file. See the
providers guide for the full
reference (base URL overrides, headers, per-model config, gateways).
All DeepAgent Code private filesystem data lives under ~/.deepagent/code/, including configuration, credential references, databases, Desktop state, logs, caches, and temporary files. Native secret values remain in the operating system's credential store. Tests use explicit isolated roots and cannot redirect production storage through ordinary environment variables.
Start the agent and give it a task:
deepagent-code run "add rate limiting to /api/users endpoint"
The agent will: