Configure Agent Behavior
Customize how agents interact with your team and approach code modifications.
Available Behaviors
Propose Plan
Control whether the codegen agent should propose a detailed implementation plan to the user before executing all code modifications, regardless of size or complexity. When enabled:- Agents will present a structured plan showing each implementation step
- Users can review the proposed approach before any code changes are made
- Plans include confidence levels, relevant files, and detailed descriptions
- Provides transparency into the agent’s decision-making process
- Agents proceed directly with code modifications
- Faster execution for straightforward tasks
- Users can still request plans explicitly when needed
Enable this setting if you prefer to review and approve implementation
approaches before code changes are made, especially for critical or complex
repositories.
Require Explicit GitHub Mentions
Control whether the codegen agent should only respond to GitHub comments that explicitly mention@codegen
or @codegen-sh
.
When enabled:
- Agent only responds to comments containing explicit mentions
- Provides precise control over when agents activate
- Reduces unwanted agent responses on general discussions
- Recommended for busy repositories with frequent comments
- Agent may respond to relevant comments without explicit mentions
- More proactive agent engagement
- Convenient for smaller teams with focused discussions
In busy repositories, disabling explicit mentions may result in agents
responding to unintended comments. Consider your team’s communication patterns
when configuring this setting.
Configuration
These behavior settings are configured at the organization level and apply to all repositories within your organization. Individual repository settings may override some behaviors where supported.Best Practices
For New Teams:- Start with “Propose Plan” enabled to understand how agents approach problems
- Use explicit GitHub mentions initially to control agent activation
- Gradually adjust settings as your team becomes comfortable with agent behavior
- Disable “Propose Plan” for routine tasks to increase velocity
- Consider allowing non-explicit mentions in trusted repositories
- Customize settings based on repository criticality and team preferences
- Enable explicit mentions to prevent noise in high-traffic repositories
- Use “Propose Plan” for production or critical infrastructure repositories
- Consider different settings for different types of repositories
Agent behavior settings help ensure that AI assistance integrates smoothly
with your existing development workflows and team communication patterns.