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. It must export a named agent created with defineDeepAgent.
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.tsandmemory.ts, direct children ofchannels/andschedules/, andsandbox/index.tsenable their corresponding capabilities. - Dependencies and secrets: Declare dependencies in
package.json. 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.
.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.

