Skip to main content
piloop watch is a terminal app over the database. It shows every project, or one project with piloop watch <project>. It reads the database again whenever the daemon or an agent writes to it.

The screens

The first screen lists every project, the active ones first. Press enter to open one, and esc to come back. It shows one row per project: its status, the head and its gain over the baseline, the live agents, the ready ideas, the inbox, the tokens and the last event. A project has a header, four panels on the left, and the main pane on the right, which shows the selected row in full: A campaign in piloop watch: the inbox, agents, ideas and candidates on the left, the selected row on the right These screens are from the enwik8 example campaign after its 10 runs. The Candidates panel, with the head selected: The candidates panel and a kept candidate's verdict The Ideas panel, with an idea that research wrote from the losses it measured: The ideas panel and research's hypothesis and plan for an idea The header shows the head, the number of keeps and the tokens. The second line shows the progress against [stop], and the spend against [spend] when the project has a budget. With several tracks, one more line shows each track.

Panels and keys

These keys work on the screen of a project. ? and q also work on the list of projects.

What the keys write

Each key writes as PILOOP_ACTOR, which is human unless you set it. The events table records the write like any other.
  • Acknowledge does what piloop inbox ack does.
  • Reply asks for the text and a priority (default 2). It writes a decision comment that replies to the first item of the thread. The orchestrator’s next wait returns with it, and the orchestrator acknowledges it after it applies it.
  • Steer types text into the agent’s pane, as piloop prompt does. It needs the Herdr runtime. Herdr refuses while the agent waits on a dialog. Press enter to go to the agent’s tab and answer the dialog.
  • Approve, park and reject ask why. Each one writes the status change and a note on the idea with the reason. A seed cannot be approved: research develops it into an idea first (piloop idea develop).

In Herdr

By default, the agents run as background processes. To see every agent in a terminal pane, install Herdr and set runtime = "herdr" in piloop.toml. Then piloop has its own Herdr session, piloop, with one workspace for each project. The first tab of a workspace is home: a shell on the left and piloop watch <project> on the right. Each agent gets its own tab, named after its role, its id and its idea:
piloop attach <worker-id> opens an agent’s tab from any terminal.