Skip to content

Running members ​

Last updated Nov 27, 2026 View as Markdown

pandra guild run NAME runs a member and takes every option of pandra run:

terminal
sh
pandra guild run reviewer --prompt "Review the current branch."

Before the Session: field, it says on stderr what the name stands for, which guild file it came from, and which profile applies (the digest is shortened here):

text
reviewer: ghcr.io/acme/reviewer:1.2.0@sha256:f4fa007adf9e... (pandra-guild.toml, no profile)
Session:  d30c5ff7f7a6 (reviewer)

A pinned package your store lacks is fetched by its pin first, and a remote member that is not approved yet shows its summary and asks, as pandra run does.

Security

A path member runs as it is in your checkout, without an approval. In a repository you do not trust, read the member's project before you run it.

A member runs as its agent ​

Settings, allowed MCP servers, and the approval belong to the member's agent, such as ghcr.io/acme/reviewer, never to the member's name. So you choose a member's harness or model as you choose any agent's (agent settings), and the choice applies wherever that agent runs. A remote member's agent must be in the store first, as pandra guild pull puts it there; a path member's directory only needs to exist. For example, to run reviewer on Codex:

terminal
sh
pandra config target set codex --harness codex
pandra config target use codex --agent ghcr.io/acme/reviewer

A path member's agent is its directory's path, which the AGENT column of pandra guild list shows. Its settings apply in every worktree of the repository, but not in another clone (agent identity).

Run members with a profile ​

A profile changes the harness, model, or effort of some members for the commands that name it, such as a second opinion on Codex, or more effort on one day than on another. Each [profiles.<name>.members.<member>] table in the guild file sets the values for one member:

toml
# A second opinion on code reviews, from Codex.
[profiles.cross-review.members.reviewer]
harness = "codex"

[profiles.deep.members.implementer]
harness = "claude-code"
model = "opus"
effort = "max"

Security

A profile decides which harness, and so which provider and which of your logins, receives a member's prompts and files. In a repository you do not trust, read a profile before you name it.

To apply a profile, name it with --profile on pandra guild run, pandra quest run, pandra guild list, or pandra guild sync, or set PANDRA_GUILD_PROFILE for every such command in your shell:

terminal
sh
pandra guild run reviewer --profile cross-review --prompt "Review the current branch."

The line before the Session: field names the profile that applies (the digest is shortened here):

text
reviewer: ghcr.io/acme/reviewer:1.2.0@sha256:f4fa007adf9e... (pandra-guild.toml, profile cross-review)

What a profile sets ​

KeySets
harnessclaude-code, codex, or pi, as --harness does.
modelThe model in the harness's own naming, as --model does. It needs harness in the same table.
effortThe reasoning effort, as --effort does.

When more than one of these sets a value, the first wins (what overrides what):

  1. The command line.
  2. The profile.
  3. Your configuration.

When a profile's harness differs from the harness of the target your configuration selects for the agent, the run leaves that target out and uses the harness's own login and defaults. When the profile names the target's harness, the run keeps the target and its credential. A profile sets nothing else: the permission mode and the environment variables stay as the command line or your configuration sets them. A dry run shows each value the profile sets (the digest is shortened here):

text
$ pandra guild run reviewer --profile cross-review --dry-run --prompt "Review the current branch."
Run plan for ghcr.io/acme/reviewer:1.2.0@sha256:f4fa007adf9e... (nothing was started)

Agent       ghcr.io/acme/reviewer (sha256:f4fa007adf9e)  approved 2026-11-27
Harness     codex                                       profile cross-review
...

A later pandra resume of the session keeps the harness the profile chose, but not its model and effort.

List the guild's sessions ​

pandra guild ps lists the sessions that pandra guild run and pandra quest run started from this guild file, in every worktree of the repository, each with its member, and for a quest's session the quest and the step:

text
$ pandra guild ps -a
SESSION       NAME  MEMBER             QUEST                STEP                  STATUS  LAST RUN   UPDATED
ce65ba0ab9cb  -     release-notes      change c7a4dd02c8e7  release-note          idle    completed  40 seconds ago
66bfe7b06510  -     implementer        change c7a4dd02c8e7  implement             idle    completed  40 seconds ago
03eca668b2ba  -     reviewer           change c7a4dd02c8e7  implement / code      idle    completed  40 seconds ago
03361a535fac  -     security-reviewer  change c7a4dd02c8e7  implement / security  idle    completed  40 seconds ago
9ea7824d0a51  -     implementer        -                    -                     idle    completed  2 minutes ago

As with pandra ps, -a lists every session instead of only the active ones, and -q prints only the IDs. pandra session inspect shows the member and the quest in its Guild and Quest lines.

For scripts and AI agents ​

Every pandra guild command takes --json:

  • pandra guild list --json gives the guild file's path, each member with the fields of a pandra agent list entry, the quests with their steps and checks, and the profiles.
  • guild lock, pull, trust, and sync report every member with an outcome.
  • pandra guild ps --json gives each session with the fields of a pandra ps --json entry, its member, and its quest.
  • guild run --json prints the event stream of pandra run.

Pandra's own skill tells an AI agent to look for the repository's guild with pandra guild list --json before it picks an agent from the store. An agent that Pandra runs can run members and carry out quests, but cannot approve members: a member that needs approval fails with the step for you to take. An agent that a profile's run starts gets PANDRA_GUILD_PROFILE, so the guild commands it runs apply the same profile.

Released under the Apache License 2.0