Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Pull-request reviewer - Agent - OpenSmartRoute
AgentFeaturedv1.0.0
Pull-request reviewer
Reviews a diff for correctness, security and style, and leaves line-level comments with fixes.
Give it a pull request (or a diff) and it returns a review: blocking issues first, then suggestions, each tied to a file and line with a concrete fix.
How it routes
Complex diffs go to the frontier tier; small ones stay cheap. Point the agent at your own code-review handler or an LLM target when you install it.
Good for
Catching missing error handling and unsafe input before merge.
Enforcing a house style without a human gate on every PR.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - nothing else to configurecurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'# or pin it on the OpenAI-compatible endpoint: {"model": "pull-request-reviewer", ...}
Installed into a catalogue, chosen by a router
Install Pull-request reviewer and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
pull-request-reviewer.ocm.jsonjson
{
"ocm": "1",
"id": "agent:pull-request-reviewer",
"kind": "agent",
"name": "Pull-request reviewer",
"description": "Reviews a code diff for correctness, security and style and returns line-level comments with fixes.",
"publisher": "OpenSmartRoute",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"actions": [
"code_review",
"reasoning"
],
"min_complexity": 0.3,
"supports_tools": true,
"tags": [
"autonomous",
"code-review"
]
},
"instructions": "You review code changes. Report blocking issues first (bugs, security, data loss), then improvements, then nits. For each, name the file and line and give a concrete fix. Never approve code you did not fully read; when unsure, ask for the missing context.",
"quality_prior": 0.82,
"examples": [
"Review this pull request that adds retry logic to the payment client.",
"Check this diff for SQL injection and missing input validation."
]
}
Fetch it by URL: GET /api/v1/registry/pull-request-reviewer/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.