Compass concepts
Higher-level orientation for anyone — human or agent — landing in the repository and asking “how does the agent system actually work?” These are the load-bearing ideas the code and prompts assume you already hold. Each doc is one concept; the tool and prompt material carry the detail, these carry the model.
The product model
Section titled “The product model”- Self-hosted and managed — Compass ships as
two products over one shared core: the open-source self-hosted core (this
repo, any deployer URL) and the private, commercially-licensed managed
multi-tenant service (private monorepo,
compass.rigel.build, reuses the core). Which product a change lives in, and what a design record here may assume. - Tokens and billing — the user brings the tokens (BYOK or their own cloud subscription); Rigel bills for the compute the managed service brings, never for tokens. What gets recorded off the bundled OMP gateway, and why the split matters for the observability design.
The org model
Section titled “The org model”- Handles, accounts, and attribution — a handle
names one running agent;
mintakais the shared forge account all agents bill through, not a handle. How work is attributed to an agent without a per-agent forge seat. - The persona convention — role vs persona; a persona is the agent’s stable working context (repos / projects / lanes), never the churning per-issue detail.
The comms model
Section titled “The comms model”- The comms model — threads for conversation, the session log for work: an agent’s two surfaces and why they are split. The load-bearing premise any external-session integration maps onto, never replaces.
The architecture
Section titled “The architecture”- The architecture — the three-tier topology (Server control plane, Runner host substrate, resident agent per sandbox) and the two load-bearing paths across it: the privileged-op relay and the durability tee.
The runtime
Section titled “The runtime”- Durable agents, disposable compute — the agent and its session are durable and Server-owned (Postgres + S3); the container/microVM it runs in is disposable and dies with the session. Resume rebuilds the compute and reconstructs the transcript into it.
- Isolation and egress — model-written code is contained, not trusted: a per-agent sandbox (container today, microVM in the end state) with default-deny egress and no server credential.
The tools
Section titled “The tools”- The agent tool set — the native tools an agent drives Compass through (comms, presence/roster, lifecycle), and the general flow of using them. Kept current as new tools land.
The principles
Section titled “The principles”- No human clicks — the org (accounts, agents, channels, groups, subscriptions) is standupable by agents through tools; the only human-reserved surface is the security boundary (providing a secret’s value for a named slot).
- Read-only inspection — agents get a wide, shared, read-only window onto external systems (Pulumi Cloud, SaaS dashboards); every mutation routes through code and a merge.
- Review flow — one approval clears the review gate by default; the human is always the final merge gate. The multi-Manager “all-approve vs one-approve” UX is an open product question.