Code in your coding agent,Review in Code Terrier.

Agents write more code than anyone can read. Code Terrier finds verified issues on the exact changed line and, in auto mode, re-checks later pushes.

Install on GitHubOpen portalOpens GitHub. Auto mode reviews new PRs and later pushes by default; change the trigger any time.

Code Terrier never approves or auto-merges. It only posts COMMENT reviews with read-only tools.

Review examplesSample data, not a live review
github.com/acme/api/pull/42
acme / apiPublic
Check session expiry #42
Openalex wants to merge 1 commit into main from fix/session-expiry
Conversation 1Commits 1Checks 1Files changed 1
code-terrier Bot reviewed nowView reviewed changes
code-terrier Bot left a comment

Code Terrier found 1 new issue — 1 security.

Open in Code Terrier
src/auth/session.ts:25+1 −0
2323 const token = await findToken(value);
2424 if (!token) return null;
25+ return issueSession(token.userId);
2526}
code-terrierBotnow

🔒 An expired token can still open a session.

This path issues a session without checking token expiry. Check token.expiresAt before creating the session.

Suggested change
25- return issueSession(token.userId);
25+ if (token.expiresAt <= Date.now()) {
26+ return null;
27+ }
28+ return issueSession(token.userId);
AReply…Resolve conversation
π — api
pi v1.0.0ctrl+o to expand tools · escape to interrupt

Review my local changes with Code Terrier. You may upload them.

I’ll read the Skill and inspect the diff and exclusions first.

read ~/.pi/agent/skills/code-terrier/SKILL.md
# Code Terrier
Review local changes through the direct terminal flow.
$ git diff --stat
src/auth/session.ts | 1 +
1 file changed, 1 insertion(+)

Scope confirmed: 1 file, no exclusions. Starting hosted review.

$ bash ~/.pi/agent/skills/code-terrier/scripts/review.sh --local
Review submitted: sample-review;
resume with --review-id sample-review
[security] src/auth/session.ts:25 - Check token expiry
(done: 1 findings; review sample-review)

Confirmed: this path has no expiry check. Add a guard before issuing the session. You choose whether to apply it.

Model families in the review architecture

Claude·GPT·Gemini·DeepSeek·Kimi·Qwen·GLM·Grok…

The architecture supports up to three configured model families. The shared pool currently uses one model; BYOK controls the reviewer setup.

— tokens spent on reviews · — review runs.Loading live aggregate…Review runs are executions, not unique pull requests.

Review a GitHub pull request

Need an on-demand pass? Comment on any pull request.

Bring an Anthropic key or an OpenAI-compatible endpoint, or run on the shared pool with no key at all.

Review local code in your terminal

Have local or uncommitted code? Run a direct review from the terminal; findings return there and are never posted to GitHub.

Paste this into your coding agent.

A closer look. A clearer review.

Parallel, then checked

Configured reviewers can run together, up to the three-reviewer limit. Near-duplicates are consolidated, then the verification stage checks line legality.

Inline, and categorized

Security, Bug, Flag and Slop findings anchored to the exact line — not a wall of prose at the bottom of the PR.

Fixes you can commit

Findings arrive with a GitHub suggestion you can apply; a non-blocking check run follows every head commit.

Push and it re-checks

In auto mode, a new commit starts another review. Prior human comments are carried forward as bounded, untrusted context.

Bring your own key

Use Anthropic or an OpenAI-compatible endpoint so review runs on your own account. No key? The shared pool covers you.

Frequently asked questions

Does Code Terrier approve or auto-merge pull requests?

No. Code Terrier only posts COMMENT reviews. It never approves, never auto-merges, and never pushes or commits code.

How does a new commit change the review?

In auto mode, a new commit starts the next review. Prior human comments are carried forward as bounded, untrusted context, and findings that no longer apply close quietly.

Can I bring my own model key?

Yes. Bring an Anthropic key or an OpenAI-compatible endpoint so reviews run on your own account, or use the shared model pool with no key at all.

What trigger modes does Code Terrier support?

Three: auto (reviews new PRs and later pushes), on-creation (reviews only the first look), and manual (reviews only when @code-terrier review is commented). Later pushes are automatic only in auto mode.

Start with your question

Your next pull request. A fresh perspective.

Install on GitHub