Files
ops-docs/agent-fleet.md
T
inference-admin 2fda1bcc29 ops: working-group bots get one Unix user each, with their own studio room
Supersedes the tier-2 profile plan (#33). Shared Unix users let sibling profiles read
each other's .env, so permission boundaries between working groups would be nominal.
Records designbot as the first instance: own user/unit/team, #DesignBot Studio room
outside the Space, invite-only, mention-only.
2026-11-17 21:54:17 +00:00

6.3 KiB

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:<email> 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 — and holds the portal's member-invite credential (MATRIX_BOT_TOKEN). It never speaks in a member room; a message from it is a mistake, not a feature.
  • @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 — a server-admin account created for the October 2026 security review. Retained only until its tokens are revoked.

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.