codegen
(root)codegen agent
codegen agent --prompt "Your prompt"
codegen agent --id 123 --json
codegen agent --id 123 pull
--prompt, -p TEXT
The prompt to send to the agent (mutually exclusive with —id unless using create)--id INT
Agent run ID to fetch or pull--json
Output raw JSON response when fetching (flag)--org-id INT
Organization ID (defaults to CODEGEN_API_TOKEN/REPOSITORY_ORG_ID or auto-detect)--model TEXT
Model to use for this agent run (optional)--repo-id INT
Repository ID to use for this agent run (optional)pull
Pull the PR branch associated with an agent run (requires —id)codegen agents
codegen agents list
codegen agents get 123
--org-id INT
Organization ID (defaults to CODEGEN_ORG_ID/REPOSITORY_ORG_ID or auto-detect)--limit INT
Maximum number of runs to return (default: 10)--json
Output raw JSON response (flag)codegen login
codegen login
codegen login --token YOUR_API_TOKEN
--token TEXT
API token to store--no-verify
Skip token verification (flag)codegen logout
codegen logout
codegen org
codegen org list
codegen org switch ORG_ID
codegen org current
--json
Output raw JSON response (flag)codegen repo
codegen repo list
codegen repo config REPO_NAME
codegen repo get REPO_ID
--org-id INT
Organization ID (defaults to CODEGEN_ORG_ID or auto-detect)--json
Output raw JSON response (flag)