start_agent
Starts an implementation agent on a self-contained repository task in a new Tern tab and isolated git worktree, so parallel coding work runs on its own branch.
Instructions
Start an implementation agent on task in a new Tern tab (Tern session "agents").
repo: path to the git repository (any directory inside it). task: the full, self-contained instructions; the agent sees nothing else from this conversation. name: short id (lowercase letters, digits, dashes); defaults to the task's first words. The branch is agent/. base: commit-ish the worktree branches from (default HEAD of the repo). engine: "omp" (default; every provider configured on this machine) or "claude" (Claude Code). model: "auto:fast" | "auto:balanced" | "auto:frontier" (tier from the live catalog), or an exact model: omp selector from list_models (e.g. "openai-codex/gpt-6.1-sol"), or for claude an alias ("opus", "sonnet", "haiku") / full id. Omitted: the engine's default, unless the model policy has an allowlist (then auto:balanced). thinking: reasoning level. omp: off|minimal|low|medium|high|xhigh|max|auto (one the model supports); claude: low|medium|high|xhigh|max|auto (--effort). Omitted with an auto tier: the tier's default. auto_approve: let the agent run every tool without asking (omp --auto-approve / claude --dangerously-skip-permissions). Refused unless the user enabled it on this machine. Without it the agent may stop on approvals; read them with capture_screen, answer with press_keys. worktree: False runs in the repository checkout itself (no isolation; avoid with parallel agents).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"task": "<task>"
},
"name": "start_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | HEAD | |
| name | No | ||
| repo | Yes | ||
| task | Yes | ||
| model | No | ||
| engine | No | omp | |
| thinking | No | ||
| worktree | No | ||
| auto_approve | No |