← Back to Leaderboard
CEndgame-Labs

Endgame-Labs/cerebro

A self-hosted RAG wiki that precompiles source-cited answers for agents

Engineering Health (Methodology)
A · 86/100
Maintenance Activity
● Updated today
Latest Release
v0.1.8
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption11/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCPCLI
Total Stars
★ 39
24h Growth
+19
7d Growth
+38
Forks
5

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

Endgame-Labs/cerebro Star History (2026-11-25 - 2026-12-04) DAILY STAR HISTORY (10-DAY D1 TELEMETRY) +38 in 9d · avg +4/day 43 22 0 2026-11-25: ★ 12026-11-26: ★ 12026-11-27: ★ 12026-11-28: ★ 12026-11-29: ★ 12026-11-30: ★ 22026-12-01: ★ 62026-12-02: ★ 132026-12-03: ★ 392026-12-04: ★ 39 ★ 39 11-25 11-29 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Cerebro is an article-first RAG knowledge layer rather than a drop-in database engine. It reads files, SaaS systems, databases, and MCP sources without writing back to them. Factoid, pinned to 0.1.35, turns records into short facts linked to source quotations. Cerebro then compiles facts into Markdown articles and refreshes the articles as new data arrives. Agents read the shared wiki over MCP and can query facts directly when an article falls short.

The article collection is the unit of configuration. A file such as agents/competitors/article.md declares evidence scope and a change heartbeat in YAML frontmatter, with writing instructions in the Markdown body. Generated articles carry identity keys, a compilation timestamp, and fact-ID footnotes. The Python package exposes cerebro.cli:main through Click and pins mcp==2.3.0 and pydantic-ai-slim[openai,anthropic]==2.69.0. The PostgreSQL extra uses psycopg 3 for ingestion; it does not establish PostgreSQL as the workspace store.

Key Capabilities & Differentiators

An operator approves the first proposed article list and, with a template, starts from a limited source read covering the last two weeks by default. The system can combine records from different sources, preserve conflicting evidence in the same article, and update article state as records change. Footnotes point to quoted source text, while v0.1.8 marks sentences that their cited facts do not fully support. This makes an article reviewable, not independently verified.

The default configuration uses open-weight models hosted by Fireworks for reading and compilation and Typesafe for decisions and sentence scoring. The v0.1.8 paths include running all jobs on Anthropic or OpenAI, or using signed-in Claude Code or Codex without a model API key. Daily spending caps and pre-run estimates help manage compilation costs. Four small synthetic-data examples span 34–40 records and $0.69–$1.95 for build plus evaluation; they establish neither production cost nor throughput.

Trade-offs & Limitations

Compared with direct SaaS connectors or a retrieval-first RAG stack, Cerebro performs much of the synthesis before anyone asks. That is useful when several agents repeatedly need the same account, issue, or competitor context: they can reuse a reviewable article rather than reconstructing the answer each time. The cost moves to background ingestion, extraction, and recompilation. Freshness depends on those jobs and their evidence scope, so use the source system for decisions that depend on immediate state.

Markdown makes the compiled output easy to inspect and retain, but teams still need to configure connectors and article scopes, review citations, and handle conflicting records. Fact queries help when an article misses something, but they cannot recover data that was not ingested. Before a team rollout, verify how source permissions carry over to the shared wiki and fact queries, test refresh lag and cost on representative data, and check workspace upgrade behavior. MIT keeps software licensing straightforward; it does not resolve source-data permissions or provider terms.

Hardware & Deployment Guide

Install from the repository with Python 3.13 and uv using uv tool install .; Cerebro itself is not published on PyPI. Create a workspace with cerebro init, configure the relevant source credentials and model access, and keep cerebro serve running for refreshes. The container is designed to serve a workspace over HTTP. Its multi-stage build uses a frozen uv.lock, includes the PostgreSQL extra, and moves from a full Python 3.13 build image to a slim runtime image. Treat workspace data as persistent and review the changelog before updating: pre-1.0 versions may reject older workspaces.

Self-hosting places the service and workspace on your infrastructure, but the listed model routes still depend on external services; a fully offline setup is not established. The hosted routes do not require local model GPUs. Budget host resources for ingestion, parsing, workspace storage, and concurrent jobs. Release v0.1.6 added Claude compilation, v0.1.7 enabled article refresh during long initial reads, and v0.1.8 added single-provider and signed-in plan routes, sentence-level warnings, and pre-run cost estimates.

Data flow: Factoid 0.1.35 extracts short statements tied to source records and quotations before article compilation.
Collection configuration: Markdown agent definitions declare evidence filters such as entity, source, and time window in YAML frontmatter.
Retrieval: Agents read shared articles over MCP or fall back to cross-source fact queries; the CLI supports source and text filters.
Verification: Fact-ID footnotes expose source quotes, conflicting records can appear side by side, and v0.1.8 flags sentences that are not fully supported.
Cost controls: Daily spending caps and v0.1.8 pre-run estimates complement selectable hosted-provider and signed-in CLI paths.
Packaging: The Python 3.13 Docker build uses a frozen uv lockfile and includes the optional psycopg dependency for reading PostgreSQL sources.
Best For

Teams whose agents repeatedly need the same cross-source account, deployment, or competitive context, and whose reviewers need to trace statements back to records.

Skip If

You need immediate source state, a general-purpose retrieval backend, or verified offline inference and source-level access controls before adoption.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPCLI
git clone https://github.com/Endgame-Labs/cerebro && cd cerebro
uv tool install .
cerebro init ~/wikis/team-wiki

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
cerebro ★39+38PythonMITA self-hosted RAG wiki that precompiles source-cited answers for agents
Scrapling107.9k+1.8kPythonBSD-3-ClausePython HTTP and browser crawlers that turn websites into RAG-ready Markdown
crawl4ai88.5k+408PythonApache-2.0Async browser crawler that turns web pages into Markdown and JSON for RAG
OpenViking43.2k+255PythonAGPL-3.0A directory-scoped RAG database for inspectable agent knowledge and memory

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Endgame-Labs/cerebro.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Endgame-Labs/cerebro Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about cerebro

How does an existing agent retrieve knowledge from Cerebro?

Connect the agent as an MCP client. Use compiled articles for recurring questions and query the fact layer when an article is missing or incomplete. The CLI exposes the same article-first workflow with direct fact queries such as cerebro tools query, where you can filter by source and matching text.

Do I need a GPU, and how should I size the host?

The hosted-provider path does not require a local GPU for model inference. Start with a CPU host and size it for the source volume, concurrent jobs, and workspace growth. Measure initial ingestion and steady-state refresh separately; they have different workloads. There are no published hardware minima or throughput figures in the supplied release and deployment details.

Can we use Cerebro commercially and keep sensitive data on premises?

MIT permits commercial use and self-hosting; retain the applicable copyright and license notices when redistributing the software. The license does not govern source-data access or model-provider processing. Review connector permissions, provider terms, and where source text or derived facts are sent before connecting sensitive systems.

When is Cerebro a better choice than direct connectors or conventional RAG?

Choose Cerebro when multiple agents repeatedly need the same cross-source synthesis and reviewers need to trace statements back to records. Direct connectors are a better fit for live source lookups; a conventional retrieval-first RAG stack is a better starting point when questions are mostly novel and you do not want to maintain article collections. Pilot with representative questions and compare citation quality, freshness, and total model spend.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Endgame-Labs/cerebro? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Endgame-Labs/cerebro on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare