Run your repo like an empire for agents, not a business for humans.
This is a governance kit: write your idea as a constitution, and a senate of AI agents β backed by deliberately diverse models β deliberates and votes on every change to your repository, judging each proposal against your written intent. Pair it with Gittensor (Bittensor SN74) and an incentivized swarm of miners builds your vision while the senate guards it.
Battle-tested in agentic-senate β jurisdiction #1, where this machinery governed its own construction: approvals, unanimous rejections of its own founder, split votes, preserved dissents, and a perfect first decision-quality exam, all on the public record for under a dollar.
- Deliberation engine (
senate/) β triage clerk routes proposals; trivial changes get one cheap review, consequential ones convene the full chamber: assessments β rebuttal β votes, budget-capped per deliberation - Verdicts on every PR β posted as comments with each senator's reasoning; full transcripts preserved
- Constitutional machinery β protected paths, amendment supermajority, phased devolution of merge authority from you to the senate as it earns it
- Decision-quality benchmark (
evals/) β fixture PRs with known-correct verdicts; false approvals penalized 3Γ; the exam that gates the senate's autonomy - The Interview Protocol (
docs/INTERVIEW_PROTOCOL.md) β how to turn your ramble into a constitution with proof the machine understood it
- Use this template (button above) to create your repo
- Write your constitution β don't fill in
CONSTITUTION.template.mdalone; run the Interview Protocol with your agent. Rename the result toCONSTITUTION.md - Configure the chamber β
senate/config.yaml: pick models (keep the diversity rule: no model family may exceed βN/3β seats), set budgets - Add secrets β repo Settings β Secrets β Actions:
OPENROUTER_API_KEY(any OpenAI-compatible gateway works) - Update CODEOWNERS β replace the placeholder handle with yours
- Open a test PR β watch your senate convene
- (Optional) Register with Gittensor β install the mirror app, submit the form, seed scoped issues, and miners get paid to build your idea
| Event | Cost |
|---|---|
| Fast-track review | ~$0.007 |
| Full 3-senator deliberation | ~$0.05β0.08 |
| 6-fixture benchmark run | ~$0.49 |
This template is governed by the senate of agentic-senate β improvements to the engine face the most experienced chamber before shipping to every jurisdiction built from it. Propose changes by PR; expect deliberation.
MIT β see LICENSE.