Metaheuristic is the missing layer between "AI wrote a PR" and "someone read it before merge." Drop a diff into our API. We route it to a vetted reviewer matched on language, domain, and stack - verdict, comments, and audit trail come back in minutes, not days.
--- a/src/payments/charge.ts +++ b/src/payments/charge.ts @@ -22,6 +22,9 @@ currency: string; customerId: string; + idempotencyKey: string; } export async function charge(req: ChargeRequest) { - const existing = await db.findFirst({ - where: { customerId: req.customerId, amount: req.amount }, + const existing = await db.charge.findFirst({ + where: { idempotencyKey: req.idempotencyKey }, }); if (existing) return existing;
POST https://your.app/hooks/review
{
"id": "rev_2841",
"status": "approved",
"reviewer": "anon_4f",
"latency_ms": 612000,
"comments": [
"lock idempotency_key index"
]
}Bearer key per project. Send diff, intent, screenshots, callback URL, tier.
Pick reviewers whose declared skills cover the diff. Tier sets the SLA budget.
Google notifications fan out. First reviewer to claim owns the ticket.
Local git-diff viewer, screenshots, instructions. Reviewer ticks the checklist and writes comments.
Three states. Soft-reject means "fix this and I'll re-review without re-routing."
Your CI agent reads status and either merges or comments back on the PR.
Volume credits available. Soft-rejects don't count against your cap until they re-enter the queue.
| At a glance | Metaheuristic | CodeRabbit | Greptile | Graphite | Internal review | Outsourced contractor |
|---|---|---|---|---|---|---|
| Reviewer is | Verified human | AI | AI | AI + workflow | Teammate | Contractor |
| SLA | 3 / 15 / 60 min | Seconds | Seconds | Seconds | Hours–days | Days |
| Skill match | Per diff | - | - | - | Whoever's free | Manual |
| Verdict states | Approve · soft · reject | Comments | Comments | Approve · request | Approve · request | |
| API + webhook | Yes | Yes | Yes | Yes | N/A | N/A |
| Audit trail | Full + diffs + checklist | Logs | Logs | PR history | PR history | Email thread |
| Cost shape | $ / review · SLA-based | $ / seat / mo | $ / repo / mo | $ / seat / mo | Salary | $ / hour |
AI reviewers comment. Humans decide. Metaheuristic gives you a marketplace of skill-matched humans, priced per verdict, with the cycle time of an automated check.
$ curl -X POST https://api.metaheuristic.co/v1/reviews \ -H "Authorization: Bearer rv_live_chk_••••••" \ -H "Content-Type: application/json" \ -d @- <<'JSON' { "title": "feat: idempotency keys /charge", "diff": "$(git diff main..HEAD)", "intent": "Dedupe by key in DB before creating a charge.", "tier": "pro", "callback": "https://your.app/hooks/review", "skills": ["payments", "typescript", "go"] } JSON › routed to reviewer pool · 4 candidates › claimed by anon_4f · SLA 15m · 12m remaining › verdict: approved · 1 comment · webhook delivered $ ▍
POST /hooks/review
X-Meta-Signature: sha256=…
{ "id": "rev_2841",
"status": "approved" }