Skip to Content
ReferenceCLI Commands

CLI Commands

The agentteams CLI manages platform entities — plans, reports, co-actions, and more — from your terminal.

agentteams <command> <action> [options] agentteams --help # all commands agentteams <command> --help # actions/options per command

Command list

CommandDescription
initInitialize the CLI via OAuth (creates .agentteams/)
syncSync convention files from the API to your repo
doctorDiagnose convention reachability, install worktree hook
planManage plans
taskManage plan tasks
commentManage plan comments
reportManage completion reports
coactionManage co-actions (session context)
postmortemManage post-mortems
code-reviewManage independent code reviews
conventionManage project conventions
documentManage project documents
dependencyManage plan dependencies
change-setManage cross-repository change sets and merge order
agent-configManage agent configurations
attachmentManage runner request and document attachments
feedbackManage platform feedback
configManage CLI configuration
searchSearch across all entity types
linearRead/comment on Linear issues
mcpRun the MCP server and register clients
worktreeReport Orca worktree lifecycle events

Action pattern

Most commands take an <action>. The common actions are list, get, create, update, delete, with domain-specific actions added per command.

# Plans: start, finish, quick, assign, download, etc. on top of CRUD agentteams plan list agentteams plan start --id <planId> agentteams plan finish --id <planId> --report-title "..." --report-file <path> \ --runner-type CLAUDE_CODE --model <model-id> --quality-score 90 --report-status COMPLETED # Completion reports agentteams report create --plan-id <planId> --title "..." --file <path> \ --runner-type CLAUDE_CODE --model <model-id> # Unified search agentteams search --query "<keyword>" --format json agentteams search --query "<keyword>" --types BITBUCKET_ISSUE,BITBUCKET_PR --format json

See Plans for plan lifecycle rules and Code Review for review workflow.

Document attachments

Use --document-id with the attachment command to add files to a document or list its attachments.

agentteams attachment create --document-id <documentId> --file ./guide.pdf agentteams attachment list --document-id <documentId>

For create, use exactly one of --document-id, --code-review-id, or --completion-report-id. For list, use exactly one of --document-id or --trigger-id.

Last updated on