eval-engineering skill to inspect the project, draft a Task Spec for your review, and write complete tasks under evals/.
Managed Deep Agents initializes the Harbor workspace. Harbor runs the managed agent against each task in an isolated environment and records the result.
Managed Deep Agents is in public beta and available on LangSmith Cloud in the US region only.
Prerequisites
Before you evaluate, make sure you have:- A Managed Deep Agents project created with
mda init, or an existing project with an agent entry. uv, which runs the pinned Harbor version and plugins.- Docker, which Harbor uses for task environments.
- A coding agent. Agents that support Agent Skills can install
eval-engineeringdirectly. For other agents, provide the skill instructions in the session.
Add the eval-engineering skill
The eval-engineering skill walks a coding agent through discovering the agent, proposing a Task Spec, and building a reviewed Harbor task. To add it to the current project, run:
Develop evals with a coding agent
1
Initialize the eval workspace
From the project root, run:The interactive handoff lists detected coding agents, including Deep Agents Code, Claude Code, Codex, and Cursor. Selecting an agent starts that agent in the project directory and runs the eval-engineering prompt. You can also copy the prompt for another agent, or exit and return later.Initialization creates:
evals/harbor-job.json is user-owned. Managed Deep Agents writes it only when it is missing, so later edits are preserved. Files under .mda/evals/ are generated.2
Start the coding-agent session
The handoff asks the selected coding agent to install the Work with the coding agent to review the Task Spec, task instruction, environment, verifier, and reusable project knowledge. The coding agent writes the runnable task after you approve the design.
eval-engineering skill and use it for the project. If you already added the skill, continue in that session.Ask the coding agent to follow the skill’s review flow and use the Managed Deep Agents task layout:3
Review the Harbor task
Each direct child of
evals/ that contains an instruction and tests is a Harbor task:Task.md is the human-reviewed spec. instruction.md tells the agent what to do. Harbor builds the task environment, runs the managed agent, and then runs tests/test.sh. The verifier writes a numeric reward to /logs/verifier/reward.txt or numeric metrics to /logs/verifier/reward.json.For the full task format, see the Harbor task documentation.4
Run the evals
The coding-agent handoff includes a command configured for the project and current shell. Run that command from the project root.On macOS or Linux, it has the following form:Replace
my-agent with the project directory name. The generated command fills in the name and uses PowerShell syntax on Windows.Re-running the command after editing the agent picks up the project changes.5
Inspect the results
Open the Harbor results:Review failed trials with your coding agent. Update the task or verifier when the eval does not measure the intended behavior. Update the managed agent when the eval exposes a product failure, then run the same Harbor command again.
Edit the Harbor job
Editevals/harbor-job.json to change datasets, attempts, concurrency, environment settings, or agent environment variables. Managed Deep Agents preserves the file when you run mda evals init again.
Record runs in LangSmith
WhenLANGSMITH_API_KEY is available, the LangSmith plugin records the Harbor runs in the dataset named by HARBOR_LANGSMITH_DATASET.
See also
- CLI reference: review
mda evals initand related flags. - Deploy an agent: deploy the agent after its evals pass.
- Deep Agents Code quickstart: install and run
dcode. - Harbor integrations: record Harbor jobs in LangSmith.
- Harbor task documentation: configure tasks, environments, and verifiers.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

