Skip to content

feat(agents): add Pi and agents built on it - #22

Merged
Quost merged 1 commit into
mainfrom
feat/pi-agent
Nov 11, 2026
Merged

Quost merged 1 commit into
mainfrom
feat/pi-agent

Conversation

@Quost

@Quost Quost commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Adds Pi (earendil-works/pi, pi CLI) to AI agents, the notch and the MCP server.

  • Usage from ~/.pi/agent/sessions/--<cwd>--/*.jsonl (header line has cwd; assistant message.usage {input, output, cacheRead, cacheWrite, cacheWrite1h, cost.total}, timestamp in ms), per the session-manager and ai types in Pi's source.
  • Agents built on Pi rename the config folder (piConfig.configDir) and some keep the same entries in a sessions.db (session_entries.payload_json). Menew looks for either layout under every hidden folder in the home directory (~/.<name>/agent), with no tool names in the code. Verified on a Pi-based wrapper on this Mac (SQLite layout); the JSONL layout is covered by a test built from Pi's source.
  • No shell hooks in Pi (TypeScript extensions only): shown from the pi process and recent log activity.
  • 95 tests pass. CHANGELOG 1.101.0, README and site (5 languages) updated.

🤖 Generated with Claude Code

Reads Pi sessions from ~/.pi/agent/sessions (JSONL) and from any hidden
folder with the same layout, including wrappers that keep the entries in
a sessions.db. Pi has no shell hooks, so it shows from its process and
recent log activity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Quost
Quost merged commit 04ab2e3 into main Nov 11, 2026
11 checks passed
@Quost
Quost deleted the feat/pi-agent branch November 11, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant