Archipelago
# Archipelago
[](https://github.com/AlexReiner98/archipelago/actions/workflows/tests.yml)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="brand/hero-dark.svg">
<img alt="Agent memory for human brains: islands drawn in stacked rows, the water opening round the title and its line, your agent's plans and decisions as a map you read, correct, share." src="brand/hero-light.svg">
</picture>
**If you're going somewhere uncharted, you should make a map. Archipelago is a map that draws itself while you work, so you and your agents never get lost.**
Agent memory for human brains: your agent's plans and decisions as a map you read, correct, share.
*Early: built and used daily by its author; expect rough edges.*
- **Make a plan:** Your agents make plans you can see on the map.
- **Work through it:** Watch agents work through the map, keeping it up to date so you don't have to.
- **Customize:** Tell your agent any problem you want to solve, and watch it create custom types, rules, views, styles, and more to model it clearly.
- **Never forget:** Every change is saved. You and your agents can look back and see every step you've made so far.
- **Share:** Collaborate live with your team, or publish for all. Anyone with the link can add it to their own map in a click.
- **Automate:** Turn your map into a machine that acts. Automations reach into your programs or the web. Run them on a schedule, or respond to something changing on the map.
- **Own your data:** Open source, MIT, and a database you can download any time.
The site is [archipelago.tools](https://archipelago.tools/?ref=github).
## How it works
Archipelago is a small unopinionated core, the rest is yours to shape.
**People stay in control.** Agents do much of the work, and you decide what
needs your approval. Every change records the source of authority, and what
is applied can be undone. [You stay in charge](https://archipelago.tools/in-charge?ref=github)
**The log is the truth.** Every change is added to one log and never
rewritten. Undo, history, live updates and backups all read the same record.
[docs/log.md](docs/log.md)
**Everything is an item, every item has a type.** Every type extends one of
seven kinds. Because Archipelago is built around those kinds, what works on
the types we ship works just as well on a type you add.
**Plugin architecture.** Packs are where opinion enters the system. Create a
pack with the item types, link types, view styles, and features you need. A
type, view or rule of yours works like the ones that ship.
[Write a pack](https://archipelago.tools/write-a-pack?ref=github)
**One surface for people and agents.** You and your agents use the map
through the same tools. What an agent is told is kept on the map, where you
can read and change it. [The agent tools](https://archipelago.tools/tools?ref=github)
**One way to read.** A query is a filter, a walk and a limit, and a view is a
query with its layout. You and your agents read the same query.
## Connect your agent
Archipelago runs for you at
[app.archipelago.tools](https://app.archipelago.tools): there is nothing to
host. Ask your agent:
> Install Archipelago from https://app.archipelago.tools/connect/install
Or paste one line in a terminal. On Windows (PowerShell):
```powershell
irm https://app.archipelago.tools/connect/install.ps1 | iex
```
On macOS or Linux:
```bash
curl -fsSL https://app.archipelago.tools/connect/install.sh | sh
```
It connects Claude Code, Codex and Cursor where it finds them, and opens your
browser once to sign in to your workspace on archipelago.tools; with no
account yet, choose **Start a workspace** there.
ChatGPT and Grok Bot are connected in their own apps; the
[install page](https://app.archipelago.tools/connect/install) says how. From
then on each session starts on your map, handed the open work the sessions
before it left there and why each piece needs attention. For a server of your
own, the same page is at `/connect/install` on it.
Then say:
> Put this project in Archipelago, with the three things I am working on as
> tasks, and tell me what you would do first.
Your tasks appear on the map right away. To take anything back, open
**Changes** and choose **Undo**. Any other MCP client works the map at
`/mcp` on the same server.
## Host it yourself
Only if you want to run your own server.
Archipelago is one Node 24 server and a persistent disk, MIT licensed, with
everything included. The database is embedded; for a team, keep the maps on a
Postgres server instead.
```bash
git clone https://github.com/AlexReiner98/archipelago.git
cd archipelago
npm install
npm start
```
Open `http://127.0.0.1:3100`, go to **Workspace** and type your name under
Owner. To look around first, `npm run demo` opens a map of Archipelago itself
on port 3200, its data kept apart.
To connect a project to your own server, with the hooks and working rules in
the project's own files, run this in its folder with the server running:
```bash
node -e "fetch('http://127.0.0.1:3100/connect/setup.mjs').then(r=>r.text()).then(t=>import('data:text/javascript,'+encodeURIComponent(t)))"
```
It lists what it will write (`.mcp.json`, a few hooks, working rules in
`CLAUDE.md`) and asks first. Add ` -- --dry-run` to only see the list, or
` -- --remove` to take it out.
## Read on
- [Host it yourself](https://archipelago.tools/self-host?ref=github) and
[Hosting](docs/reference.md#hosting): every setting and limit.
- [Reference](docs/reference.md): every screen, tool, view, setting and limit.
- [Agents held to the map](docs/agents.md): how an agent is told, checked and
reconciled.
- [Packs](docs/packs.md): the manifest, key by key, and
[docs/layouts.md](docs/layouts.md): layouts and the sandbox.
- [The log](docs/log.md): what is stored, and how everything else is read
from it.
- [Glossary](docs/glossary.md): the one word for each idea.
- [CONTRIBUTING.md](CONTRIBUTING.md) to work on Archipelago itself. It is
published as it is, with no promise of answers or fixes.
- [SECURITY.md](SECURITY.md) to report a security problem in private.
Copyright 2026 Aperture Design Tools Inc. [MIT License](LICENSE).
TDQS
Scored across 10 tools
Several tools appear to do the same thing: change claims to be the only way to modify the map, while revise also says it can change/correct/undo the map, and undo duplicates revise's undo action. query, report show, and draw all overlap around reading/rendering views, while capture, change, and report overlap around recording events or map state. Agents will struggle to choose correctly without trial and error.
All tool names are lowercase single imperative verbs, so the naming style is consistent and readable. The main weakness is that several are broad meta-verbs (query, change, revise) rather than predictable verb_noun names, making their semantics less obvious despite consistent formatting.
Ten top-level tools is a reasonable count on the surface, but each tool is actually a mega-dispatcher bundling many actions, so the effective tool surface is much larger and poorly scoped. The count hides substantial complexity rather than reflecting a clean, well-bounded set.
The surface broadly covers the apparent domain: reading/searching the map, creating/updating/linking/archiving/restoring items, sessions, reporting, publishing, proposals, backups, and drawing. Some lifecycle edges are unclear or buried in dispatcher actions, but there are no obvious severe gaps for the stated scope.