omp packages

@aeondave/pi-persona1.20.5

Supervised multi-agent orchestration for Pi — async workers, live steering, cross-session collaboration, and switchable personas.

aeondave Published 1 day ago MIT ~2K downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-persona — supervised multi-agent orchestration for Pi

pi-persona

Give the Pi coding agent a team of workers. Delegate independent tasks in parallel, watch their tool calls and conversations live, and steer or stop work from the terminal. The supervisor collects the reports and integrates the results.

CI OpenSSF Scorecard npm version

Features · Quick start · Demos · Personas · Documentation

Features

Feature What you can do
Parallel workers Assign each worker a role, tools, skills, model and effort. In the TUI, results arrive when Pi is idle. Headless pi -p returns them inline. Delegation
Live supervision Press F9 to search a worker’s chat, inspect tool calls, send instructions or stop a run. Worker controls
Personas and councils Switch personas, gather independent reviews, run a MAGI vote or pause a workflow for approval. Strategies and flows
Start fresh from an approved plan “The plan looks good. Tomorrow, open it in a fresh session and start there.” Save it at a checkpoint and reopen it with /plans. The new session gets the approved objective, decisions, constraints and checks. The exploratory discussion stays in the original session. Approved plans
Reviewable edits Isolate changes in a Git worktree and run a verification command there. A nonzero exit fails the run and preserves the worktree for inspection. Verification and recovery
Directory-specific instructions In a trusted workspace with project guidance loaded, Pi requires the model to read applicable nested AGENTS.md files before native edits or writes. The same check applies to supervised workers and codemode. Scope and setup
Reports and follow-ups Retrieve a retained report after reload or continue a saved worker’s conversation. After compaction the supervisor gets worker status and pending question IDs. Report retention · Worker continuation
Session collaboration Exchange questions, tasks and evidence between independent Pi sessions and coordinate who edits which files. Exocom guide
Background jobs Run scripts, watch for events and set timers. Track them alongside workers in F9. Jobs and timers
Structured findings Collect findings with file, line, severity and evidence, or validate results against your own format. Result contracts
Source navigation Find functions, types and line ranges with code_outline. The extension enables Pi’s native grep, find and ls for implicit default toolsets, plus powershell on Windows. Code outline · Native tools
Terminal images Preview local images with show_image using terminal graphics, ANSI or ASCII. Image preview

Quick start

Use Node.js ≥ 22.19 and configure a model provider in Pi. This checkout targets Pi 1.7.0. For earlier versions, check the README at the corresponding Git tag.

pi install npm:@aeondave/pi-persona

Start Pi and enter these commands to install the bundled definitions and select the dev supervisor.

/persona seed
/persona dev

Fix the cancellation bug. Have workers investigate the failure and the test coverage in parallel, then make the fix and run the relevant checks.

Press F9 to follow the work. In later sessions, start with pi --persona dev. Seeding preserves existing files.

Using codemode with native search or PowerShell

With Pi’s default settings, pi-persona enables grep, find and ls, plus powershell on Windows. If you set defaultTools yourself, even to ["+codemode"], add the tools you want to that list in ~/.pi/agent/settings.json. This Windows example also keeps codemode enabled.

{
  "defaultTools": ["+codemode", "+grep", "+find", "+ls", "+powershell"]
}

On macOS or Linux, omit +powershell. Keep your other settings when editing the file, then start a new Pi session. If an additions-only list leaves eligible native tools inactive, the TUI names them once at startup. Native tools and permissions

Project-only install, version pins and updates
Option Command
Install for this project pi install -l npm:@aeondave/pi-persona
Pin an npm release pi install npm:@aeondave/pi-persona@1.20.5
Pin the Git tag pi install git:github.com/AeonDave/pi-persona@v1.20.5
Update an unpinned npm install pi update npm:@aeondave/pi-persona

Restart Pi after updating. Change pins explicitly. When moving from Git to npm, remove the exact Git source first, for example pi remove git:github.com/AeonDave/pi-persona for an unpinned install.

See it work

Delegate a fix, steer workers, run a MAGI vote, collaborate across sessions and watch background jobs
Workflow Recording
Delegate and verify a fix Three workers investigate in parallel before the supervisor fixes the bug and runs the tests.
Inspect, steer and stop The operator opens F9, redirects one worker and stops another.
Decide with a council MAGI collects three votes and reports the ruling with dissent.
Collaborate with Exocom Two Pi sessions discover each other and exchange a review request and answer.
Monitor jobs in F9 A background build, a deploy monitor and a timer report back as events arrive.

The recordings use the real Pi interface and scripted model replies. Recording script

Controls

Control Action
F8 or /persona <name> Switch persona. Use /persona off to turn it off.
F9 or /agents Open the live view. Select a worker and press Enter to read its chat, then / to search. In the live list, press s to steer or x to stop the selected worker.
Click a card or Ctrl+O Expand prompts, results and diagnostics. Ctrl+O is Pi’s default expand binding.
/peek Show a compact progress summary.
/flow List flows. Use /flow <name> to preview phases, teams and approval checkpoints. Add a task to run it.
/plans Pick an approved plan saved for this workspace and Pi profile, then start it in a fresh, named session.
/persona-settings or /doctor Change preferences and model assignments, or diagnose configuration.

Steering reaches in-process workers during a run. When the broker is enabled, child-process workers receive it as a queued follow-up. Worker controls

Personas

Use dev to build, fix or verify a change. For checks only, try this prompt.

Run the project’s tests on the current revision and report each command and exit status. Leave the code as it is.

On upgrade, Persona retires recognized, unmodified copies of the former bundled verify persona.

Choose audit for independent review, planner for an implementation plan, or researcher for a source-backed answer. Use multiagent to coordinate different workstreams and swarm to apply one operation across independent items. Choose magi for a three-perspective vote with dissent or judge for a blind comparison of complete proposals. Full persona guide

Each persona recommends tools for its work. Dev uses find to locate files and code_outline to jump to declarations. MAGI and Judge recommend council for their panels. Use /doctor to see which are active and what to add to a profile such as ["+codemode"]. Preferences by persona

Personas help the supervisor look for relevant skills you already have installed. A worker can be assigned specific installed skills for its task. Skills in worker runs

In an interactive session, /flow gated-build previews a plan, an approval checkpoint, a build and a separate verification. Run it with /flow gated-build Add a regression test for cancellation. Strategies and flows

Edit definitions in ~/.pi/agent/persona/agents/ or add a project override in .pi/agents/. Use /persona reload to refresh definitions. /persona restore replaces installed bundled defaults, including your edits to them. Configuration and profiles

Collaborate with another Pi

Start pi --exocom --persona dev in two terminals in the same workspace. In the first session, ask Pi to name itself Ember and list its Exocom peers. In the second, ask Pi to send Ember a review request. Use /exocom status for the four-character workspace code. A session in another workspace can join with pi --exocom=Ab0T, using the exact code and the same machine and Pi profile. First exchange and task workflows

Explore source code

Ask Pi to show a function from a source file. code_outline finds its start and end lines. With Pi’s codemode enabled, a script can look up the function and read those lines in one call.

Supported languages and limits · Codemode example · Native search tools

Display an image

Ask Pi to show a local PNG, JPEG, GIF or WebP with show_image. Click the preview or press Ctrl+O to enlarge it. If you also ask Pi to explain the image, it uses its native read tool for visual analysis. Display modes and limits

Optional memory companion

pi install npm:@aeondave/pi-persona-mind adds project and persona memory, session notes and an F10 inspector. Restart Pi or use /reload after installation. pi-persona-mind

Documentation

Everyday use · Tool inventory · Reference · Architecture · Documentation index · Changelog

Develop

From a checkout, run npm ci, npm run typecheck and npm test. The native search integration tests require rg and fd on PATH. Pi loads the TypeScript extension directly.

Before a release, inspect npm pack --dry-run and run the live smoke:wake check with a provider-qualified LIVE_MODEL. It spends model tokens and checks that a three-worker batch triggers one completion turn with all results and no polling. Smoke test setup

Contributor instructions · Security policy · MIT license