.pr_agent.toml file, or included directly in a PR comment for a single review.
The /agentic_review command supports three instruction parameters, one per agent:
issues_user_guidelines: extra instructions for the Issue finding agent, which handles bug, security, and performance detectioncompliance_user_guidelines: extra instructions for the Compliance agent, which handles rule checkingsmart_router_extra_instructions: extra instructions for the review effort agent, which decides how much review depth a pull request needs. See Control review effort for the full set of review effort controls.
Configure extra instructions
Configure extra instructions in the Qodo portal (Recommended)
- Log in to the Qodo portal.
- Navigate to Configurations > Prompts.
- Add custom instructions for the Issue finding agent, Compliance agent, or Review effort mode.
Configure extra instructions in .pr_agent.toml
Add the following to your.pr_agent.toml:
Use a PR comment
To apply instructions for a single review without changing your config file, include them as parameters when triggering/agentic_review in a PR comment:
Related resources
- Trigger a code review: Run reviews automatically or manually.
- Optimize AI effort with Review effort mode: Match review depth to the risk of each change.
- Customize the code review experience: What you can configure, and where to configure it.