Run the full DSH coding agent in a workspace
run_agent_taskExecute complex coding tasks in a workspace using a full agent with shell, file editing, and sub-agent delegation. Ideal for real code modifications, not quick Q&A.
Instructions
Run a complete DeepSeek Harness coding agent on a task. The agent has a shell, file read/write/edit, sub-agent delegation, workflow, todo, and session persistence — it can actually modify files in the given workspace. This spawns a one-shot dsh --profile headless process; it needs a built deepseek-harness checkout (set DEEPSEEK_HARNESS_ROOT, or pass harness_root). Use this for real coding/workspace work; use delegate_task for quick model-only questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task for the agent. Be specific: goal, files, acceptance criteria. | |
| profile | No | dsh profile to boot (headless = one-shot coding agent). | headless |
| workspace | No | Directory the agent operates on (default: the server process cwd). | |
| timeout_ms | No | Kill the run after this many milliseconds (default 10 minutes). | |
| harness_root | No | Path to the deepseek-harness checkout (default: $DEEPSEEK_HARNESS_ROOT). |