gmc
Task

Start

Create a task worktree and start an agent.

gmc task start creates a worktree for a task and starts the selected agent.

Usage

gmc task start t-20260614-120000-a1b2

Agent

gmc task start <task-id> --agent codex
gmc task start <task-id> --agent opencode

Supported agent commands include codex, grok, cursor-agent, and opencode.

Base and model

gmc task start <task-id> --base main --model gpt-5

Notes

The built-in workflow starts each agent with its own approval settings; nothing bypasses prompts or sandboxes unless your workflow.yaml sets an explicit node command. The launched command is printed as command: so you can verify the flags.

--model applies to the selected agent and carries to later nodes only while they use the same agent; switching agents drops it.

Use a base branch when the task should not start from the current default.

On this page