codegen
CLI is your terminal interface to Codegen agents. Use it to view agents, pull their work, create new agents, and run Claude Code with full telemetry and monitoring.
Installation & Setup
Key Commands
codegen
Launches the interactive terminal UI (TUI) for browsing agents, viewing runs, and managing your Codegen workflow from the terminal.
codegen login
Store your API token for authentication. Supports both interactive login and direct token input.
What You Can Do
- View and manage agents - List agent runs, check status, and see detailed execution logs
- Pull agent work - Download branches and code changes created by agents directly to your local environment
- Create new agents - Trigger agent runs from the command line with custom prompts
- Run Claude Code - Execute Claude Code with OpenTelemetry monitoring and comprehensive logging
- Manage organizations - Switch between organizations and configure repositories
The CLI provides the same capabilities as the web UI and API, optimized for
terminal-based workflows and automation.