AIrchivist

Open source · self-hosted · early

Your agents forget. Give them one memory, and someone to keep it in order.

AIrchivist is a knowledge engine you run on your own machine. Your coding agents propose what they learn; an archivist files it, by one rule, in one place; every agent you connect then reads the same thing.

The Archivist panel in a terminal: two Brains running on 127.0.0.1, each with its port, its number of items, what waits in the Inbox and one proposal that waits for the owner.
The panel, in a terminal: one Brain per project, each on its own port, and what waits for you.

Agents propose. The archivist files. Everyone reads.

Every tool keeps its own notes, and none of them knows what the other learned yesterday. AIrchivist is the one place, with one door.

  1. An agent proposes

    Claude Code, Codex or any MCP client connects with a token of its own and a level: read, propose items, propose changes. No agent writes directly.

  2. The archivist files

    One model call decides the place, the themes and the links, by the PARA kinds: projects, areas, resources, archives. When it is not sure, the item waits in the Inbox with a question.

  3. You stay in charge

    You approve what an agent proposes, unless you marked it trusted. Every change has an author, a receipt and a line in the journal, and can be undone.

  4. Every agent reads

    Twelve read tools over MCP: search by words and by meaning, places, items, links, what changed lately. What one agent learned, the next one finds.

The moment after you give it something

You can fill a Brain yourself too: a note, a file, a folder, a web address. The answer says where it went, in the archivist's own words.

$ archivist capture note research --title "Rye bread hydration" \
    --text "A rye loaf at 80 percent hydration needs a tin; shape with wet hands…"
Filed: « Rye bread hydration » in Resources › Bread baking (a new place) · themes: bread-baking
Receipt: A note on shaping and proofing an 80 percent hydration rye loaf, filed in
         Resources › Bread baking. New place created.
Journal: created by owner; filed by the archivist

$ archivist capture file research sourdough.md
Filed: « Sourdough Starter Schedule » in Resources › Bread baking · themes: sourdough, baking
Receipt: A reference on sourdough starter care and loaf proportions, filed in
         Resources › Bread baking, linked to 1 item.

$ archivist capture file research sourdough.md
Already in this Brain: « Sourdough Starter Schedule ». Nothing was added.

From a real run with a real model, on a throwaway Brain; the project name is shortened here. A note took about three seconds, a file seven. With no model key nothing is lost: the item waits in the Inbox and is filed when a key arrives.

A panel in the terminal, and the same as plain commands

Type archivist. Create a project, give its Brain a model key, create a user for your agent, copy the block into the agent's configuration. Everything the panel does, a command does too, with --json for scripts.

Every picture is a real screen, taken from the running panel. More of them, loop by loop, are in the devlog.

What is in the box, and what is not

This page says what works today and nothing more.

It does

  • Keep everything of a Brain in one folder: a SQLite database, the originals of your documents, the backups.
  • Speak MCP over HTTP: twelve tools that read, two that propose, a token and a level for each client.
  • File with your own model key, about half a cent per item by its own count.
  • Run several Brains on one machine, one per project, each with its users.
  • Keep a journal of every change by author, with restore points; make and check backups.

It does not, yet

  • It is local only. It listens on 127.0.0.1 and refuses anything else. It is not hardened for a network: do not put it behind a proxy.
  • Brains on one machine are separate folders and processes, not isolated from each other.
  • It files with one model provider.
  • The panel was tried in one kind of terminal, on Linux.
  • It has no web interface, no accounts and no hosted version.

Start it

You need Python 3.12 or 3.13 and uv. Nothing leaves your machine except the calls to the model provider, with your key.

$ git clone https://github.com/sonixz/archivist
$ cd archivist
$ uv sync --locked
$ uv run archivist             # the panel: n creates a project and its Brain
$ uv run archivist status      # the same, as plain text

In a Brain: 2 then k gives it a model key, 4 then n creates a user and shows the block to paste into your agent, a captures something. ? lists the keys of any screen.