---
url: /reference/pandra-guild-toml.md
---
# pandra-guild.toml

The guild file: the agents a repository works with and the files of the quests they carry out, usually at the repository's root. [Declaring members](/guilds/members.md) and [Agent workflows](/quests.md) show how to write one.

The guild file of a repository: its members, each under a short name, and the quests they carry out.

## Top-level keys

| Key | Type | Description |
| --- | --- | --- |
| `members` | table of table | The members, by name: 1 to 64 characters from `[a-z0-9-]`, starting and ending with a letter or digit, with no `--`. |
| `profiles` | table of table | The profiles, by name, with the grammar of a member name: a choice of some members' harness, model, and effort, applied only when a command names it. |
| `quests` | table of table | The quests, by name, with the grammar of a member name: each names the directory of its quest file. |

## `[members.<name>]`

The members, by name: 1 to 64 characters from `[a-z0-9-]`, starting and ending with a letter or digit, with no `--`.

| Key | Type | Description |
| --- | --- | --- |
| `branch` | string | The Git branch to check out. |
| `git` | string | A Git repository, an `https://` or `ssh://` URL. |
| `oci` | string | An agent's package in a registry, as an OCI reference with a tag, a digest, or both. |
| `path` | string | A project directory relative to the guild file's, without `..` segments, or the project's directory in a Git repository. |
| `preload-skills` | array of string | The skills whose whole `SKILL.md` goes into the instructions of a new session of the member, each a skill's name or `namespace:name`; the user's own `preload-skills` for the agent wins over it. |
| `rev` | string | The Git commit to check out, in full. |
| `tag` | string | The Git tag to check out. |

One of `git`, `oci`, or `path` is required.

## `[profiles.<name>]`

The profiles, by name, with the grammar of a member name: a choice of some members' harness, model, and effort, applied only when a command names it.

| Key | Type | Description |
| --- | --- | --- |
| `members` | table of table | The members the profile chooses for, by their names in `[members]`. |

## `[profiles.<name>.members.<name>]`

The members the profile chooses for, by their names in `[members]`.

| Key | Type | Description |
| --- | --- | --- |
| `effort` | `"low"` or `"medium"` or `"high"` or `"xhigh"` or `"max"` | The effort, as `--effort`, on whichever harness the member runs. |
| `harness` | `"claude-code"` or `"codex"` or `"pi"` | The harness the member runs on, as `--harness`. |
| `model` | string | The model in the harness's own naming, as `--model`; it needs `harness` in the same table. |

## `[quests.<name>]`

The quests, by name, with the grammar of a member name: each names the directory of its quest file.

| Key | Type | Description |
| --- | --- | --- |
| `path` | string | The quest's directory, relative to the guild file's, without `..` segments: the quest is `quest.toml` in it. Required. |
