agentleFS
LangChainKnown publisherlangchain-ai/langchain-skills/skills/langchain-managed-deep-agents/SKILL.md

langchain-managed-deep-agents

Skill1.4k starsChanged 11 days agoMITView on GitHub

Use when building, configuring, testing, migrating to, or deploying a Managed Deep Agent in LangSmith with the mda CLI (Python or TypeScript). Gives an overview of Managed Deep Agents and routes to the official documentation and installed CLI for current capabilities, project layout, hosting options, and syntax.

  • Reads credentials

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about langchain-ai/langchain-skills

The biggest 5 of 37 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 37

Talked about on GitHub (37 times).

On GitHub · 37

32 more on GitHub

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use this skill when the user wants to build, configure, test, migrate to, or deploy a Deep Agent with Managed Deep Agents and the mda CLI, …

    line 26
  2. Very specific:

    Use the open-source Deep Agents SDK directly or a custom LangSmith Agent Server deployment instead (see langchain-build-agent) when the …

    line 30
  3. Distinctive:

    When the user wants to build a new agent from scratch, clarify the shape before scaffolding:

    line 58
  4. Distinctive:

    Understand the goal in plain language: Ask what the agent should do, who or what interacts with it, which language they want (Python or …

    line 61
  5. Distinctive:

    Check the docs for current support and constraints: Verify the requested capabilities and target hosting environment against the official …

    line 67
  6. Distinctive:

    Verify locally before deploying: Follow the official local-development guide to run the agent locally and test realistic inputs, confirming …

    line 87
  7. Distinctive:

    Keep secrets out of code and commits: Never fabricate, copy from other projects, print, or commit live API keys or tokens.

    line 90
  8. Distinctive:

    Confirm destructive or non-interactive actions: Before deleting a deployment or passing flags that skip confirmation prompts, confirm with …

    line 94
  9. Very specific:

    Documentation MCP (preferred): Use langchain-docs → search_docs_by_lang_chain and query_docs_filesystem_docs_by_lang_chain to find and read …

    line 103
  10. Distinctive:

    Official web docs (when MCP is unavailable): Follow https://docs.langchain.com/llms.txt to the language-specific Build index, which lists …

    line 113
  11. Very specific:

    Underlying library APIs: When writing custom tools, middleware, subagents, or client code against Deep Agents, LangChain, LangGraph, or …

    line 124
  12. Distinctive:

    Offline fallback: If you cannot reach the documentation MCP or web docs, say so explicitly, work from the installed CLI help and package …

    line 133

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Managed Deep Agents

Managed Deep Agents (MDA) is LangSmith's hosted runtime for code-first Deep Agents in Python and TypeScript. You author an agent as a project directory and use the mda CLI to develop it locally and deploy it to LangSmith Agent Server, without building or operating the server stack yourself.

Under the hood, MDA runs the open-source Deep Agents harness (see langchain-build-agent) rather than a separate framework. Instead of compiling an agent in your own process and wiring up its infrastructure, your project defines the agent (model and configuration, instructions, skills, tools, MCP connectors, middleware, and subagents) alongside opt-in managed capabilities such as sandboxes, browser use, durable memory, caller identity, channels, schedules, and Harbor evals, plus connections whose credentials live in your LangSmith workspace. The managed runtime compiles the agent, stores instructions, skills, and optional durable memory in Context Hub, and hosts the result on LangSmith Agent Server.

When to use Managed Deep Agents

Use this skill when the user wants to build, configure, test, migrate to, or deploy a Deep Agent with Managed Deep Agents and the mda CLI, or work inside an existing MDA project.

Use the open-source Deep Agents SDK directly or a custom LangSmith Agent Server deployment instead (see langchain-build-agent) when the user needs to own the server, custom routes, surrounding application code, or custom persistence or default backend infrastructure. To convert an existing Deep Agents project, follow the official MDA migration guide in the docs.

Hand off to sibling skills when the task crosses into their scope:

  • langchain-build-agent: choosing between Deep Agents, LangGraph, and LangChain, or building a self-managed agent.
  • langchain-eval-engineering: designing and building Harbor eval tasks for the agent.
  • langchain-agent-tracing, langchain-agent-monitoring, and langchain-agent-experiments: tracing, production monitoring, and offline LangSmith experiments.

Read the docs before building

This skill stays intentionally thin. Managed Deep Agents evolves quickly: its hosting options, supported capabilities, project-file conventions, SDK APIs, and CLI flags all change across releases. Do not rely on memory for what MDA supports, what limits apply, which files enable a capability, or exact syntax. Consult the official documentation and the installed CLI/package before recommending an approach or writing project files (see Use current tools).

Starting a new agent

When the user wants to build a new agent from scratch, clarify the shape before scaffolding:

  1. Understand the goal in plain language. Ask what the agent should do, who or what interacts with it, which language they want (Python or TypeScript), and only the follow-ups their answers raise (for example: external services, persistent memory, code or browser execution, schedules, messaging channels, human approval, or where they plan to host it). Keep it brief: two or three questions is usually enough.
  2. Check the docs for current support and constraints. Verify the requested capabilities and target hosting environment against the official docs before promising them. If part of the request is not currently supported, say so directly and offer the closest supported alternative rather than silently dropping it.
  3. Confirm the plan, then follow the docs incrementally. Summarize the proposed language, model choice, and capabilities, then follow the official quickstart and only the capability guides the plan calls for. Add one capability at a time and omit files or directories for capabilities the user did not ask for.

Modifying an existing project

Inspect the existing directory, language, manifest, and installed mda and managed-deepagents versions first. Match the project's existing layout and installed SDK version, and load only the docs pages for the capabilities being added or changed.

Testing, deploying, and safety

  • Verify locally before deploying. Follow the official local-development guide to run the agent locally and test realistic inputs, confirming tools and new capabilities work, before deploying.
  • Keep secrets out of code and commits. Never fabricate, copy from other projects, print, or commit live API keys or tokens. Write only placeholder variable names or ask the user to supply secret values themselves, and keep .env files out of version control.
  • Confirm destructive or non-interactive actions. Before deleting a deployment or passing flags that skip confirmation prompts, confirm with the user.

Use current tools

Load only the docs needed for the current step, in the user's language (Python or TypeScript):

  • Documentation MCP (preferred): Use langchain-docs → search_docs_by_lang_chain and query_docs_filesystem_docs_by_lang_chain to find and read current Managed Deep Agents guides. Useful starting searches: "Managed Deep Agents overview", "Managed Deep Agents quickstart", "Managed Deep Agents project structure", "Develop locally with LangSmith Studio", "Deploy a Managed Deep Agent", "Managed Deep Agents CLI reference", "Move from Deep Agents to Managed Deep Agents", plus the specific capability needed (such as tools, MCP connectors, web search, connections, middleware, sandboxes, browser use, memory, identity, channels, schedules, subagents, runtime, Context Hub, custom frontend, MCP endpoint, or evals).
  • Official web docs (when MCP is unavailable): Follow https://docs.langchain.com/llms.txt to the language-specific Build index, which lists every current Managed Deep Agents page and its Markdown URL:

    Language-specific Markdown pages follow https://docs.langchain.com/langsmith/<lang>/managed-deep-agents-<page>.md (where <lang> is python or javascript; start with overview, quickstart, project-structure, local-development, deploy, cli, or migrate).

  • Underlying library APIs: When writing custom tools, middleware, subagents, or client code against Deep Agents, LangChain, LangGraph, or LangSmith SDKs, use langchain-reference → search_api, then get_symbol (or https://reference.langchain.com/llms.txt).
  • Installed CLI and package: Reconcile documentation against the project's installed version using mda --help, mda <command> --help, and the installed managed-deepagents package source or types. When the docs and the installed package disagree, trust mda --help and the installed package types for what the local version supports, then the current docs.
  • Offline fallback: If you cannot reach the documentation MCP or web docs, say so explicitly, work from the installed CLI help and package source/types, and tell the user which official docs pages to verify.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.