---
url: /guilds.md
---
# Your repository's agents

A guild is the set of agents a repository works with, its [members](/guilds/members.md), each under a short name in `pandra-guild.toml`. Everyone who clones the repository runs the same agents by those names, and the members can carry out [quests](/quests.md), agent workflows in which they take turns.

1. Declare and pin: the repository `app` names four members in `pandra-guild.toml`, `implementer` and `security-reviewer` from paths in the repository, `reviewer` from the registry as `ghcr.io/acme/reviewer:1.2.0`, and `release-notes` from the Git repository `github.com/acme/agents` at the tag `v0.3.0`. `pandra guild lock` pins `reviewer` and `release-notes` to one package each in `pandra-guild.lock`.
2. Run a member by name: a teammate who clones `app` runs `pandra guild run reviewer`. Pandra fetches the package the lockfile pins, shows what it contains, asks once for approval, and starts it, so everyone runs `reviewer` 1.2.0 with the same digest.

The guild file names agents, quests, and [profiles](/guilds/running.md#run-members-with-a-profile), and nothing else: secrets, credentials, and permissions stay in each person's configuration ([a member runs as its agent](/guilds/running.md#a-member-runs-as-its-agent)).

* [Declaring members](/guilds/members.md): `pandra guild add`, the kinds of member, and where Pandra finds the guild file.
* [Pinning and approving](/guilds/pinning.md): `pandra guild lock`, `pull`, `trust`, and `list`.
* [Running members](/guilds/running.md): `pandra guild run`, profiles, and `pandra guild ps`.
* [Preparing for offline runs](/guilds/offline.md): `pandra guild sync` in a setup script or an image build.
* [Agent workflows](/quests.md): quests, the steps, checks, and scripts that members carry out in turn.

The [command line reference](/reference/cli.md#pandra-guild) lists every `pandra guild` command and option.
