RoBrain
RoBrain

RoBrain

RoBrain is an open-source decision-memory layer for AI coding teams. It captures choices, rejected alternatives and rationale across Claude Code, Cursor, Copilot, Codex CLI and Hermes. This independent guide explains architecture, self-hosting, privacy, VetoBench evidence, governance, evaluation and alternatives.

145

Views

0

Likes

May 2026

Added

robrain.dev

Website

Tags

shared agent memoryAI coding agentsdecision historyopen sourcedeveloper tools

Product Preview

A quick visual look at RoBrain before you visit the official site.

Published 5/27/2026
RoBrain screenshot

Editorial Review

About RoBrain

RoBrain is an open-source memory and judgment layer for teams that use AI coding agents. Its distinctive unit is not a chat transcript or a loose “fact,” but an engineering decision: what the team chose, why it chose it, which alternatives it rejected, which files were affected and whether the decision is still active. The same Postgres-backed record can be surfaced to Claude Code, Cursor, GitHub Copilot, Codex CLI and Hermes.

That focus solves a narrow but expensive problem. A coding agent may remember the current convention yet still recommend a library, migration or architecture the team previously rejected. Ordinary rules files often preserve the winner but omit the losing options and their reasons. RoBrain makes those vetoes queryable and can warn before work begins. It does not make stored decisions correct forever: capture errors, stale constraints and organizational disagreements still require human governance.

RoBrain shared decision memory product screenshot
RoBrain sits beside coding agents rather than replacing them. Evaluate the quality of the decision ledger, not merely whether an integration connects.

How the decision-memory loop works

 developer + coding agent sessions
             |
             v
       passive capture
     redact -> classify -> extract
             |
             v
   Postgres decision ledger
 choice / rationale / rejected[] / files / state
        |                    |
        v                    v
 pre-task recall       scheduled synthesis
 veto + context        conflicts + drift
        |                    |
        '---------+----------'
                  v
        review / supersede / export
                  |
             git outcome signal

The diagram separates capture, storage, retrieval and judgment because each fails differently. A classifier can miss a decision. Extraction can invent a rationale. Retrieval can return a related but irrelevant veto. Synthesis can flag a legitimate change as a contradiction. A useful pilot measures every stage instead of treating “the agent remembered something” as sufficient evidence.

RoBrain versus simpler project memory

ApproachStrengthTypical failureBest fit
CLAUDE.md, AGENTS.md or editor rulesTransparent, reviewable in git, no serviceManual upkeep; rejected options and dates are often missingSmall or young repository with stable conventions
Chat or editor auto-memoryLow setup and personal continuityLocal to a user/tool; weak team governanceSolo work where cross-tool sharing is unnecessary
Generic vector memoryFlexible semantic recallChunks may retrieve prose without lifecycle or veto semanticsBroad knowledge recall beyond decisions
RoBrainStructured rejected alternatives, lifecycle, cross-tool store and synthesisOperational overhead and risk of polluted durable memoryMultiple developers, multiple agents and recurring architectural debates

RoBrain’s own guidance is refreshingly specific: if a project does not have multiple developers or tools, enough history for contradictions to accumulate, or repeated rejected proposals, a static rules file may be enough. That is a useful disqualifier. Memory infrastructure should earn its place by reducing rework, not by adding another database because “agents need memory.”

What is actually stored

FieldWhy it mattersReview question
DecisionStates the chosen constraint or approachIs it specific enough to apply without freezing unrelated work?
RationalePreserves the conditions behind the choiceIs the reason observed evidence, preference or speculation?
rejected[]Lets retrieval target options that should not be casually reintroducedDoes each rejection include a dated, falsifiable reason?
Files and provenanceConnects memory to its source and affected surfaceCan a reviewer trace the record back to a session or change?
LifecycleDistinguishes active, superseded and invalidated guidanceWho may change state, and is the replacement linked?
RelationsConnects conflicts, extensions and related decisionsIs the graph helping retrieval or merely producing noise?

A rejected option should not become an eternal ban. “Do not use Redis” may have been correct during a cost freeze and wrong after the workload changed. The durable record should include scope, date, owner, evidence and an expiry or review trigger. RoBrain supports supersession and invalidation, but teams must define who exercises those controls.

Self-hosted architecture and data boundary

The free self-hosted path starts Postgres plus the Perception service in Docker, then wires supported editors through MCP, plugins or hooks. According to the official site, decisions remain in the team’s Postgres and full file contents are not ingested; short session excerpts, file paths and decision metadata may be stored. Secrets are scrubbed at capture and ingest. However, the default extraction and embedding path can still call external model providers using the operator’s API keys.

ComponentData it seesOperator controlRisk to test
Editor hook or MCP integrationPrompts, agent turns and project context selected for capturePer-repository installationUnexpected capture from sensitive sessions
PerceptionCandidate turns and extracted decisionsSelf-hosted container and API authenticationMisclassification, unpatched service or exposed endpoint
Postgres/pgvectorDecision corpus, excerpts, embeddings and metadataTeam infrastructure, backup and retentionBroad access, stale records and backup leakage
LLM/embedding providerPayload required for extraction or vectorizationProvider choice; local models are supportedThird-party retention, residency and contractual limits
Rory Plans cloudCloud-tier processing and team dataVendor account and planVerify current terms, region, roles and deletion path

“Self-hosted” therefore does not automatically mean “no data leaves the network.” A fully local configuration using Ollama, LM Studio or vLLM can reduce outbound processing, but teams must verify the actual network trace and model configuration. Also protect database backups, API tokens, generated ledgers and observability logs; these may reveal architecture choices or past vulnerabilities even without source code.

Retrieval, veto scans and synthesis are different controls

The self-hosted Perception API exposes a deterministic POST /veto-scan that looks for literal mentions of active rejected options. This is predictable and inexpensive but can miss synonyms and indirect proposals. Supported integrations can add semantic retrieval for broader matching. At session start, an always-on summary supplies high-priority context. The scheduled robrain synth job scans the corpus for contradictions, stance drift and recurring entities; reviewers inspect results with robrain review.

MechanismWhen it runsGood atBlind spot
Always-on summarySession startStable high-level constraintsContext budget and stale ranking
Literal veto scanBefore a prompt/action in supported hooksKnown option names with deterministic behaviorAliases, conceptual equivalents and vague prompts
Semantic search/injectOn demand or via integrationRelated decisions expressed differentlyFalse matches and missing provenance in the agent’s interpretation
SynthesisManual or scheduled batchCorpus-wide drift and contradictionsRequires human review; not a real-time policy engine
Git outcome feedbackAfter reverts are observedDemoting decisions associated with failed outcomesA revert is an imperfect proxy for decision quality

How to read the VetoBench claim

RoBrain publishes VetoBench, a benchmark designed around a useful question: when a task invites an approach the team previously rejected, does the coding agent propose it again and cite the earlier reason? The official July 2026 results report zero rejected re-proposals for RoBrain across archived test runs, while no-memory conditions repeatedly resurfaced vetoed approaches. The repository includes prompts, retrieved context, responses and verdicts, which is stronger evidence than an uninspectable marketing percentage.

It is still a vendor-created benchmark with synthetic scenarios, selected models and a particular ingestion pipeline. It demonstrates that structured veto retrieval can work under those conditions; it does not prove production incident reduction for every repository. Re-run a representative subset with your model, language, rules, history size and integration. Include adversarial cases: renamed libraries, a veto that has expired, two teams with conflicting constraints, and a decision whose rationale contains a secret-like string.

A practical two-week evaluation

  1. Choose one repository. Prefer a codebase older than six months with at least two active developers and documented reversals.
  2. Build a gold set. Select 20 decisions: ten active, five superseded and five rejected alternatives. Record the authoritative issue, ADR or pull request for each.
  3. Warm-start carefully. Import only reviewed decisions. Do not turn an entire chat archive into trusted memory.
  4. Run paired tasks. Give the same 15 realistic tasks to an agent with and without RoBrain context. Randomize order and keep model/settings fixed.
  5. Review every capture. Measure precision, missing rationale, wrong file scope, secret redaction and time to approve.
  6. Test lifecycle changes. Supersede three decisions and confirm old vetoes remain historical without blocking the replacement.
  7. Simulate failure. Stop Perception, rotate a token, restore a backup and confirm editor hooks fail safely without losing development work.
MetricHow to calculateSuggested pilot gate
Capture precisionCorrect durable decisions / all captured recordsAt least 90% after review rules stabilize
Capture recallCorrectly captured gold decisions / decisions madeAt least 80%; investigate misses by integration
Veto hit precisionUseful warnings / all warnings shownAt least 80% to avoid warning fatigue
Stale-memory rateInvalid or superseded records surfaced as active / recallsBelow 5%
Repeated-rejection rateTasks that re-propose a known veto / eligible tasksMaterially lower than baseline
Review burdenMinutes spent reviewing per developer per weekLower than time saved from repeated investigation

These thresholds are starting points, not official guarantees. The business decision should use time saved and escaped rework. If the system prevents one costly reintroduced dependency but demands hours of weekly cleanup, its value depends on the cost distribution of those failures.

Governance: memory is shared infrastructure

RoleResponsibilityRequired control
DeveloperCreates decisions and flags incorrect capturesVisible provenance and easy correction
Tech leadApproves high-impact architecture memoryReview queue and ownership by subsystem
Security/privacyDefines excluded repositories and data classesRedaction tests, access logs, retention and deletion
Platform ownerOperates Postgres, Perception and integrationsBackups, upgrades, token rotation and monitoring
AuditorReconstructs why guidance changedImmutable provenance plus supersession history

Do not let passive capture silently establish policy. Label records as proposed, reviewed or authoritative; reserve automatic injection of strong vetoes for approved or high-confidence records. Segment projects and teams so a frontend experiment cannot become a company-wide prohibition. Add review triggers for dependency upgrades, incidents, regulatory changes and elapsed time.

Self-hosted versus Rory Plans cloud

The Apache-2.0 self-hosted edition provides the core decision system: capture, structured vetoes, lifecycle, synthesis, cross-tool retrieval, export and local operation. RoBrain’s official comparison says the Rory Plans cloud adds more automatic task-boundary injection, pre-commit conflict verdicts, team administration, a dashboard and richer conflict handling. Cloud access is tied to paid Rory Plans offerings rather than a simple standalone RoBrain price shown on the project page.

Before buying, verify the current live plan, included usage, overages, organization isolation, support, data controller, deletion process and export behavior. For self-hosting, price the less visible costs: Postgres, backups, model and embedding calls, upgrades, incident response and reviewer time.

Alternatives and when to choose them

OptionChoose it whenTrade-off versus RoBrain
ADR files plus CLAUDE.md/AGENTS.mdYou want git-native, human-authored decisions with minimal infrastructureStronger deliberate review; weaker passive capture and cross-tool proactive recall
Mem0You need a general-purpose memory API across applicationsBroader memory primitives; rejected alternatives may require custom schema/governance
Zep/GraphitiTemporal knowledge graphs and entity relationships are centralMore general graph model; more work to create coding-decision workflows
OpenViking or file-oriented context systemsYou want navigable project knowledge and explicit retrievalBroader context organization; RoBrain is more specialized around vetoes and lifecycle
Custom Postgres + MCPYou have strong platform capacity and unusual policy needsMaximum control; you own extraction, evaluation, hooks and maintenance

RoBrain is most compelling when the rejected alternative is as important as the chosen convention. If the actual problem is documentation discovery, code search or personal notes, a narrower tool may have lower operational cost.

FAQ

Is RoBrain a coding agent?

No. It is a memory and judgment layer connected to existing coding agents. It stores and retrieves decisions; Claude Code, Cursor, Copilot, Codex CLI or Hermes still perform the coding work.

Can a solo developer benefit?

Yes, especially on a long-lived codebase where old mistakes recur across tools. However, a maintained rules file or ADR folder may be enough. Pilot against that simpler baseline.

Does self-hosting keep all data local?

The database and Perception service can run locally, but extraction and embeddings may call configured external providers. Use supported local models and verify network traffic if full locality is required.

Will a veto prevent the agent from acting?

Not universally. Literal scans and integration warnings supply context; behavior depends on the connected tool and tier. Treat them as decision support unless you have separately tested an enforcement path.

How should incorrect memory be handled?

Reject or edit the capture, preserve provenance, and mark obsolete records superseded or invalidated. Track false captures as an operational metric rather than quietly deleting evidence of pipeline errors.

Is VetoBench independent proof?

No. It is a transparent, vendor-maintained benchmark with archived receipts. It is useful evidence and a reproducible template, but production adoption should depend on a repository-specific paired evaluation.

Sources and verification

Last reviewed July 26, 2026. RoBrain is evolving quickly. Confirm current integrations, commands, cloud terms, data processing and benchmark artifacts before production use.

Ready to try RoBrain?

Visit the official website to get started

Visit RoBrain

Quick Info

Added
5/27/2026
Published
5/27/2026
Updated
8/25/2026

Share This Tool

Have an AI tool to share?

Submit it to AI Dreamhub

Get your product in front of people actively exploring AI tools.

Submit Your Tool
Cursor

Cursor

Built to make you extraordinarily productive, Cursor is the best way to code with AI.

ai-codingfree
2780
GitHub Copilot

GitHub Copilot

GitHub Copilot is GitHub’s AI coding assistant across IDEs, GitHub.com, pull requests, CLI workflows, code review, and agentic development. It is best for developers and teams that want AI help inside existing repositories while keeping review, tests, and governance in the workflow.

GitHub CopilotAI coding assistantCopilot Chat
3060
Trae

Trae

Trae is your helpful coding partner. It offers features like AI Q&A, code auto-completion, and agent-based AI programming capabilities.

ai-codingfree
3700
MarsCode

MarsCode

MarsCode is an AI coding assistant and IDE-style development tool for code completion, explanation, debugging, and code generation. Current official metadata also points to Trae AI IDE, so the page should explain the product carefully instead of treating it as a static legacy listing.

MarsCodeTrae AI IDEAI coding assistant
6900