spawn_agent
Launch an AI agent in a new terminal window to execute tasks using specified models and CLI tools. Configure with repository, model selection, and task prompt for immediate deployment.
Instructions
Spawn an AI agent in a new terminal surface. Returns immediately — use wait_for to block until ready.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (e.g. 'brainlayer', 'golems') | |
| model | Yes | Model name (e.g. 'sonnet', 'codex', 'opus') | |
| cli | Yes | CLI tool to launch | |
| prompt | Yes | Task prompt to send after agent is ready | |
| workspace | No | Target workspace ref |