Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
Project layout
Project layout
agent.py at the project root. It must export a named agent created with define_deep_agent.
Use only one agent entry in a 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.pyandmemory.py, direct children ofchannels/andschedules/, andsandbox/__init__.pyenable their corresponding capabilities. - Dependencies and secrets: Declare dependencies in
pyproject.toml. MDA loads.envlocally and forwards eligible values as deployment secrets, but never includes.envfiles in the build archive. - Evals: Managed Deep Agents evals are Harbor evals.
evals/tasks/is the canonical Harbor task dataset. Author tasks there directly, or runmda evals init <name>to create an optional starter underevals/scaffold/.mda evals compilecopies scaffolds intoevals/tasks/and packages the agent for Harbor. Theevals/directory is not included in the deployed agent build.
.py names.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

