Open source · self-hosted · yours

Build collaborative agent experiences.

Merlin is a minimal base for agent apps. The agent loop, tools, UI, auth, and live state ship in one process. People and agents edit the same record, and every change is cryptographically signed.

  1. 01 · Loop

    Merlin ships a standard chat: tools, context, and an answer, with people and agents on one record. Pick the model, write tools in TypeScript or over MCP, and own the context window: you decide what the model sees on every turn. Adapt the base to the work, not the other way around.

  2. 02 · Record

    People and agents work on the same data, in real time — no copies, nothing overwritten. The base gives them one shared record: history is kept, every change carries a name, and you can undo any of it. Close the laptop; the work is still there.

  3. 03 · Surface

    Every screen is a view of the same record. Shape a board, a table, a calendar in your own components, and the agent acts on what it sees. The work lives once; every surface reads it.

  4. 04 · Audit

    People and agents change the same record, and every change is cryptographically signed into one history. You can see who made it and check it against your rules, so the history stands as its own evidence.

    • Signed history
    • Full audit trail
  5. 05 · Schema

    Every item in the record follows a schema you define. Add a field, change a type, or drop one — the same engine that keeps people in sync applies the change to every item, and a rollback is that change undone.

    • Agent-friendly
    • Effortless migrations & rollbacks
  6. 06 · Binary

    Your app is the database. One binary serves the UI, holds the keys, and relays signed commits. Every device holds a full replica: reads are instant, writes work offline, and a dead server refills from an authorized copy. Concurrent edits merge field by field. No database server, cache, or API tier to run.

    Powered by GoatDBRead the architecture
The kit

The design system is a base too.

Adapt it to your brand, not the other way around. Every surface on this page follows.

Colour
Type
Glyphs
Corners
Open the design system

The shape

Yours to break.

Merlin is a research project by the GoatDB team. It is pre-alpha and under active development — come over to GitHub and lend a hand. Interfaces, APIs, and behavior will change.

checkoutmain
loop.tsthe agent
context/per-turn assembly
tools/pdf · erp · stock
hooks/before-send
extensions/quote-kit
views/approval.tsx
brand.cssyour palette

The whole shape crosses the air gap in one bundle.