Skip to content

PandraBuild, share, and run AI agents

One tool for an agent's whole life. Define an agent in pandra.toml and run it right away on your laptop. Push it to a Git repository, private or public, to run it anywhere, on your own or with your team. When it goes to production, ship it as a package to CI or a container image.

curl -fsSL https://pandra.io/install.sh | sh

macOS 13+ and Linux, x86_64 and arm64. Other ways to install

Terminal~/src/api
# run an agent straight from its Git repository
$ pandra run github.com/acme/changelog
## 2.1.0
- Retry failed uploads in the client
- Fix the date format in exported reports

# the same agent on another harness
$ pandra run github.com/acme/changelog --harness codex
Read the running guide

Make your own agent in one file

An agent is a directory with a pandra.toml: its instructions, skills from Git, and MCP servers from the MCP Registry or a package. pandra init makes the file, and pandra add writes the entries for you.

  • pandra.lock pins every skill and server to what you tried
  • pandra run . tries it in the harness's own interface
  • Push it to a Git repository, private or public, and run it straight from there
Read the guide to creating agents

Build on an agent someone else maintains

Start from your team's reviewer, or any agent someone has published, the way a Dockerfile starts FROM an image. Name it in [base], then add your own rules, replace a skill, or leave out a server you do not use. When the base has a new release, pandra add --base moves to it and shows what it brings.

  • Keep the base's instructions, skills, and MCP servers without copying them
  • Replace or leave out any part by name
  • Let several agents in one repository share one core
Read about building on another agent
The baseacme/reviewer
Your agent, built on ithouse-reviewer
InstructionsReview guidelines
Instructions · inheritedReview guidelines
SkillCode review
Skill · overriddenCode reviewYour code review
SkillIssue triage
Skill · inheritedIssue triage
MCP serverJira
MCP server · left outJira
Instructions · addedHouse style

Run each agent in a context of its own

A harness starts every session with your whole setup: the instructions, skills, and MCP servers in ~/.claude and the repository, whatever the task. Pandra gives each run an agent environment instead, a harness configuration with only the agent's own. What only one task needs can move out of your setup into an agent, and every other session carries less.

  • The agent sees none of your skills, plugins, or project settings, and your sessions see none of its
  • Try any agent without touching your setup: nothing is copied into ~/.claude, ~/.codex, ~/.agents, or the repository
  • Runs on the harness you already use, such as Claude Code, with your login
  • A remote agent shows what it brings and asks you once before its first run
Read the guide to running agents

Keep your repository's agents with its code

Name the agents a repository works with in pandra-guild.toml, as compose.yaml names an application's images: published agents, agents from Git, and agents kept in the repository itself. Everyone who clones it runs the same agents by name, and AI agents working in it find them too.

  • pandra-guild.lock pins every member, so the whole team runs the same versions
  • pandra guild run reviewer runs a member on your own harness and model
  • A cloud environment prepares every member once with pandra guild sync and runs them offline
Read about guilds
acme/webpandra-guild.toml

No agents yet

  • reviewerReviews pull requestsghcr.io/acme/reviewer1.2.0
    Run by you
  • docs-writerKeeps the docs currentgithub.com/acme/agentsv0.3.0
    Run by a teammate
  • release-notesDrafts release notesghcr.io/acme/release-notes0.4.1
    Run in CI

Ship an agent as a container image

pandra sync prepares everything the agent needs while the image builds: it fetches the agent's sources, prepares its environment, and even installs the harness, Claude Code, Codex, or Pi, from its official release, checked against the published checksum. So the Dockerfile copies in one binary and lets it do the rest, with no Node.js and no install script.

  • One binary from the official image, into any base image
  • Pin the harness version, and every rebuild installs that same version
  • The container starts with everything in place and fetches nothing
  • Secrets come from environment variables or mounted files, never a layer
Read about container images
$ docker build -t reviewer .
 => RUN pandra sync --no-install-project --harness claude-code
    Fetched 3 sources (2 cached)
    Installed claude-code 2.1.317
 => RUN pandra sync --harness claude-code
    Prepared reviewer 1.2.0
 => naming to docker.io/library/reviewer
$ docker run --rm -v "$PWD:/work" -e ANTHROPIC_API_KEY \
    reviewer --workspace /work --prompt "Review the changes."
Pandra installed the harness during the build, so the image holds it beside the prepared agent. The API key arrives only with docker run.

Released under the Apache License 2.0