Examples
Last updated Nov 30, 2026 View as Markdown
The examples cover the tasks that come after the quickstart. A recipe shows the shortest path to one task, with a few commands and what they print, and links the guide page with the details. A walk-through follows one larger goal from start to finish. Where a recipe needs an agent from the network, it uses the example agent github.com/pandra-io/pandra/examples/reviewer, which reviews the changes in your workspace. The names acme and example are placeholders for a repository or registry of your own or your team's.
Recipes
Build an agent
- Turn a Claude Code setup into an agent: package a repository's
CLAUDE.md, skills, and.mcp.jsonservers as one agent. - Add a skill from GitHub and update it: move a skill to a new release, or follow a branch and take its newest commit.
- Take some skills from a plugin: choose which skills of a Claude Code plugin, such as superpowers, your agent takes.
- Build on another agent and change part of it: add your own rule to an agent and leave out one of its MCP servers.
Run an agent
- Give an MCP server a token: keep an API key in the keychain and give it to one server.
- Run an agent from a script: read the answer and the session ID from the JSON event stream.
- Continue a conversation later: name a session, find it, and resume it with a new prompt.
- Run an agent in a VM with your own image: build an image with your project's tools and boot it in a microVM, through a registry on your Mac.
Set up the harness
- Give the harness an API key: keep your Anthropic API key in the keychain, and give it to Claude Code without the agent seeing it.
- Pin the harness version: keep every run on the version of Claude Code you tested.
Share and maintain agents
- Share an agent on GitHub: push your agent to a GitHub repository, tag a release, and run it by its tag.
- Publish an agent to ghcr.io: push a version of your agent to a registry and run it by its tag.
- Get the new version of an agent you run: pull again, and see whether your approval covers the new revision.
- Remove what you no longer use: remove sessions, agents, and the files nothing needs.
Walk-throughs
Teams and sharing
- Share a code-review agent with your team: a platform team shares one code-review agent through a private Git repository, and every engineer runs the same release the same way.
- Pin the agents your repository works with: a repository declares three agents in a guild file and pins them, and every teammate who clones it fetches, approves, and runs the same agents by short names.
Trying agents
- Try an agent someone published on GitHub: see what an agent that someone else published on GitHub does before trusting it with your repository or your tokens.
- Run one agent on Claude Code and Codex: run an agent on Claude Code by default and compare it with Codex now and then.
CI and production
- Run your own agent in a container: build an image of an agent you wrote, with no MCP servers, that prepares everything at build time and starts the agent offline.
- Run a published agent with an MCP server in a container: pull and approve someone else's agent at build time, configure its MCP server, and supply its token only when the container starts.
- Review every pull request in CI: run a reviewer on every pull request in GitHub Actions and show its review in the job summary.
Setup
- Set up an MCP server from a template: set up an agent without prompts, with its MCP server's values written in a file that one command applies, from a provisioning script or with an AI agent filling in the file.