Trigger Methods
From Your Tools
- Slack - Mention
@codegen
in any channel or DM - Linear - Assign issues to Codegen or mention in comments
- Jira - Assign issues to Codegen or
@mention
in comments - ClickUp - Assign tasks to Codegen or mention in comments
- Monday.com - Assign items to Codegen or mention in comments
- GitHub - Comment on PRs or issues with
@codegen-agent
From Codegen
- Web UI - Start a new agent run directly from the dashboard
- CLI - Run
codegen agent create "your task"
from your terminal - API - Trigger programmatically for automated workflows
How Agent Context Works
One Agent Per Context
Each context gets its own dedicated agent:- Slack - Each thread is a separate agent. Follow-up messages in the same thread route to the same agent
- Linear/Jira/ClickUp/Monday - Each ticket is a separate agent. All comments on that ticket go to the same agent
- GitHub - Each issue or PR is a separate agent. All comments stay with the same agent
Shared Context with PRs
When an agent creates a PR:- The agent always monitors its own PR and responds to comments
- Agents triggered from tickets (Linear, Jira, etc.) share context between the ticket and any PRs they create
- Follow-up requests on either the ticket or PR route to the same agent
- Automatically fixes broken tests - When CI checks fail, the agent wakes up and pushes fix commits
This means you can start a conversation in Linear, have the agent create a PR,
then continue the discussion on either platform - it’s all the same agent with
full context.
Follow-up messages always go to the same agent. Whether you’re continuing a
Slack thread, commenting on a ticket, or reviewing a PR - the agent maintains
full conversation history.
All Agents Created Equal
No matter where you trigger from, your request:- Routes to a dedicated agent for that context
- Runs in secure sandboxes
- Has access to all your integrations
- Creates trackable runs visible at codegen.com/agents
Automatic Triggers
Codegen supports certain automated triggers as first-class citizens. These activate without manual intervention to maintain code quality:- Checks Auto-fixer - Automatically fixes failing CI checks on agent PRs
- PR Review - Provides instant code review feedback on all PRs
These automations work alongside manual triggers. An agent fixing broken tests
can still respond to comments on its PR or the original ticket that triggered
it.