Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
Project layout
agent.py, agent.ts, or agent.tsx at the project root. It must export a named agent created with define_deep_agent or defineDeepAgent. Do not mix Python and TypeScript agent entries in one project. See Agent definition.
How MDA treats project files
- Managed context:
instructions.mddefines the system prompt. Each directory underskills/contains task-specific instructions. MDA syncs both to Context Hub. - Application code: Files under
tools/andmiddleware/are ordinary project modules. Import them from the agent entry. Other local modules work the same way. - Managed configuration: Root
identity.*andmemory.*, direct children ofchannels/andschedules/, andsandbox/__init__.pyorsandbox/index.tsenable their corresponding capabilities. - Dependencies and secrets: Declare dependencies in
pyproject.tomlorpackage.json. MDA loads.envlocally and forwards eligible values as deployment secrets, but never includes.envfiles in the build archive. - Evals: Author optional Harbor tasks under
evals/.mda evals compilewrites the generated Harbor handoff under.mda/evals/. Eval tasks are not included in the deployed agent build.
.py and .ts names. TypeScript managed declarations also accept the supported .tsx, .mts, or .cts variants.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

