A pi agent directory that turns the pi CLI into a small academic research lab: long-running orchestrator, engineer, and librarian agents with persistent sessions, communicating through files (tickets, reports, memos).
Status: early. See TODO.md for the design rationale and roadmap, and
manifesto.md for the philosophy.
AGENTS.md-- team kernel: invariants loaded into every sessionagents/-- role system prompts (consumed by the CLI)src/cli.ts-- theabstractSDK harness CLISYSTEM.md-- lab system prompt (replaces pi's default)skills/-- pi skills: procedures and standards, one directory per skillmanifesto.md-- human-facing philosophy
Install and link once:
cd /path/to/abstract && bun install && bun linkThen run the ensemble inside a research project directory:
abstractThis opens (or reattaches) a tmux session abs-<project-basename> with three
panes -- orchestrator, engineer, librarian -- each a peer pi process using this
repository as its agent directory, resuming the role's persistent session at
.pi/sessions/<role>.jsonl inside the project.