Purpose
Archipelago is a typed knowledge graph whose goal is to let people and AI agents share the same "map" and build views, rules and tools on top of it. It declares work content as items and links of different types, forming a graph that is consistent for both people and agents.
Main capabilities
- Unified typed graph: plugins declare the types of items and links; people and agents see the same graph, drawn on the Landscape.
- Single change channel: any change, no matter who initiates it, is made through a declared action; the history preserves the integrity of every change set, and any change to the map can be undone.
- Agents use the same tools: the built-in MCP server provides agents with the map's actions and queries, and records what it was told and what operations it performed.
- Fully plugin-based architecture: the graph, schema, history, views and pages themselves are all plugins that can be added and removed at runtime; agents can add plugins without needing to understand the entire codebase.
- Extensible domain modeling: model a domain as types, then add views and tools that operate on them.
- Shared plans: agents working on the same repository hold the files each has written via the map and wait for each other.
- Learning loop (archipelago-loop): a separate plugin folder providing a Context interface (a live or replayed view of the tree of "what the map tells it" for each Claude Code session), context filters that decide what a session is told, and nodes that grow and retire from effective experience.
Usage
- Requirements: Node.js 22.18 or later (runs TypeScript directly, the map is stored in node:sqlite, no build step); connecting agents requires Claude Code.
- Quick try: open http://127.0.0.1:5280/app/ (or http://127.0.0.1:5280/ will jump there). The map is saved in app/.data/ and is ignored by git. If port 5280 is occupied, a one-line notice will explain this and nothing will start; npm run map -- serve will run on a free port.
- Persistent setup: the live map is saved in ~/.archipelago/maps/live/, and the service code is placed in a worktree next to the clone. The clone location is chosen by the user and should be in a folder kept long term, not a system temporary directory, a folder created by the app for a single session, or the Claude Code session's own worktree (.claude/worktrees/), because these disappear with the session.
- Running a live copy: archipelago can be run at any time in any working folder; set up and start live as needed, connect that folder, and open the page; it must be run again after a restart.
- Plugin folders (such as archipelago-loop) are restored on every startup after being added to live once; live:status and the page's Plugins view show the loaded folders.
- Connecting Claude Code: on an empty map, click "Connect Claude Code in archipelago", then start a new Claude Code session in that folder (terminal or desktop app). The connection itself is an entry on the map; its history is visible and can be undone, and the adjacent disconnect can remove it.
- You can also start a session in the terminal that writes no files (the same way as npm run dev). The session's hooks report every prompt, tool call, and answer, and the MCP server provides map tools to the agent.
- To make every session report, add the hooks to ~/.claude/settings.json and add the MCP server to the user configuration (plugins/claude-code).
Use cases
- Let AI agents and people collaboratively plan, record decisions, and define rules on the same knowledge structure.
- Multiple agents work together on the same repository, coordinating file writes and waits through the map.
- Model domain knowledge as types and build custom views and tools on top of them.
- Record and replay agent context through Claude Code sessions to study which contexts work.
Limitations and caveats
- The project is at an early stage: the graph and plugins are the first build, the Context interface is in the learning loop, and more plugins will be open-sourced over time.
- All data stays on your machine: hooks send to your own server on 127.0.0.1, the server does not call external services, and there is no telemetry or account.
- The map is saved in app/.data/; deleting that folder deletes the map.
- External files are written only when you place files on the map: a folder connected from the page gets the map's hooks and MCP server in .claude/settings.local.json and .mcp.json (kept untracked by git); undoing or shutting down the server (Ctrl+C) removes them and restores the original state. npm run dev does not write these files.
- Plugins are code that runs with the server's permissions; only load trusted plugins.
- Security reports are submitted through SECURITY.md.