Skip to content

Build an agent ​

Last updated Nov 30, 2026 View as Markdown

An agent project is a directory with a pandra.toml, the agent definition file, which lists the agent's instructions, skills, MCP servers, and other components. To create a project and add a skill to it:

terminal
sh
mkdir my-agent && cd my-agent
pandra init
pandra add https://github.com/obra/superpowers/tree/v7.0.2/skills/test-driven-development
text
Created pandra.toml for agent my-agent (name derived from the directory name; use --name to choose another)
Added `[skills.test-driven-development]` to pandra.toml and updated pandra.lock.
  pinned skill test-driven-development from https://github.com/obra/superpowers/skills/test-driven-development (commit 22f0b463e7a5)

pandra run . then runs the project (quickstart). The project holds these files:

FileWho writes it
pandra.tomlpandra init, pandra add, and you by hand. Pandra keeps your comments and formatting when it edits the file.
pandra.lockOnly Pandra. Commit it with pandra.toml, and never edit it.
instructions.md, skills/, promptsYou. Local files that pandra.toml refers to.

A repository can hold several agent projects, each in its own directory, and a command names the one it uses, such as pandra run ./agents/reviewer or pandra build ./agents/reviewer. The definition does not choose the harness or the model: whoever runs the agent chooses them in their configuration. The pandra.toml reference lists every key, such as name, version, and license.

Released under the Apache License 2.0