io.github.masterblaster14/consensus

Registre officiel Outils de développement

Coordination for AI coding agents: declare plans, catch design conflicts early, share team memory.

Que pouvez-vous faire avec io.github.masterblaster14/consensus ?

  • Declare before writing. Plans are compared on what they mean, not which files they touch. Conflicts are caught before the code exists.
  • Shared memory. Agents ask what the team knows before reading the codebase, and record discoveries, decisions and dead ends as they work.
  • Human rulings that compound. When two plans genuinely conflict, a person decides once. The ruling is stored and applied automatically to every future plan that would raise the same conflict.
  • Clean handoffs. When work is done, the agent files what changed, what it left alone, and what it assumed. That becomes the pull request.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http consensus 'https://consensus-production-aed6.up.railway.app/mcp' --header 'Authorization: <Bearer csk_... (a personal API key from the Consensus settings page)>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "consensus": {
            "type": "http",
            "url": "https://consensus-production-aed6.up.railway.app/mcp",
            "headers": {
                "Authorization": "<Bearer csk_... (a personal API key from the Consensus settings page)>"
            }
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Consensus
  2. Why
  3. What it does
  4. How it works
  5. Connecting an agent
  6. Teams and integrations
  7. Running it
  8. License
  9. Documentation

Consensus

Coordination for teams whose developers each run an AI coding agent on the same codebase.

Before an agent writes code, it declares its plan. Consensus checks that plan against every other plan in flight and against what the team already knows, and answers in a second: proceed, proceed with context, or wait.

Why

AI coding agents are fast and they work alone. On a team that produces two problems git cannot see:

  • Design conflicts in files that never touch. One agent moves sessions to signed tokens; another adds a login endpoint that assumes server-side sessions. No merge conflict. Two incompatible designs discovered days later in review.
  • Every agent starts from zero. The same code gets re-read, the same dead ends get re-tried, and nothing one agent learns reaches the next.

What it does

  • Declare before writing. Plans are compared on what they mean, not which files they touch. Conflicts are caught before the code exists.
  • Shared memory. Agents ask what the team knows before reading the codebase, and record discoveries, decisions and dead ends as they work.
  • Human rulings that compound. When two plans genuinely conflict, a person decides once. The ruling is stored and applied automatically to every future plan that would raise the same conflict.
  • Clean handoffs. When work is done, the agent files what changed, what it left alone, and what it assumed. That becomes the pull request.

Consensus never reads, writes, executes or merges code.

How it works

  1. One language-model call extracts a plan's stance: the concepts it touches and its positions on error handling, authentication, data access and API shape. Unaddressed axes stay empty; nothing is guessed.
  2. The nearest open plans and memory entries are retrieved by vector search.
  3. Plans are compared deterministically. Shared concept plus disagreeing positions is a clash. Same inputs, same answer, every input logged.
  4. A hard clash is checked against prior rulings before any human is asked.

Full detail: How it works.

Connecting an agent

Consensus is an MCP server. Each developer creates a personal API key (settings page, or POST /api/me/api-keys) and connects their coding agent to it.

Claude Code, with the guardrail (recommended). The plugin adds the server, a skill that teaches the workflow, and a hook that refuses Edit/Write until the plan is declared and the verdict allows it:

export CONSENSUS_API_KEY="csk_..."          # CONSENSUS_URL defaults to the hosted instance
claude plugin marketplace add masterblaster14/Consensus
claude plugin install consensus@consensus

Claude Code, server only:

claude mcp add --transport http consensus https://consensus-production-aed6.up.railway.app/mcp --header "Authorization: Bearer csk_..."

Cursor, Windsurf, any MCP client. Add to the client's MCP config:

{ "mcpServers": { "consensus": { "url": "https://consensus-production-aed6.up.railway.app/mcp", "headers": { "Authorization": "Bearer csk_..." } } } }

Listed in the MCP Registry as io.github.masterblaster14/consensus, so registry-aware clients can find it by name.

Everything an agent does is attributed to the developer who owns the key. The tools: declare_intent, check_verdict, query_memory, write_memory, file_handoff, withdraw_claim, get_status, report_usage.

Teams and integrations

  • Sign in with GitHub or an email link. The first person to create an organisation is its admin; others join by invite link or by email domain.
  • One shared live board per repository.
  • GitHub: handoffs open pull requests, rulings become PR comments, merged PRs retire their plans.
  • Notion: tasks sync in, decisions and rulings mirror out.

Hosted instance: https://consensus-production-aed6.up.railway.app (API docs at /docs, live board at /board).

Running it

Python 3.11, PostgreSQL with pgvector, Redis. Docker Compose for the databases. Offline mode needs no API keys.

docker compose up -d
.venv/Scripts/python -m alembic upgrade head
.venv/Scripts/python -m scripts.seed_demo
.venv/Scripts/python -m uvicorn app.main:app --port 8000

Or the whole stack in containers: docker compose --profile full up -d --build.

Setup details, configuration and the full API: Backend reference. Hosting it: Deploying (Render blueprint, Railway, Fly, or any Docker host).

License

MIT. See LICENSE.

Documentation

Questions fréquentes

Qu'est-ce que io.github.masterblaster14/consensus ?

Coordination for AI coding agents: declare plans, catch design conflicts early, share team memory.

Comment installer io.github.masterblaster14/consensus ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http consensus 'https://consensus-production-aed6.up.railway.app/mcp' --header 'Authorization: <Bearer csk_... (a personal API key from the Consensus settings page)>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.masterblaster14/consensus ?

Oui. Il attend Authorization, à renseigner dans sa configuration.

io.github.masterblaster14/consensus est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.masterblaster14/consensus ?

Il est publié par masterblaster14. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.