Remote script. The install step pipes a remote script from agentfield.ai into bash, so review it or pin a version from the releases page first.
Who it is forA maintainer or reviewer with a pending pull request who wants a structured first pass before reading every line.
The problemReviewing a large pull request by hand takes time and it is easy to miss a risky area such as retry logic.
The outcomeA Markdown or JSON review with findings, file locations, reasons, suggested fixes and review coverage, which the reviewer can act on.
What you need first
- macOS or Linux machine with a terminal
- A provider key (OpenRouter, DeepSeek, GLM, Kimi, MiniMax, Qwen), a ChatGPT plan through Codex, or a running Ollama install
- A git repository for the project you want to work on
- Install CodeAF with the curl script, or build it from source with make build
Steps
- Install CodeAF with
curl -fsSL https://agentfield.ai/get/codeaf | bash, then start it withcodeaf. - Connect a model provider on first start.
- In the chat, type
/review owner/repo#123 focus on retries, replacing the repository and pull request number. - Open the review task to follow progress and read the findings with their file locations.
- Read the coverage section before acting, and request posting or fixes as a separate step.
Prompt for your agent
Use the CodeAF repo at Agent-Field/CodeAF. After installing it, run `/review <owner>/<repo>#<number> focus on retries` in the chat. Expected output: a review report with findings, file locations, reasons, suggested fixes and coverage, in Markdown or JSON. Verify that the code was not changed and that the coverage section lists what was not analyzed.
Caveat. The README says review is imported from PR-AF and that its benchmark results belong to the original project, not to codeaf's imported review specialist.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Agent-Field/CodeAF and "Review a GitHub pull request with findings and reasons"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer