English

Developer guide Overview

Developer guide

How Archipelego is built, how to run it locally and how to change it.

On this page

This guide is for developers who run Archipelego from source, change it, or add to it. It assumes you know TypeScript, React and Node.

The stack

  • The client is React 19 with TypeScript, built with Vite 8. It lives in app/.
  • The server is plain Node with ws and Yjs. It lives in server/.
  • Real-time sync uses the y-websocket protocol. The browser also keeps a local copy in IndexedDB.
  • AI calls go through a small router. Claude uses the official Anthropic SDK. Every other provider uses its OpenAI-compatible /chat/completions endpoint with streaming.
  • The look comes from the Archipelego design system in design-system/. The app loads it and never copies it.

Pages in this guide

Overview:

Internals:

  • Data model: the shared Yjs document and the portable canvas file.
  • Sync server: the y-websocket compatible room server.
  • LLM router: the model catalog, the router and how to add a provider.
  • Architect protocol: @architect, [[id]] references and Explain.
  • Rich chat UI: A2UI surfaces and MCP Apps in the chat.
  • Library format: reference architecture entries and how they are built.

Design system:

Contributing:

  • Testing: what to check before you send a change.
  • Contributing: the workflow and where to change what.
  • Code style: the conventions the code follows.
  • The user guide explains every feature from the point of view of a workshop.
  • The admin guide covers installation, configuration, AI keys and security.