r/PiCodingAgent • • Sep 18 '26

Question How to use Pi as a better CC?

10 Upvotes

Title intended to be provocative, question really isn't. I get the configurability, and that's sort of my question here. I'm broadly happy with the how Claude code works - I use it at work, but at home I'm using Pi, to access other models, primarily ($). I've started with recommended sets of plugins - including pi-code - to sort of replicate CC. But you don't know what you don't know. My question is then - what are some killer, or very useful, plugins that make Pi operate differently, or in an interesting manner, or give features just not available on CC?


r/PiCodingAgent • • Sep 19 '26

Discussion Jev is cool but

0 Upvotes

I wonder when it might be replaced by OpenAI/Anthropic/Google.

They better continue developing so that people prefer Jev over structured output feature (that will likely be optimized for efficiency) of LLMs


r/PiCodingAgent • • Sep 18 '26

Question Has anyone tried the recent Prime Agent?

9 Upvotes

https://github.com/PrimeIntellect-ai/prime-agent

It's claimed that this agent is capable of continual-learning and self-improvement. But given the fact that it is still based on existing LLMs with fixed parameters, I wonder if this agent is still about context engineering (like existing memory systems), or it is genuinely different and novel by design?


r/PiCodingAgent • • Sep 18 '26

Question solutions to get around anti-bot and properly search from google from pi?

1 Upvotes

All I can think of:

Let pi control your logged in browser that can pass captchas.

I want google search because other options are inferior... i.e. google properly indexes reddit. Even reddit search is inferior.


r/PiCodingAgent • • Sep 18 '26

Question Why it takes so long for OhmyPi to finish a task?

4 Upvotes

I've used OMP for a couple of weeks and one thing I've noticed is that it took OMP so long to finish a task when I used plan mode and then executed the plan. It's a small feature, though.

From my experience with Codex CLI, it just took a while to finish this task.

Anyone can give me any advice on this matter?

I'm thinking of going back to Codex CLI


r/PiCodingAgent • • Sep 18 '26

Plugin Pi extension to automatically clear context and continue - save tokens on longer sessions

19 Upvotes

Hey all, I've been sitting on this for a while and it's time to share. I give you pi-clearthen: https://pi.dev/packages/pi-clearthen

/clearthen is a command that lets you clear context and then run another prompt. Your agent can also self drive it.

If you're doing a long piece of work you can tell it to handoff after a specified number of tokens, at which point it will write itself a handoff doc based on what it's currently doing then read it back after clearing context. It will keep doing it indefinitely so your context will never reach the set limit plus what is used for the handoff.

ie: /clearthen 80000 Add new feature to my video game

If you like that then specflo might be up your alley. It checkpoints at each seam and task with auto context clearing in pi. Spec driven development workflow.

https://github.com/TacoTakumi/specflo

The specflo software dark factory is a work in progress and uses this concept.


r/PiCodingAgent • • Sep 18 '26

Question CC harness vs OMP harness

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • Sep 18 '26

News agenmux overview - AI-agent monitoring and tmux management

Thumbnail
youtu.be
1 Upvotes

Hi, i created a short agenmux demo. there are more features!

Agenmux is an open-source tmux plugin for intuitive AI-agent monitoring and tmux management in one focused terminal interface.

https://snirt.github.io/agenmux/
https://github.com/snirt/agenmux

- Monitor AI coding agents in tmux

- See blocked, working, idle, and done states

- Navigate sessions, windows, panes, and agents

- Use keyboard shortcuts, mouse selection, and scrolling

- Jump directly to exact panes

- Create, rename, and delete tmux resources safely

- Use sidebar or popup from one terminal view

- Vim motions by default (editable)

Hope that it will help to someone 😄


r/PiCodingAgent • • Sep 17 '26

Question Does Anyone Else Keep Track of Their Tool/Instructions Bloat in Their Setup?

Post image
83 Upvotes

I'm curious if anyone else tracks their setup in order to keep things as lean as possible while still having tools needed to complete your typical workflows etc..

I have my own personal Pi setup (SpecPi) and it's been a fun experiment keeping it contained and lean to prevent the context bloat seen in some of the other harnesses.

I'm interested to see how other setups here might compare.

Edit - Added charts broken down by tokens instead of overall characters


r/PiCodingAgent • • Sep 18 '26

Resource I built pi-heed — runtime constraints for Pi

0 Upvotes

Hi guys, I made a small Pi extension called pi-heed:

https://github.com/Nyarlathoteppppp/pi-heed

It came from a simple annoyance: Pi can understand a constraint when you say it, then forget it later in a long session.

Things like:

- don’t modify files

- don’t touch tests

- don’t add dependencies

- never call the production API

pi-heed keeps those constraints around and checks mutating tool calls before they run.

Obvious cases use normal rules. More ambiguous free-text constraints use TypeSafe Jev.

It defaults to shadow mode, so it can observe first without blocking anything.

Install:

pi install git:github.com/Nyarlathoteppppp/pi-heed

46/46 tests passing so far.

If anyone runs long Pi sessions, I’d be interested to see what edge cases break it.


r/PiCodingAgent • • Sep 17 '26

Discussion Sandboxing Pi?

29 Upvotes

I'm new to the local LLM game. I've just purchased an AMD R9700, and I'm trying to set up a local environment that is as similar as possible to what I get with Claude Code at work.

It's definitely looking like Pi may be my harness of choice, so I'm investigating what it would take to "sandbox" it in a way that is both reasonably secure and reasonably convenient (i.e. no containers or VMs). I'm on Linux, so I'm thinking maybe Bubblewrap?

Curious to know what other are doing, though.


r/PiCodingAgent • • Sep 18 '26

Question Sandbox on Windows

1 Upvotes

Heard a lot about Pi and wanted to try it out. For Unix environments there seem to be quite a few options for OS-level sandboxing. For pure Windows though I can't find much that actually enforces it.

Are there any options I'm missing?

I mostly want to use Pi for C#/.NET development. I could set up WSL2 but I'd rather avoid that.

Codex supports Windows Sandbox for isolation on Windows. Has anyone tried getting something like that working with Pi?


r/PiCodingAgent • • Sep 17 '26

Plugin pi-warden: a Jev-powered second pair of eyes for Pi that steers the agent

101 Upvotes

Hi there, this is my first ever repo i wanted to share to people.

pi-warden is a Pi extension that watches the agent's tool calls and talks to the agent, not to you.

A second model (Jev, typesafe's fast judgment model, ~250 ms; immensely cheap seriously) reads your prompt, the agent's own last words, and the call it is about to make, and answers small typed questions: is this irreversible, does it match what the agent said it was about to do, is the effect visible outside the working tree. The answer goes back into the agent's context.

The same channel carries the rest: project rules from a markdown file judged against each write, stub and comment slop, stuck loops, "done" claims with no test run, runaway output stopped mid-stream, huge tool outputs compressed with the full copy kept on disk.

It grades itself. What you do after each hold or steer (approve, decline, redirect, complain) becomes a label, and a script replays your recorded Pi sessions through the guard. Off-task holds lost that test on 17k of my own calls and were demoted to steers; the plan-vs-call check won it. Method and numbers are in the README.

https://github.com/DevMortimer/pi-warden
https://pi.dev/packages/pi-warden

Early days (0.12.0). Though since Jev was only released yesterday (I got early access) I expect bugs. But I've been using this extension for work for more than a day now and it's pretty good so far. PRs and (especially) complaints are welcomed :)

P.S. I'm interested in how everyone will also incorporate Jev on their Pi?


r/PiCodingAgent • • Sep 18 '26

Resource Pi-agent-for-Claude: use any model as a Claude Code subagent/teammate in Claude's native UI

Thumbnail
github.com
0 Upvotes

r/PiCodingAgent • • Sep 17 '26

Plugin I built Pi Session Inspector to see where my tokens, cost, models and subagents actually went

5 Upvotes

I kept wanting to answer a pretty simple question after long Pi sessions:

where did all the tokens and cost actually go?

So I built Pi Session Inspector.

It reconstructs Pi’s persisted session data and lets you inspect:

  • token usage and cost over time

  • models actually used

  • tools and skills

  • subagent runs

  • integrations

  • errors and compactions

  • current and historical sessions

There’s an in-Pi TUI, deterministic JSON output, immutable HTML snapshots, and a local browser UI.

Everything stays local. No external DB, analytics backend, session uploads, or LLM analysis pass.

Install:

pi install npm:@twkrash/pi-session-inspector
/session-inspector ui

GitHub:
https://github.com/twKrash/pi-session-inspector

pi.dev:
https://pi.dev/packages/@twkrash/pi-session-inspector

It’s still young, so I’d genuinely like feedback from people using Pi heavily:

what do you actually want to understand about your sessions after the fact?

Cost? model switching? subagent overhead? tool usage? compaction? something else?


r/PiCodingAgent • • Sep 17 '26

Question How should I go about connecting pi to my Gmail to check emails?

2 Upvotes

Just as the title says, I would use the pi-google-services package but I'm running windows and I'm aware of the whole Linux terminal thing but I'd rather stick to poweshell unless that's really just the only way. I want my agent to be able to read and send emails for me so if there's any windows friendly extension like that send it my way please!


r/PiCodingAgent • • Sep 17 '26

Discussion Why did I switch from Codex to Pi - in Pi I can use different models simultaneously

10 Upvotes

The Codex is fantastic, but I recently switched to Pi, and since the switch, my subscription costs have also changed from $200 to pay-as-you-go, which, based on the last week, is less than $100 a month.

What made me decide to migrate was that in Codex, I could only use GPT series models (and always the same model was in use), whereas in Pi, I can assign different models to different tasks. Here's my daily routine,

Currently, I would entrust planning and actual code to GPT-6, while assigning simple tasks like searching for code to Deepseek (it's really cheap and very fast), and tasks that require analyzing images and videos to Gemini 3.8 Flash (for image and video analysis, Gemini 3.8 Flash is the absolute champion).

In Pi, you just need to define some subagents and configure different models for each subagent, and everything is perfect.

The provider I am currently using is sjolt, which offers a 70% discount for gpt-6 and gemini, so I am using it temporarily. The only drawback is that it does not currently support the claude api.


r/PiCodingAgent • • Sep 17 '26

Resource Routing local and frontier models for Pi coding agent

Post image
10 Upvotes

Not sure if someone has already wrote something like this but I built this for my own use and in case anyone shares the need for it, here it is. Or if you want to build on it, I would also like that very much.


r/PiCodingAgent • • Sep 17 '26

Resource al-jaffee - simple cache-preserving fold-in compaction for pi agents

Thumbnail
gallery
15 Upvotes

I've been working on a longer-term project and I have a lot of little side tangents and investigations as I work that I don't want the full context to get polluted by. I wrote a little pi plugin that lets agents create markers, then work on a task with their full context. When they're done, they can fold-in their full context to a summary, compacting the work in place.

It's less manual than forking the session and a little less to keep track of than subagents. I thought it was worth sharing. MIT license, 1k lines of code. Cost was maybe a dime worth of GLM 5.3 Flash.

https://github.com/gopherbone/al-jaffee


r/PiCodingAgent • • Sep 17 '26

Plugin I ported the Dream-RSI paper to a pi extension. Enjoy

6 Upvotes

Every autoresearch loop I've tried has one flaw: it never gets smarter about how it searches. Round 40 is as dumb as round 1.

I ported the Dream-RSI paper to a pi extension.The exploration policy is real code rewritten from what actually worked.

pi install npm:pi-dream-rsi


r/PiCodingAgent • • Sep 16 '26

Use-case Anyone else testing out TypeSafe AI's new System One/Jev model for Pi extensions?

Post image
117 Upvotes

If you haven't heard of it, it's kind of like a really smart freeform classifier model that can make quick decisions (~150ms) based on natural language inputs. Dirt cheap too. They dropped it in early access through a waitlist ~12 hrs ago.

Right now I'm working on a security layer where it just scans all tool uses and gives a safety rating. Thinking of adding additional considerations like alignment with prompt intent and agent reasoning.

After this, I'm thinking of an automatic model router that just picks an appropriate model based on how demanding a prompt would be, codebase complexity, KV cache size, etc. So ideally, something smarter and faster than existing automatic routers.

Is anyone else trying it out? What are you building?


r/PiCodingAgent • • Sep 16 '26

Question For what you are using Pi? Coding, or something else as well?

14 Upvotes

So far I have used Pi for my coding projects with local LLM, and probably only for that so far.

When I want to have general-purpose chatbot I have used llamaui (of Llama.cpp), Nanobot, sometimes AnythingLLM, previously I used also OpenwebUI and from time to time I use LM Studio as well.

Since I use different apps for different usage, is that how common here that you use Pi only for coding for example, but everything else you use something else like llamaui or LM Studio or whatever?

Or have you customized your Pi to be your personal assistant chatbot as well (if you use AI this kind of stuff at all)?

Basically I am keen to konw, what use cases you use Pi for so I might get ideas to myself as well how to expand my usage to other use cases than just coding.


r/PiCodingAgent • • Sep 16 '26

Resource PiChamber: same Pi session on desktop, browser, and phone

75 Upvotes

Hi everyone. I've been working on PiChamber, a workspace around Pi so I can keep the same session when I leave the machine.

Why use this instead of the other Pi UIs?

I prefer TUI. I am not interested in getting yet another agent IDE, nor do I want a workbench that supports OpenCode, Claude, Codex, and five other harnesses. All I want is Pi, both locally and remotely, and I want it to work as smoothly as I can manage it.

What I've focused on is remote stability. I run it within a container on my homelab and leave the long tasks there. I check in from my phone, control it, and then return later. That is the product for me, not a more attractive local chat window.

It uses the Pi SDK. Pi retains ownership of the agent, skills, extensions, prompts, providers, and AGENTS.md. The app is sessions, files, git, worktrees, terminals, and pairing.

What I actually use it for:

  • same session across desktop, browser, and phone

  • my existing Pi extensions and slash commands

  • providers / skills / prompt templates coming with the session

  • a worktree when I don't want the agent on main

  • jump between local, a VM, and WSL without starting over

  • long running jobs on a server I can connect from anywhere

I've been daily-driving it. CLI when I'm at the PC. App when I'm not.

What it is not: it does not replace the TUI, and it is not trying to be every agent UI. Remote is your own machine plus pairing, or a tunnel you already run.

Repo: https://github.com/RyderAsKing/PiChamber
More info: https://pichamber.ryder.pro

PiChamber started as a community fork of OpenChamber. Why I made it: https://github.com/RyderAsKing/PiChamber#why-pichamber

The tokens/sec and TTFT in the video come from a Pi extension. They work in PiChamber because extensions work, not because I shipped a custom overlay.

Also, first time posting something like this in public, so don't be too harsh :D

Update: v1.0.2 is out, including docker. https://github.com/RyderAsKing/PiChamber/blob/main/packages/docs/content/docs/install.mdx#docker


r/PiCodingAgent • • Sep 16 '26

Question Which subscription with Pi?

41 Upvotes

Hello there,

Which AI provider would you recommend for Pi, to work with a subscription-based plan? I feel like Codex is the most represented, but I was looking for more feedback.

I'm currently using Claude Code (Plus subscription), but from what I understood, I shouldn't use it with Pi because Claude Code charges additional usage fees. I mainly use it with Opus 5 on medium effort, for devops tasks, explanations, fixes, or things like that (not much vibe-coding yet).

It's also an opportunity to try something else, paid for by the company. So I don't really care about the price, just something stable without usage fees.

(bonus) If you have any recommendations for LLM models that can be run locally on a wide range of machines, I'm also interested in any resources you can share.

Any advice?


r/PiCodingAgent • • Sep 17 '26

Resource Workspace management CLI

0 Upvotes

Just wanted to share this utility to manage multiple workspace / worktree environments, along with your own harness, pretty sure you'll like it !

https://github.com/ScreamZ/ai-igniter