# Running this distribution This archive holds the linux/amd64 binary for each service. Each service owns its data and reaches the others only through their gRPC contracts (or NATS, for task actions): | Service | Owns | Reaches | |---|---|---| | `archie-state-store` | tasks, events, control-plane settings, identities and access policies, installed packages (PostgreSQL) | nothing | | `archie-gateway` | conversations (PostgreSQL, its own tables) and every model call: chat turns, curators, MCP tools and sampling | State Store; daemon over NATS for task actions | | `archied` | dispatch: forge polling, the task queue, the embedded NATS broker, agent containers | State Store; Gateway | | `archie-messaging` | the Telegram, email and webhook channel connections | Gateway; State Store for channel settings | | `archie-ui` | the dashboard and the webhook capture receiver | Gateway; State Store | Without `archie-messaging` the channels are simply absent, so it needs a unit of its own (`deployments/systemd-user-service.md`). `archie-agent` (the per-task sandboxed runtime) has no unit of its own. The agent image is a separate thing, pulled for the containers `archied` spawns per task: `[containers].image` has no default, and the daemon reports it as missing at startup. This archive's `release.json` pins the digest the release published, and the deploy step passes it to the install, so a release install needs nothing by hand; a from-source install sets the image itself. Set `[containers].registry_auth` when the reference is on a registry that needs a login -- see `deployments/systemd-user-service.md#6-pinning-the-archie-agent-image`. ## Quickstart 1. Pick a starting configuration. The full set of annotated templates lives in this repository's `deployments/` directory on GitHub () — `standalone.toml` (no forge, the simplest start), `single-forge-github.toml` and `docker-nats-stack.toml` cover the common cases. Every one needs PostgreSQL 18 with the `archie_migrator` and `archie_runtime` roles created once by `archie-state-store provision` (see `deployments/README.md`); `docker compose up -d postgres` plus that command gives the local default. Copy whichever fits to: ```bash mkdir -p ~/.config/archie cp