# The agent fleet The co-op runs **more than one agent**, each as its **own Unix user** on the agent host (`ov-0f018e`, `179.237.103.165`) with its **own Hermes gateway unit** and its **own LiteLLM team**. Any document that describes "the agent" as a single thing is now wrong. ## The three agents today | Agent | Unix user | systemd unit | Gateway team (budget) | Model | Presence | |---|---|---|---|---|---| | **Inferencebot** (steward) | `ubuntu` | `hermes-gateway.service` | *(co-op account team)* | per `~/.hermes/config.yaml` | Matrix `@inferencebot:inference.coop`; digests, newsletters, membership/key plumbing | | **infrastructure-bot** | `infrabot` | `hermes-gateway-infrabot.service` | `agent:infrastructure-bot` ($5/30d) | `greenpt/glm-5.3-flash` | Matrix `#infrastructure` (answers only when mentioned); infrastructure scope | | **socialbot** | `socialbot` | `hermes-gateway-socialbot.service` | `agent:socialbot` ($5/30d) | `greenpt/glm-5.3-flash` | Matrix `#social-drafts`; drafts the co-op's AT Protocol (Bluesky) account `inference.coop` | | **designbot** | `designbot` | `hermes-gateway-designbot.service` | `agent:designbot` ($5/30d) | `glm-flash-green` | Matrix `#DesignBot Studio`; Design working group; mention-only | All three gateways run on the one host; each is a separate process, a separate `.env`, and a separate set of rooms. There is **one LiteLLM gateway** (the Cloudron app) that all three draw on — the agent host runs no gateway of its own. ### Who is who (do not conflate them) - **Inferencebot** is the **steward** and the fleet administrator: full Cloudron token, gateway master key, member-data plumbing. It is NOT a member-facing chat persona. - **infrastructure-bot** is a **lower-privileged** infrastructure agent. Per its own SOUL it has **no sudo, no Cloudron admin token, and no member data**; when a task needs more privilege it hands up to the steward rather than working around it. Its gateway key has a small monthly budget and a flash-tier allowlist. - **socialbot** has **no Cloudron, portal or member-data access** and no power over Matrix rooms; its only writable surface is the `#social-drafts` room, and it **never publishes an unapproved draft** — silence is its correct failure mode. ## Working-group bots — one Unix user each **Policy (2026-11-17; supersedes the tier-2 profile plan in co-op/support#33).** Every working-group bot is provisioned like socialbot: a **dedicated Unix user**, its own Hermes install, its own gateway unit, its own LiteLLM team and key, and its **own studio room** — a bot-access room on the server, deliberately **outside the co-op Space**. Member bots are *not* Hermes profiles under `infrabot`. Why: sibling Hermes profiles on one Unix user can read each other's `.env`. Sharing a user would make permission boundaries between working groups nominal. **designbot** is the first instance: - Unix user `designbot` (uid 1003, no sudo), unit `hermes-gateway-designbot.service` - LiteLLM team `agent:designbot` ($5/30d, flash-tier allowlist) - Matrix `@designbot:inference.coop`, room **#DesignBot Studio** (`!RqMPii2PDrX0QgBSX4cQTfQFcuW2e78OjQO42IZ1QIk`, alias `#design-wg`): invite-only, standalone (no `m.space.parent`), power level 100 for Nathan, Juan Fortun and the bot, mention-only, and no shell/file tools in the room A studio room is not the working group's public room: the co-op's existing member-facing Design room is separate, and adding a studio room to the Space is a mistake, not a convenience. ## Why one Unix user per agent — and the limit of it **Profile isolation is organizational, not security.** Run one OS user (or a rootless container) per agent from day one: **on a shared Unix user, sibling Hermes profiles can read each other's `.env`.** So tier-2 member bots sharing the `infrabot` user are isolated from *members* but **not from each other** — that sharing is accepted for member bots, not extended to the privileged agents. ## Backup coverage is automatic — but prove it The nightly restic run (see `maintenance/backups.md`) enumerates `/home/*` **as root** and stages every agent home, so a new agent is covered without editing any list. Coverage is still **unproven until that agent's files show up in a snapshot**. ## Gateway teams (member vs agent) From `GET https://gateway.inference.coop/team/list` (2026-11-04): 97 teams — one `member:` team per member (mostly $15/30d), `member:info@inference.coop` ($135/30d, the co-op account), the two `agent:*` teams above, and `sandbox:librechat-test` ($3). Agent teams carry a **small budget and a flash-tier model allowlist** enforced at the gateway. ## Matrix homeserver accounts Beyond the agent bots above, the homeserver carries two automation accounts. Also recorded here: the room account retired in October 2026, moved out of the member-facing docs. - **`@inference-admin:inference.coop` — the room and server administrator.** A Synapse server admin, used for provisioning rooms, managing membership, and retiring rooms. It is the administrator of record for the co-op's Matrix rooms — general, community, design, skillshare, updates and infrastructure. It **never speaks in a member room**; a message from it is a mistake, not a feature. - **`@coop-portal:inference.coop` — the portal's member-invite bot (not a server admin).** Owns `MATRIX_BOT_TOKEN` in the portal env. Room power level **50** in exactly the eight `MATRIX_INVITE_ROOMS` rooms — enough to invite and kick a member (invite level is 0–50, kick level 50) and nothing more. It cannot touch room power levels, server admin APIs, or rooms outside that set. The portal no longer holds an admin credential. - **`@inference-bot:inference.coop` is retired (2026-10-29).** It was the original room-administration account (it created the space and most of the rooms) and held a Synapse server-admin flag. Its room power passed to `@inference-admin`; its admin flag was dropped, it was deactivated, and every device and token was deleted. Nothing should use it again. - **`@ops_audit:inference.coop` — RETIRED (2026-11-19).** Was a server-admin account from the October 2026 security review. Its device `OPSAUDITDEV` was deleted, the admin flag dropped, and the account deactivated. Zero devices remain; do not recreate it. Two loose ends, recorded so nobody re-investigates them from scratch: the retired account remains joined to two rooms it cannot leave (they reject every write — `500` on leave), and those rooms are also why they can't be deleted; and its *name* is still the tempting one, so check `whoami` rather than the name before trusting any account that looks like it. **House rule: power belongs to `@inference-admin`, voice belongs to `@inferencebot`.** Don't create an account whose name differs from an existing one by a character or two — that lookalike confusion is what the rule exists to undo.