Skip to content

Releases

Cerebro 0.1.7

Choose a tag to compare

@dustinlarimer dustinlarimer released this 02 Dec 09:00
e8bb98b

Cerebro 0.1.7 keeps your articles fresh during a big first read, explains its first-run list, and reads email and Salesforce text more cleanly. Gmail now checks its certificate before it logs in.

What's new

  • Articles refresh during a long read. A pass reads for about 15 minutes, writes articles from what it read, and the next pass reads on. Before, a first read of a large CRM held every article back until it ended, which could take a day. Off a terminal, a pass prints its progress each minute, and cerebro status shows how many records wait to be read.
  • Curators wait like writers. A curator that only new evidence wakes waits 4 hours after its last run, so a long read doesn't run it every pass. An edit to its file, or a proposal you accept, still runs it at once.
  • The first-run list explains itself, and keeps the screen. An item left unticked shows why, and your own people and projects are left unticked only among outside parties, such as customers. What the curators left out prints below once you approve, each line naming its collection, so the checklist keeps the whole screen.
  • One bad tool call no longer ends a run. A model gets 3 tries to fix a call that doesn't fit its tool. A curator that still stops says why in plain words, and the command to try again.
  • Run one article past the daily budget. cerebro agents run <id> <article> --approve-overage and cerebro compile --article <id> --approve-overage run that one article past today's compilation budget. Each agent in it still stops at its own budget, and nothing else ever takes the flag.
  • A refused call costs nothing. When a provider refuses a call outright for your key, credit or spend limit, it no longer counts toward your spend.
  • Cleaner text from email and Salesforce. Web links in email read like mailto and tel links, Salesforce HTML emails reach facts as text, and list emails are cleaned like any other. Gong calls now reach Salesforce articles.
  • Gmail checks its certificate. The Gmail source now checks the server's certificate and host name before it sends your app password. On a network that inspects TLS, such as a company proxy, set SSL_CERT_FILE to its certificate authority.
  • An empty article says what to do. When an article's agents find nothing to write, its copy in articles/ says so and gives the command that shows what they read.
  • Smaller fixes:
    • the keys screen links where to make each provider's key;
    • a pass says how many facts it withdrew;
    • a SQL footnote names the query it came from;
    • a folder named cerebro-wiki registers as cerebro-wiki.

Upgrading

Reinstall with uv tool install .. Workspaces made with 0.1.6 open as they are.

  • If an agent file's articles line sets summary:, replace it with text_only: true, and add keep: to load only the passages you need.
  • In a gtm workspace, copy the new accounts/curator.md and people/curator.md from the template to get the first-run fixes.
  • If an article's salesforce_id holds a 15-character id, write its 18-character form in its place. A pass names each one.
  • If a service or a script runs cerebro serve --yes without --once, drop the flag. It did nothing there, and now it's refused.

The CHANGELOG lists every change.

Known limits

  • The long-read pause was measured on a stand-in, not yet on a real 44k-record CRM.
  • A signature whose only contact detail is a short link, such as Book a meeting<https://…>, still loses the forward under it.
  • --approve-overage is command-line only. MCP and the JSON API have no tool that runs a named article yet.

Thanks

Thanks to @kkurian and @og-orca for their first contributions.

Cerebro 0.1.6

Choose a tag to compare

@dustinlarimer dustinlarimer released this 01 Dec 23:01
5e1355d

Cerebro 0.1.6 writes articles on Claude. A refused key or a cut-off reply now stops with a line that says what to do, and a new agent that reads nothing says why.

What's new

  • Compile on Claude. Point the compilation job at provider: anthropic and keep your key with cerebro secrets set anthropic. effort sets Claude's own effort, and each run asks Claude to cache what its turns repeat. On a real run of Claude Opus 5.5, the third pass read 12,466 of its 15,831 input tokens from cache. Compiling on OpenAI passed its first real run too. Fact extraction and decisions stay on Fireworks, OpenAI or Typesafe.
  • A cut reply never lands half-written. On any provider, a reply that stops at the model's output limit no longer lands as a finished article. The run says what to change, or lands the earlier draft and says a later reply was cut.
  • A refused key or a spent balance stops at once. When a provider refuses your key, or says your credit or spend limit is spent, no more calls go to that host for the pass, with or without a gateway. Calls to other hosts go on, and each article left waiting says which host refused.
  • Current Claude prices. Fable 5.2, Opus 4.7 and Opus 4.6 now have prices, so a daily cap no longer refuses them. Picking Anthropic in init starts on Opus 5.5.
  • A new agent that reads nothing says why. When an about: this line finds no fact because its article has no keys, its evidence says so and gives the command that works at that moment.
  • The lantern-lease example builds on its first run. All four articles are written from the first run, and they cite the document register.
  • A coding agent can set up other providers. The setup guide asks which providers you want and shows the models: block to edit. Paste the line in the README into Claude Code, Codex or Cursor.

Upgrading

Reinstall with uv tool install . to bring in the Anthropic library. Workspaces made with 0.1.5 open as they are.

  • In settings.yaml or an agent file, change claude-haiku-4-5-20251001 to claude-haiku-4-5. Replace claude-sonnet-4-5, which Anthropic has retired, with another model such as claude-sonnet-5-5. Under a daily cap, either old id is refused as unpriced.
  • If you copied the lantern-lease example, copy its agents/ files and sources/register.yaml again.

The CHANGELOG lists every change.

Known limits

  • On Haiku 4.5 at xhigh or max effort, the first-run list keeps the order its proposals were filed in.

Cerebro 0.1.5

Choose a tag to compare

@dustinlarimer dustinlarimer released this 01 Dec 08:53
5ca27a9

Cerebro 0.1.5 reads what you declare, builds each article from the facts that carry its keys, and puts a first list of articles in front of you within minutes of cerebro init. A change you state in full lands at once.

What's new

  • Your first list of articles comes in minutes. init asks how many days to preview, 14 by default. The curators propose from live lookups in your sources, and the list comes up in about 5 minutes. Once you approve it, Cerebro reads only what the approved articles need, and the next pass reads the rest. On a real Salesforce, Gong and Slack workspace, 50 articles were written 36 minutes after approval.
  • Each article reads the facts that carry its keys. A source reads its own ingest: range, the last 90 days by default for most sources. An agent's facts line says what it is about, which source and how far back its window goes. matching ranks by meaning and drops nothing.
  • What you state in full lands at once. cerebro admit and cerebro archive apply in the call, and so do admit, edit, archive, merge and split over MCP and the JSON API. A curator answers what other curators propose for its collection, and a proposal you were shown stays yours.
  • An article built from parts runs as one writer and lands only as a whole. It runs on the heartbeat in its article.md. Each part's draft is kept with what it read, so a retry runs only the parts that didn't finish or whose evidence moved.
  • Two daily caps, checked before every model call. Fact extraction and article compiling each get their own cap, $25 by default, and each resets at midnight in your time zone.
  • Facts say where they stand. A fact reads superseded, ended, corrected, contradicted or retracted, as Factoid gives it. A writer is told to say when two facts disagree, and to give both sides.
  • Faster, finer sources. Salesforce logs in once a pass, lists only what changed and reads in batches. On a real org of about 44,000 records, its check went from 693 to 27 seconds. Gong's calls question lists single calls, and a files source answers file with a file's text.
  • A coding agent can set it up for you. Paste the line in the README into Claude Code, Codex or Cursor. Your agent installs Cerebro and builds a first wiki with you, and you type your keys into your own terminal.
  • Thirteen examples, four of them new: a sales team, a field engineering team, a product team and a marketing team.

Upgrading

0.1.5 starts each workspace anew. It needs Factoid 0.1.34, which uv tool install . brings in.

  1. Move .cerebro/cerebro.sqlite and .cerebro/factoid/ aside, then run cerebro trust in the folder. The next run starts anew. What people told Cerebro, their decisions on proposals and app records such as notes do not carry over, and every record is read into facts again.
  2. Update your source files, agent files and settings.yaml. The biggest changes:
    • daily_usd becomes extraction_daily_usd and compilation_daily_usd.
    • Each subagent's heartbeat: moves to its article.md.
    • A writer's - facts: gains about: this, and each article needs the keys of what it is about.
    • In a files source, notes: is files:.
    • into:, - held: {}, mentions: and relation: are gone.

The Upgrading list in the CHANGELOG gives every rename and every step.

Known limits

  • On a large CRM, the first full read takes many hours. Faster reads come next.
  • A full read followed by compiling has not yet run end to end on real data. The longest real read so far was stopped by hand after 74 minutes, with no failed record.

Cerebro 0.1.4

Choose a tag to compare

@dustinlarimer dustinlarimer released this 29 Nov 15:54
710a342
  • cerebro serve misses an edited agent file until you restart it. It now reads agent files again before each pass, so a file you save runs on the next pass, unless its heartbeat is manual. A change to extensions.py still needs a restart.
  • A fact or record you take back still shows as live. A line that cites only what you took back comes out on its agent's next run, and its footnote reads retracted in place of its source and quote. The judge and the writer are told it backs nothing, and a read of a record you took back says record <id> was retracted.
  • A note you take back still shows in Notes. Notes has a new delete_note, as delete_note { "id": "2026-11-20-export-plan" }, and any note you take back counts as deleted. A deleted note is gone from every listing and query, cannot be revised, and its facts are taken back.
  • A query of an app's records still lists a record you took back. A query of an app's records and Workspace.records now leave out what a retract took back, and say how many. Notes has a new browse_notes that lists a collection as a folder does, without the notes' text.
  • A field's fact carries the time Cerebro first read it, not its record's date. A field's fact is now dated by its record's time, and the same value at a new time adds no fact. The gtm calls and opportunities writers and the people overview now read every fact of their article, so a deal untouched for a year still shows its fields.
  • A curator's held list leaves out a record's fields. A held line now takes fields, as - held: { fields: [status, due] }, and shows the curator each named field that has a value.
  • An article whose one-article agent you renamed or removed lingers. cerebro status now names it leftover, with the command that takes it out. Where no curator keeps its collection, cerebro archive <id> takes it out at once.
  • An admit refused because a key found an article does not say which key. The line now names the key, as admit: things/alder is in the working set already, and holds the key code T-Alder.
  • A record binds to an article by one shared key, even when a stronger key tells them apart. Binding now follows the rule the admit check uses, so two things with one domain and two ids stay two. The first run's list and cerebro review count the records an admit would bind by the same rule.
  • A Salesforce task, event or email binds to a contact's article as if it were the contact. They now only carry their parties' addresses, as Gmail does. Their facts still reach the people, but their fields land only on what they are logged on.
  • An admit can file an article whose name or key holds a saved secret. Such an admit is now refused, and so is a link whose key holds one, with a line that says what to change.
  • The command line prints a secret whole when Cerebro kept it before you saved it. cerebro status, cerebro eval, cerebro tools, and the lists of the first run and cerebro review now mask what they print with every secret you saved, as MCP and JSON API replies already do.
  • A secret you save after Cerebro kept it can reach a model partly shown. What an agent reads now masks the whole value before any line is cut to fit. This covers held records, the reasons on proposals and admits, quotes and titles.
  • cerebro sources check fails a working database source. It now opens a database source read only, with a query that reads no table, and says the database opens, read only or why it does not. Once Cerebro reads a Postgres login, it masks each password in it wherever it appears. A password under 6 characters is never masked, so use a long one.
  • A failed model call keeps none of the provider's reply. A failed call to the decision model now ends with what the provider replied, masked and cut at 300 characters, after The reply said:. You can see why a request was refused.
  • A redirect from the facts layer's model fails as factoid failed: 'data', with no advice. The call now fails with a line that names the status and says to check providers in settings.yaml. Cerebro does not follow the redirect, so your key stays with its host.
  • Near-match linking hides a failed decision call. When the decision model fails to judge a near match, the pass now says so in one line. Each fact keeps its other links.
  • A query on a field that no article fills says to check the field's name. It now says owner on projects holds no value. A field no article has still says to check its name.
  • You cannot run a workspace as of a set day. Set CEREBRO_TODAY, as in CEREBRO_TODAY=2026-11-20 cerebro serve, to run a demo or a test as of that day. Time ranges, the dates writers and the judge are told, and a first run's 14 days count from it, while schedules, leases and recorded times keep the real clock.
  • The first run's screen leaves copies in your scrollback, loses headings and miscounts. A resize no longer clears the screen into your scrollback, and a list you scroll shows each group under its heading. A stage's complete count now counts only its own work.
  • A frontmatter value with parentheses comes out escaped. A value such as kind: Beagle (dog) is now written as it reads. A character a renderer reads as markup, such as <, is still escaped.
  • A Gong call's title keeps its HTML escapes. A title Gong sends as R&amp;D sync now reads as R&D sync in the record's title and text.
  • The docs leave four small questions open. They now say that grounding does not check an article's length, how to run cerebro eval on a suite from another folder, and how to check on a long serve --once from another shell. They also say a scheduled run that fails tries once more on the next pass.

Upgrading

  • In a gtm workspace, copy calls/article.md, opportunities/article.md and people/subagents/overview.md from <clone>/src/cerebro/templates/gtm/agents/ over the files of the same name in your workspace's agents/. This replaces any edit you made to them.
  • If you edited one of those files, keep yours and change its - facts: { window: last_365_days } line to - facts: {} instead.
  • The next pass runs each of those agents again on its articles, since its file changed.
  • Field facts Cerebro read before the upgrade keep the date it first read them. A field gets its record's date once its value changes.
  • An app of your own that read retracted, collections or recent from a query of its kind finds them gone.
  • A row of the mcp-requests log that an older Cerebro wrote for a tell keeps the tell's words after you take it back.

Cerebro 0.1.3

Choose a tag to compare

@dustinlarimer dustinlarimer released this 28 Nov 00:46
5027045

A faster first run, model calls that wait out slow replies, and grounding that marks weak claims instead of cutting them.

What's new

  • A faster first run. Each curator runs once, side by side, on the last 14 days of your sources, and proposes what clearly matters. What you approve is built once, from those 14 days and from the older records it binds. cerebro serve reads the rest on its next passes. The first run no longer asks what you want to see first, and cerebro serve --see-first is gone.
  • Grounding marks weak claims and never cuts. A judge scores each sentence from 0 to 1 against the facts it cites, and the writer gets one try to fix the weak ones. A sentence still under 0.6 lands with a footnote that says it is not fully backed. Set min_grounding in settings.yaml, or in an agent's front matter.
  • Model calls wait out slow replies. Replies stream, so a long reply finishes. retries on a model sets how many times a timeout, a rate limit or a server error is tried again, 3 by default. Each try is checked against your cap.
  • No collection gates another. Each source binds records by an article's own keys, so a deal admitted without its account still gets its records.
  • A name alone no longer binds a record. A record that shares only a name with an article stays off it when its email, domain or another key differs.
  • A retract holds. A note you retract stays retracted when an app saves it again, and a retract that stops partway finishes on the next pass. Cerebro takes out the lines whose every cited fact you took back.
  • Clearer footnotes. A footnote quotes each record under its own name. A writer is told which article it writes, and a stray [1] goes back to it.
  • Clearer errors through a gateway. Only a 401, 402 or 403 stops the pass. A 400 fails just that call, and each failed call says what to do.
  • Factoid 0.1.30. When you edit a record, the sentences you left alone keep their facts.
  • Salesforce. Each account, contact, user and deal is read by its own id, with the tasks, events and emails logged on it. Two new questions find an account's deals past their close date and those closed in the last days. The gtm curators ask them.
  • Smaller fixes. Two sql lines on one source keep both lines' rows. An empty column stays out of a row's text. A killed pass gives up all its leases. cerebro status shows grounding and splits a run's cost into writing and checks.

Upgrade

From your checkout:

git pull
uv tool install --reinstall .

Workspaces made with 0.1.2 open as they are. This release doesn't change how a workspace is stored. A few things need a step from you:

  • If settings.yaml sets compile: { repair: ... }, delete it, or every command stops. If you copied prompts/repair.md, delete it too.
  • If sources/salesforce.yaml sets opportunities.closed_since, delete it.
  • If you copied rules or unwritten with cerebro prompts eject, eject them again for the new words, then redo your edits.
  • A gtm workspace keeps its old agent files. The changelog says how to copy in the new ones and keep your edits.
  • A subagent with no model: now counts at the compilation model's price, which may be more than before.
  • Some agents run once more after the upgrade, on the first pass their cooldown allows. Nothing is doubled or lost.

Full changelog: https://github.com/Endgame-Labs/cerebro/blob/main/CHANGELOG.md and v0.1.2...v0.1.3

Cerebro 0.1.2

Choose a tag to compare

@dustinlarimer dustinlarimer released this 27 Nov 18:56
752418f

Cleaner email, steadier grounding, and clearer output.

What's new

  • Email reads cleaner. Salesforce email and tasks logged from email are cleaned the way Gmail's are, so quoted replies, forwarded headers and signatures no longer become facts. A forward with nothing written above it is kept whole, since it may be the only copy of a customer's words. Links and inline images lose their markup, so an address or a number reads as written.
  • Short replies and labels survive. A sentence under a short sign-off such as "Thanks!" is kept. Grounding keeps a short label over a list, such as "Your side (Dana Wu):", when the facts under it hold its names and figures.
  • Your decisions hold. Key names in an admit or a link are read as your sources write them, whatever their case or spacing, and a link you made holds under any spelling of its key. A curator carrying out your yes is recorded as its own act, citing your decision.
  • Fields stay with their text. A run cut short by its budget keeps the fields it set only when some of its text stands.
  • Clearer replies and output. Over MCP, a find or query that matches nothing says why, and the waiting note counts what waits for you, as cerebro status does. A run's warnings are kept for what you must act on, its last line names what waits for you, and plain output leaves out counts of zero.
  • A better gtm template. An account's stakeholders read as sentences with working links, the calls article reads a call's account and attendees whole, and its agents look up facts the way the query tool expects.
  • First runs say more. Discovery numbers its rounds, and guided init says a full run can take an hour or more on a busy workspace.
  • Steadier tests. Three tests that failed now and then are fixed.

Upgrade

From your checkout:

git pull
uv tool install --reinstall .

Workspaces made with 0.1.1 open as they are. This release doesn't change how a workspace is stored.

Full changelog: v0.1.1...v0.1.2

Cerebro 0.1.1

Choose a tag to compare

@dustinlarimer dustinlarimer released this 25 Nov 23:40
v0.1.1
ab9ba97

A small release that makes Cerebro easier to start.

What's new

  • A shorter start. The README's Try it is now four lines: clone, install and cerebro init. The guided init asks for the rest, then runs a first pass.
  • A plain word on updates before 1.0. The README now says what an update can do to a workspace, and what carries over.
  • Tests pass on a tagged release. One test failed when run on the release tag itself. It now passes.

Upgrade

From your checkout:

git pull
uv tool install --reinstall .

Workspaces made with 0.1.0 open as they are. This release doesn't change how a workspace is stored.

Full changelog: v0.1.0...v0.1.1

Cerebro 0.1.0

Choose a tag to compare

@dustinlarimer dustinlarimer released this 25 Nov 23:03
v0.1.0
934e41b

The first release of Cerebro. Cerebro builds a wiki from your sources and keeps it current. Agents you write in markdown turn your notes, mail, calls and tickets into articles where every sentence cites the fact behind it. Claude, Cursor or any MCP client can read the wiki and tell it what changed.

What's in it

  • Sources: local files, calendar, GitHub, Gmail, Gong, Granola, Linear, Salesforce, Slack, SQLite or Postgres, and any MCP server. Cerebro only reads them.
  • Facts: Factoid pulls each fact out of your sources and keeps the record it came from.
  • Articles: agents write each article from those facts. When new facts arrive, only the agents they affect run again.
  • Curators: decide which articles exist, and propose merges, splits and archives. You approve them in cerebro review, or let a curator act on its own.
  • MCP: your agents find, search and read articles, tell the wiki what changed, and approve proposals.
  • A spending cap: you set a daily budget, and Cerebro checks it before every model call.
  • A template and an app: the gtm template for a sales team, and a notes app that shows how to build on Cerebro.

Try it

You need Python 3.13, uv, a Fireworks key and a Typesafe key.

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

init walks you through a template, your model keys, your sources and your AI tools, then runs a first pass. The quickstart goes step by step.

Before 1.0

Cerebro is at 0.1. Before 1.0, an update can change how a workspace is stored. When that happens, Cerebro tells you and you start a new workspace from the same sources. Cerebro never changes your sources, but facts you told it and decisions you made in the old workspace don't carry over.

MIT licensed.