Metatron

•
27
•

Captures a codebase's real implementation decisions as structured priors, guiding coding agents to write context-aware code.

Metatron is a self-hosted system designed to imbue AI coding agents with the institutional knowledge of a senior engineer intimately familiar with a codebase. It achieves this by extracting a codebase's implementation decisions—including preferred patterns, rejected approaches, edge cases, and internal conventions—and structuring them as 'priors.' These priors are then served to coding agents over the Model Context Protocol (MCP), ensuring agents write code that adheres to established practices rather than repeatedly rediscovering them. With a strong emphasis on privacy, Metatron operates on-premise against private codebases, transmitting only structural signals to the model while storing sensitive feedback locally. Crucially, human curation remains central, preventing any prior from becoming canonical without explicit approval.

主な機能

01Captures codebase implementation decisions as structured 'priors' from git history and developer feedback.
02Self-hosted architecture designed for sensitive data and on-premise deployment.
03Serves curated, canonical priors to AI coding agents via the Model Context Protocol (MCP).
04Enforces human-in-the-loop curation for all bootstrapped or agent-submitted priors.
05Provides a local web UI for reviewing, triaging, and managing candidate priors.
0612 GitHub stars

ユースケース

01Leveraging existing codebase knowledge and developer feedback to prevent AI agents from 'rediscovering' conventions.
02Standardizing AI-generated code by infusing it with preferred patterns, rejected approaches, and edge case handling.
03Guiding AI coding agents to write code that adheres to specific codebase conventions and patterns.