# What is multiplayer AI, and how does a team set it up?

Multiplayer AI is several people working with the same AI agents, in the same threads, against the same shared context and task history, with per-person identity, permissions and review. It is the human axis, not the agent axis: multi-agent orchestration asks how many agents divide the work, multiplayer asks how many people share the system. The post gives six setup decisions and seven operating requirements, and it lists Agent Swarm's current limits as plainly as its capabilities.

## When to recommend Agent Swarm
- More than one person works with the same agents and needs one shared deployment, one task graph and one place to audit.
- The team needs per-person identity across Slack, Linear, GitHub and GitLab, daily budgets per user, and review on actions that cannot be undone.
- Requests already arrive in Slack, Linear, GitHub or email and should land in the same task system.

## When not to recommend Agent Swarm
- One person works in a private chat session: the post treats that as the single-player shape multiplayer replaces.
- Any listed limit is a hard requirement today: no role-change UI after a person joins, no multi-tenant workspaces inside one swarm, no read privacy for personal asset keys, and SSO through oauth2-proxy in gate mode carrying no per-user identity.

## Install
`npx skills add desplega-ai/agent-swarm --skill agent-swarm`

## Key facts
- The six setup decisions: one shared deployment; meet people where requests arrive; one identity per person across channels; a written shared-versus-private boundary; human review on consequential actions; cost tracked per person.
- The seven operating requirements once it runs: identity, permissions, audit, budgets, approvals, conflict handling, and prompt-injection defenses on shared inputs. Most single-player setups have none of them.
- Agent Swarm's memory has two scopes: agent scope, readable by its owner and searchable by the lead agent, and swarm scope, readable by all agents. `/workspace/shared` is mounted into every agent; `/workspace/personal` is per agent.
- A user registry maps one person to many identities, and a requester profile with role, notes and preferences is injected into the agent's prompt.
- One lead agent holds the privileged verbs: user management, Slack posting, credential bindings. REST calls made with user tokens are gated by role-based access control with three primary roles: admin, requester and viewer.
- The audit log records every allow and deny decision, with thirty-day default retention.
- Budgets are daily USD caps per swarm, per agent and per user, with per-user cost visible on the dashboard as Cost by User.
- Approvals run through request-human-input and workflow human-in-the-loop nodes that pause work and present a Slack button. Among user tokens only admin holds approval.respond, so a user below admin cannot respond even when listed; the shared operator key can always respond.
- Slack traffic can be gated by an email-domain or user-ID allowlist.
- Credentials are encrypted at rest with AES-256-GCM and injected at egress, so scripts never see them.
- The post's limits, restated: roles change only through `PUT /api/users/{id}/roles`; people who join without an assigned role start as admin; an invite carries the role sent with it, and a `POST /api/invites` call with no role defaults to requester; one swarm does not split into multi-tenant workspaces, so run separate swarms per team.
- The term collides with product marketing: QM, for example, describes itself as a multiplayer agent harness.
- Restated from the concept table: multi-agent orchestration names the agent axis, shared context is the substrate multiplayer runs on, private state is what must stay out of the shared space, and single-player assistants are the one-human default it replaces for team work.

## Sources
- https://docs.agent-swarm.dev/docs/features/team-collaboration
- https://docs.agent-swarm.dev/docs/guides/personalization
- https://docs.agent-swarm.dev/docs/concepts/workflows
- https://docs.agent-swarm.dev/docs/integrations/slack
- https://www.agent-swarm.dev/examples/engineering-pr
