Skip to content
funsaizedPublic

About

🎊 fast subagent implementations that you can watch work: reviewed changes, (optional) Herdr workspaces integration, and automatic cleanup.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

141 Commits

Folders and files

Repository files navigation

piñata

Fast, observable subagents for Pi.

Ask for a scout, a researcher, a planner, a builder, or a reviewer. Pi delegates the work, the agents run in parallel where they can, and their results come back to Pi. Every builder change gets an independent review before it reaches your checkout.

Watch the 50-second piñata demo: meet your subagents

Watch the demo · Parallel builders, independent review, passing tests.

Install

In Pi's terminal (manual):

pi install npm:pi-pinata

Reload Pi. You need Pi 1.1.0+, Node 22.19+ (for the pinata command), and Git, on Linux, macOS or Windows. Research tasks also use pi-web-access. Herdr is optional: inside Herdr, agents can run in their own panes.

Try this first

Ask Pi in plain language:

Have a scout figure out how request validation works in this repo.
Send two scouts out in parallel, one on the retry logic and one on its tests.
Then have research check both reports against the official docs.
/pinata-fix Correct the seconds-to-milliseconds conversion in src/duration.mjs.
/pinata-review Focus on the error handling.

Pi picks the agents, writes their briefs, and decides who waits for whom. Start with the first-run tutorial.

Meet the team

Agent What it does
Scout (scout) Finds where the behavior lives.
Researcher (research) Checks the docs and brings sources.
Planner (planner) Turns findings into a workable plan.
Builder (builder) Makes the change and runs the checks.
Reviewer (reviewer) Checks the diff and challenges the assumptions.

What it's like to use

  • Fast. Agents run inside your Pi by default: one starts in a few milliseconds and uses a megabyte or two, so many can work at once.
  • Visible. A widget above the editor shows every agent's state, time, tokens, cost and current tool. /pinata open <task> shows an agent's whole conversation as it streams, and you can steer it from there. pinata view follows a run from another terminal.
  • Reviewed before it lands. Each builder works in its own git worktree; its checks run after it finishes, and an independent reviewer must approve that exact change before pinata applies it to your checkout (never staged or committed). You can roll it back.
  • Recoverable. Runs are logged on disk. A run started with survive: true keeps going when Pi exits; the next Pi picks it up. /pinata rerun restarts tasks lost in a crash.
  • Scriptable. pinata run job.json runs a job without an interactive Pi, with plain or JSONL output and exit codes for CI.

Documentation

I want to… Start here
Run my first agents First run
Build, review and apply a change Build and review
Watch agents work Watching agents
Choose lean or observe mode Modes
Run agents as processes or Herdr panes Backends, Herdr
Run jobs from scripts or CI Headless runs
Give builders their dependencies Dependencies
Recover, rerun or clean up Recovery
Set up on Windows or macOS Platforms
Look up a tool, command or config key Reference
Understand how it works and what it trusts Architecture, Trust

The documentation index lists everything, including maintainer docs.

MIT licensed.

About

🎊 fast subagent implementations that you can watch work: reviewed changes, (optional) Herdr workspaces integration, and automatic cleanup.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages