Ship code to production, safely.
Every change gets a panel of specialist agents that take care of best practices, design patterns, security, data privacy, architecture drift and more, across 13 quality pillars. On your machine, with the AI you already use.
GoalOrders can be exported, and refunds issued in a second currency.
Evidenceticket strong · commits moderate · diff moderate
Must be true
1. Every order field the ticket lists is in the export
2. A refund converts at the original charge’s rate
3. Existing refunds behave as before
Merges duplicates across specialists, keeps the worst severity, ranks.
waiting7 findings → 5 after dedupe
Prosecutor · defence · judge on the 2 contested majors.
waiting1 kept, 1 severity lowered
Grounds each finding in evidence and corroboration.
waitingranked by severity, then corroboration
Learns from what was confirmed.
waitingcurated into repository memory
Applies the repository’s severity gate.
waitingREQUEST CHANGES
src/orders/export.py:58Customer email and phone are written to the export log in plain text
src/billing/refunds.py:112not in this PR’s diffconvert_amount() now takes a currency, but the refund path still calls it without one
src/orders/export.py:21severity lowered by the juryExport reads the orders table directly instead of going through OrderRepository
In /agp, the fixer agent now fixes what you marked and the panel reviews again.
Review checks that code looks right. Production needs it to be right.
A solo MVP can live without this. An organization can’t: every gap below ends up in production.
What isn’t in the diff gets skipped
Human review checks whether code looks right, under time pressure. Data privacy and compliance, architecture drift, release safety, observability, and the edit someone forgot in another file are routinely missed.
Every team sets its own bar
Standards differ from team to team and from reviewer to reviewer. Nothing enforces one bar across every repository.
Changes arrive faster than seniors can read
More and more code is written with AI assistants. Changes arrive faster than senior reviewers can read them.
agp closes the gap before production
Every change gets the same multi-specialist review against 13 pillars, verified against what the change was meant to do, before it reaches production.
Your approved AI
The provider your organization already approved, under its own account.
Your machines and CI
On laptops, in a local container, and in CI with the GitHub Action.
No vendor servers
agp has no servers. Nothing about your code or reviews is sent to us.
Open source
Apache 2.0. Read it, run it, extend it.
Adopting it is one command.
That is what makes rollout across an organization realistic. Your developers start it from the terminal, from the AI tool they already use, or let CI run it on every pull request.
Terminal
Paste a pull request link. No review keyword, no flags. Review staged changes before you commit, or your branch against its base.
Inside your AI coding tool
On your feature branch, type /agp. It finds the pull request for your branch (or offers to open a draft), runs the review, lets you mark findings in an interactive report, fixes the ones you marked, validates the fix and reviews again, for up to three rounds.
Agents that check before they speak
Not one model reading one prompt. An orchestrator, a panel of specialist agents with their own tools, a jury, a curator and a fixer.
An orchestrator picks the panel
It reads the change and decides which specialists run. A small PR gets a small panel.
Each specialist is its own agent
Its own role, its own slice of context, its own belt of read-only tools.
Fetch before you assert
A claim about code outside the prompt that no lookup checked is dropped.
Bounded, and in parallel
6 tool calls per agent and 60 per review. Specialists run at the same time.
A jury for what matters
Disputed and important findings go to an adversarial jury.
A curator for memory
What was confirmed is written into memory, per repository.
A fixer in /agp
It fixes the findings you marked, then the panel reviews again, up to 3 rounds.
Anatomy of a specialist
A review panel, not a prompt.
How a change travels from pull request to verdict, and into the memory the next run starts from.
Pull requestPlus the ticket, the commits and the repository’s docs.
agp staged) or your branch against its base (agp diff). Pass --jira PROJ-934 for the ticket, or it is detected from the branch name or title.Review cacheagp clones into its own cache. Your working copy is never touched.
Prompt-injection firewallPR text and repository content are fenced as untrusted data, never as instructions.
Intent extractionWorks out what the change set out to do: the change brief.
Change routerDetects the stack and what each changed file is for, and runs only the pillars this PR touches.
Specialist panelSpecialists run in parallel, each with its own tool belt.
Honesty pipelineNothing is counted that wasn’t found, and nothing is passed that wasn’t checked.
- Run notices are split out. A specialist that timed out is never counted as a finding, and never silently passed as clean.
- Duplicates are merged, keeping the worst severity.
- Every finding is anchored to the diff: changed line, changed file, or off-diff.
- Blocker and major findings go to the jury.
- Ranked by severity, then by how many independent specialists corroborated it.
JuryBlocker and major findings are re-argued before you see them.
VerdictApprove, comment or request changes.
Then you decideFix, file a ticket, publish to the PR, or dismiss.
agp fix fixes from the report. In /agp, a fixer agent fixes the findings you marked and the panel reviews again, up to 3 rounds. Nothing is posted to your PR unless you click Publish.MemoryThe next run starts from it.
.reviewer/, protected by CODEOWNERS against memory poisoning.Did the change do what it set out to do?
Change Correctness doesn’t ask whether the visible code is well written. It asks whether the change did what it set out to do, completely. So agp first works out what that was.
Stage 1: reconcile
Up to five sources are read independently and in parallel, each graded for how much it really contains. The diff itself, with its new tests, error strings and docstrings, is the floor. The result is a change brief: the goal, the evidence with a confidence line, and a numbered list of what must be true if this worked.
- A ticket that is only a title cannot outrank six specific commit messages.
- Where sources genuinely conflict, the brief says so instead of averaging them.
- When nothing states an intent, no brief is invented.
In parallel: the reference map
A deterministic pass lists, for every definition the PR changed or deleted, the call sites elsewhere that were not updated.
Stage 2: verify
Five specialists verify the diff against the brief and the reference map.
/agp plugin’s session, when there is one.The edit you forgot lives in a file you didn’t touch.
agp finds it, and labels it honestly as outside the diff.
A jury for what matters
Blocker and major findings are re-argued before you see them.
Three seats
A prosecutor argues the finding is real, a defence argues it isn’t, and a judge rules. Where your provider offers more than one model family, different models take the seats, so one model’s blind spot is not the verdict.
Both directions
The jury catches real issues and also corrects over-severe false positives.
Corroboration, not self-confidence
Agents’ self-rated confidence is deliberately not used for ranking. Corroboration by independent specialists is.
What each specialist is given
And what it was not. Reviews are honest about coverage.
Its slice of the diff
The part of the change it is there to review.
What each file is for
Production, local-dev, test, test fixture, CI, docs or example.
Your library versions
Read from your manifests and lockfiles, so suggested code compiles against the versions you build with.
The acceptance criteria
From the ticket, when there is one.
An evidence manifest
What it was and was not given, so it never reports the absence of something it couldn’t see.
The code around the change
For the design and architecture agents: the unchanged code near the change, to cite.
The report says which pillars were assessed, which don’t apply to this PR, and which could not be assessed. It never claims coverage it didn’t get.
The 13 pillars of quality
Every run states which pillars were assessed, which do not apply to the change, and which could not be assessed. It never claims coverage it did not get.
- 01Change CorrectnessDoes the diff do what it, and its ticket, set out to do?
- 02SecurityInjection, auth, secrets and unsafe input handling.
- 03Data Privacy & CompliancePersonal data: what is collected, logged, kept and shared.
- 04Infrastructure & Cloud PostureInfrastructure code, permissions and cloud configuration.
- 05Release & Deployment SafetySafe to ship, safe to roll back.
- 06Code Quality & DesignReadable, maintainable, no needless complexity.
- 07UX & AccessibilityWhat users see, and whether everyone can use it.
- 08Data & PersistenceSchemas, migrations, queries and data integrity.
- 09Distributed Systems & MessagingQueues, retries, ordering and partial failure.
- 10API & ContractsPublic interfaces and compatibility for callers.
- 11Quality AssuranceTests that prove the change and guard it later.
- 12Site ReliabilityObservability, timeouts and behaviour under load.
- 13Architecture ConsistencyFits the system’s structure; catches drift.
Coverage, stated plainly
Each report says which pillars were assessed, which don’t apply to this PR, and which could not be assessed.
Bring your own AI
Use the provider your organization already approved, under your own account. Your code goes only to the provider you choose.
Providers
CLIs use your signed-in account. With a local model server, code never leaves your machine. Set a default with agp config provider claude.
GitHub Copilot CLI
Run the full panel inside the agent you already work in. agp init installs the /agp command.
Claude Code
Run the full panel inside the agent you already work in. Install the plugin once, then type /agp.
Cursor
The same /agp workflow in Cursor. Install the plugin once, then type /agp.
Antigravity
/agp is also built for Antigravity.
OpenCode
/agp is also built for OpenCode.
MCP server
MCP-capable tools can call agp through its MCP server.
GitHub Action
The same review on every pull request. A severity gate decides what counts, and can fail the job; results upload as SARIF to GitHub code scanning.
- uses: agentic-preview/agentic-preview/.github/actions/review@main
with:
provider: anthropic
severity-gate: major
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Privacy and control
The engine runs on your machine, or in a local Docker or Podman container with agp config --running-mode container.
Code and diffs
Go only to your configured AI provider. With ollama or vllm, they stay on your machine.
Reports, findings, learned preferences
Stay local in ~/.reviewer/.
Your pull request
Nothing is posted unless you click Publish.
Us
agp has no servers. Nothing about your code or reviews is sent to us. Update checks go to GitHub Releases.
Leaving
agp uninstall removes everything it created.
Download
One self-contained binary for macOS, Linux and Windows. No Python needed. The installers verify the binary’s SHA-256 checksum.
curl -fsSL https://raw.githubusercontent.com/agentic-preview/agentic-preview/main/install.sh | bash
Then three commands
Join us
agp is open source under Apache 2.0, built in the open. Read how it reviews, run it your way, and help it grow.
What you can add
New specialists, rule packs for your stack, and provider and tool integrations.
git clone https://github.com/agentic-preview/agentic-preview && cd agentic-preview
python -m venv .venv && .venv/bin/pip install -e ".[all]" pytest-xdistFrequently asked questions
One binary, with the one-line installer. Then agp init checks what you have, tells you what’s missing, and installs the /agp command into GitHub Copilot CLI. agp doctor checks your setup at any time.
copilot (GitHub Copilot CLI), claude (Claude Code CLI), cursor (Cursor CLI), anthropic, openai and azure with an API key, and ollama or vllm for a local model server. The one you configure becomes your default; --provider switches for one run.
Yes. With ollama or vllm, code never leaves your machine.
Only to the AI provider you configure. agp has no servers, reports stay in ~/.reviewer/, and nothing is posted to your pull request unless you click Publish.
Pass a Jira key or URL with --jira PROJ-934 and its goal and acceptance criteria become the checklist the correctness panel verifies the diff against. Without one, the ticket is detected from the branch name or PR title. From the report you can also file findings as Jira issues.
agp findings lists past reviews and reopens a report.
Yes. A GitHub Action runs the same review on every pull request, with a severity gate that can fail the job, and uploads SARIF to GitHub code scanning.
agp update updates, checksum-verified. agp uninstall removes everything agp created.