Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
Project layout
Project layout
agent.ts or agent.tsx at the project root containing the agent definition as a named agent. It must export a named agent created with defineDeepAgent. Use only one agent entry in a project.
The layout above shows the common .ts names. TypeScript managed declarations also accept the supported .tsx, .mts, or .cts variants.
How MDA treats project files
-
Managed context:
instructions.mddefines the system prompt. Each directory underskills/contains task-specific instructions, such as aSKILL.mdand any supporting files. MDA syncs bothinstructions.mdandskills/to Context Hub. Optional durable memory is also backed by Context Hub. -
Application code: Files under
tools/andmiddleware/are ordinary project modules. Import them from the agent entry. -
Managed configuration: Certain paths enable capabilities when present. For
channels/andschedules/, only direct children are managed declarations; nested modules are not.tools/holds ordinary modules with one exception.tools/mcp.tsis a managed declaration and exports a namedmcp. Every other module undertools/is application code you import. -
Dependencies and secrets: Declare dependencies in
package.json. MDA loads.envlocally and forwards non-reserved values as deployment secrets. Reserved platform variables and.envfiles are not included in the build archive. For more information, see Deploy a Managed Deep Agent. -
Evals: Managed Deep Agents evals are Harbor evals. Run
mda evals init -iand develop tasks with a coding agent and theeval-engineeringskill. Generated runtime files stay under.mda/evals/and are not included in the deployed agent build.
Next steps
Quickstart
Create and deploy your first Managed Deep Agent with the
mda CLI.Tutorial
Add durable memory and a daily schedule to the quickstart research assistant.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

