What it does
brevio-core flags common mistakes in agent-written code, including secrets written into source, eval on input, @ts-ignore type silencing, silently dropped exceptions, fixed sleeps in end-to-end tests, images without alt text and click handlers a keyboard cannot reach. Its checks are line-level pattern matches on the lines a change adds, not AST or dataflow analysis. Of its 123 catalogued rules, 13 have a scanner; the other 110 are documented for review and for agents.
It suits reviewing pull requests that agents have written, or running a check in continuous integration. The scan, the agent hook and the MCP server use no network and send nothing. It runs without installing, or can be installed, and `init` writes a pull-request workflow, agent rules and a baseline of existing findings, with a dry run and an undo option. Findings can be silenced with a reason. Output can be Markdown for a pull-request comment or SARIF for code scanning.
Teams set rules with a brevio-core.toml file at the repository root or in any folder, and `extends` can pull in a shared policy file. Scans skip dependencies, vendored code, minified files, bundle chunks and TypeScript declaration files by default. The `config` command shows which settings apply to a given file.
Limitations and requirements
Requires Python 3.10 or newer. Checks are line-level pattern matches, not AST or dataflow analysis, and only 13 of 123 rules have a scanner. Only a person can silence the gate: the agent hook and MCP tools ignore ignore comments, and a diff scan reports new suppressions for human review. `extends` reads only files already in the checkout and does not fetch policies. Preview rules never fail a scan.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 18 Nov 2026 · its page on the source
io.github.Brevio-Ventures/brevio-core
Code rules for coding agents: scan, explain a rule, learn a guard. Local, with no model call.
v0.11.2As shown on registry.modelcontextprotocol.io when we last read it