r/PiCodingAgent • • Sep 12 '26

Discussion Surprisingly, Still seeing real demand for V4 Flash. V4.1 is free to use now.

42 Upvotes

We expected V4.1 Flash to quickly take over, but that’s not what we’re seeing.

We’re still seeing strong demand for V4 Flash, and feedback from users has been surprisingly mixed on whether V4.1 is actually the better model for their workloads.

So we’re opening up DeepSeek V4.1 Flash for free on InferX

Yes, we maintain ZDR. .


r/PiCodingAgent • • Aug 30 '26

Question what's your favorite Pi extensions

42 Upvotes

r/PiCodingAgent • • Aug 25 '26

Plugin I’ve replaced pi-hermes-memory with pi-memory and now the LLM behaviour is super consistent.

42 Upvotes

No more forgetting about tools, skipping working agreements and taking breaks to consolidate memory.


r/PiCodingAgent • • Aug 13 '26

Use-case Finally figured out how to get away from my desk when I have long tasks running

Post image
42 Upvotes

From idea to reality in under an hour. Pure vibes. Viva la Pi


r/PiCodingAgent • • Aug 12 '26

Plugin pi-web-agent is essentially feature-complete now, Tavily and Exa are the last backends that were added

42 Upvotes

Last time I posted I was thinking out loud about which hosted backend to add next, Tavily first and maybe Exa after, and asking whether people wanted them as full answer engines or just as discovery. My bias was to keep them discovery-only and let web_explore stay in charge of fetching, ranking evidence, caveats and synthesis.

Both are in now, and they're discovery-only like I said I'd keep them. They surface candidate sources, web_explore still reads the actual pages and decides whether the evidence holds up or needs a caveat. Set TAVILY_API_KEY or EXA_API_KEY, pick it from Settings, keys stay in env instead of getting written into config files.

---

The things I'm weighing next are going deeper on evidence quality (cross-source dedup, conflict detection, recency), adding caching for repeated research or just keeping it focused and maintaining it.

If you're using this, what would you actually want? And if you tried it and it broke somewhere, that's the more useful thing to hear.

---

Repo: https://github.com/demigodmode/pi-web-agent

npm:

npm i @demigodmode/pi-web-agent

r/PiCodingAgent • • Jun 26 '26

Discussion DeepSeek with Pi is amazing. I burned over 1.08 billion tokens for only $6.25. If I used the same number of tokens with any other AI, it would have cost at least $200.

42 Upvotes

r/PiCodingAgent • • May 27 '26

News I truly believe Pi will be the default platform for all future AI project, become something like a Linux

42 Upvotes

Just as Linux became the invisible foundation beneath virtually every web server and modern application, I believe Pi will become the foundational layer for AI-native apps, abstracting away the right complexity so you can stay focused on what actually matters: the experience you're building for your users.

To test that thesis, I built Keb, a Chrome extension running on the Pi ecosystem. Honestly, something like this would have taken me weeks to ship from scratch. With Pi, I had it working in hours.

It's been useful enough that I use it daily. Would love for you to try it and tell me what you think, all feedback welcome.


r/PiCodingAgent • • May 25 '26

Resource I built Pi Insights, find where you waste tokens and time in your Pi harness

42 Upvotes

I use Pi as my coding harness for basically all my coding now. After a few months I had 400+ sessions and no idea what was actually working. Was I using the right model for each task? Was I repeating the same mistakes? idk

I thought claude code's /insights was cool, so I built it with a clean room implementation, but it wasn't good enough. Claude wants you to burn as many tokens as possible, I have no such incentive so I added tokens wastage section, created it to be like a retrospective report that compares this week to last week.

It also tells you what to stop doing. Most tools just suggest new things to try. This one looks at your actual sessions and says "you used Opus 47 times for single-file edits, that cost you $14 more than Sonnet would have" or "you retry this pattern 3x per session on average, here's why it keeps failing."

How it works if your interested, here is a tldr; it extracts deterministic stats from each session (tokens, tools, git ops, errors), then runs a short LLM call per session to classify the goal/outcome/friction. Then it aggregates everything with exponential decay (recent sessions matter more) and runs 8 focused prompts in parallel to generate different report sections. The whole thing caches aggressively, so re-runs are fast.

To prevent redundant changes it also checks what you already have installed (skills, extensions, AGENTS.md) so it won't suggest things you already use in your harness

Install:

pi install npm:@observal/pi-insights

Run: /pi-insights

Opens an HTML report in your browser. No server, no signup, runs locally.

Source: https://github.com/BlazeUp-AI/pi-insights (Star and throw some contributions this way if your interested, or fork and customize it to your hearts desires)

I built this as part of a bigger project (Observal, agent observability platform) but this extension is fully standalone. Would love feedback on what else would be useful to surface from session data.


r/PiCodingAgent • • May 11 '26

Plugin You can do basic web-search with just two simple cli tools

42 Upvotes

Hi! I was looking at the web search options available in the pi ecosystem and most of them wrap some API or require config..

I just want my tool to be able to

  1. Run a search query via a search provider

  2. Fetch pages preferably as markdown

For this I found that there exist two boring tools that work well together:

  1. The duckduckgo commandline tool ddgr. This is just one sudo apt install ddgr away

  2. The super weirdly named trafilatura tool. This is a python tool that extracts text content from a url. Has lots of options for presentation and what to include/exclude. pip install trafilatura.. I suppose? I use NixOS so I dunno how to install this globally with Python. Python is hell.

What is trafilatura?

It's a commandline tool that extract meaningful content from a web-page. It's been actively maintained for over 9 years (probably longer?), and its primary use-case is to help with academic research. I suppose it's usually useful for researchers to do scraping.

Anyway, it is rich, mature, old and just a cli tool. It supports markdown output, regular output, a mode to show very little content, a mode to show more content. You can choose to include/exclude links etc.


Anyway. If you wrap these in a simple extension you get 100% local search that works for the common use-case of "just quickly look something up on a forum, documentation, wikipedia or Github".

I haven't looked into how to publish this as an extension, but if people like it I could package it up.

This is the extension as a gist if anyone wants to try it.

https://gist.github.com/Azeirah/9375fb67c5aee6ca1b7e046f8b7cf0cd

Trafilatura has been configured to do:

  1. Show links

  2. Show markdown

  3. Show the concise output, so not the verbose output. I did that to save tokens


r/PiCodingAgent • • Oct 04 '26

News Morse — a chat UI for the pi coding agent (VS Code + browser, MIT)

Thumbnail
gallery
41 Upvotes

I use pi daily but wanted tabs, image pasting and a scrollable transcript, so I built a frontend for it. Morse doesn't reimplement the agent — it spawns pi --mode rpc and reuses your ~/.pi config.

  • npm i -g @supanadit/morse-web && morse start, or the VS Code extension

  • multi-session/multi-project with warm sessions, @mention files and dirs, image paste, steer/abort mid-task, model and thinking pickers

  • keyboard-driven, real transcript with tool timelines, works the same in both hosts

It's a nicer way to stay in flow with pi. Free, MIT: https://github.com/supanadit/morse — feedback very welcome.


r/PiCodingAgent • • Aug 19 '26

Question Subagent extensions

41 Upvotes

Can you recommend me a simple yet configurable subagent extension? I'm currently testing `pi-subagents` but i find it slow and bloated. What are you guys using?


r/PiCodingAgent • • Jul 27 '26

Discussion Are you using pi on mobile?

Post image
41 Upvotes

I use Pi from my Android phone through tmux + TermRover (a terminal app I’m building).

With a good tmux scrolling support + ability to send images, working with Pi is just very pleasant.

Curious how everyone else is using Pi on mobile, if at all? SSH app? Or Just waiting until you’re back at a laptop?


r/PiCodingAgent • • Jul 08 '26

Resource We just added Pi to our runtime agnostic Claude Managed Agents alternative

Post image
41 Upvotes

We're building a durable runtime for agents, and recently, we shipped adding Pi as a runtime!

Some highlights on how it works and what it runs on:

- It's built on top of our QEMU based elastic VM’s purpose built for agents

- Supports Pi, Claude and Codex (ofc)

- Slack and GH as channels for now (I built my own Claude tag for eg, you could build internal agents like Ramp's Inspect or Stripe Minions)

- Use playground via managedagents.sh or API (docs here)

We'd really appreciate your feedback, it comes with a bunch of free credits so please kick the tyres, roast it and tell me what sucks!


r/PiCodingAgent • • Jun 02 '26

News Updates on the pi-llm-wiki.

Post image
41 Upvotes

First of all I would like to thank the Reddit communication of subReddit PiCodingAgent.

Your feedback helped me make this llm-wiki better.

It was broken for a while and honest feedback from this community gave me the motivation to fix those issues.

It’s working good for me as well.

I’ve shipped few updates on how the wiki recall, retro and observations happen.

Let me know your throughs.

Here is the repo link.

https://github.com/zosmaai/pi-llm-wiki.

https://pi.dev/packages/@zosmaai/pi-llm-wiki

You can also checkout other OpenSource projects we are working on.


r/PiCodingAgent • • May 08 '26

Use-case Embed pi in your terminal shell

41 Upvotes

I recently built a tool that lets you to embed your pi inside a custom shell. The shell supports multiple agent backends, but I found it works best with pi due to pi's extensibility. This shell should work like any ordinary shell but with one keystroke you can summon pi and it will have full contextual awareness of what's happening in your shell, without copy pasting.

If this looks useful, feel free to try it out!

npm install -g agent-sh
agent-sh install pi-bridge
agent-sh --backend pi

No additional setup needed. Would love to hear your feedback!


r/PiCodingAgent • • Oct 14 '26

Plugin Make Pi agents natively create their own git worktree for every task (bare checkout, main is read-only)

40 Upvotes

I run several Pi sessions on one repo at the same time. That kept going wrong:

  • Agents edit main. You ask for a quick fix and it lands straight on main.

  • MCP is slow for worktree management. But in Pi we can put blazing-fast native worktree management into the harness.

  • Sessions collide. Two agents in one folder, and one `git stash` wipes the other's work.

  • (Sub)agents need to cd constantly. They need to cd for all commands, wasting tokens.

  • New worktrees don't run. No `.env`, no keys, so the app won't start.

So I built pi-bare-worktrees. The video shows it in about 45 seconds.

Why a bare checkout

In a normal checkout, the repo root is main. Every agent that starts there edits main by default. Worktrees end up wherever you put them: ../acme-login, ~/tmp/fix-2.

And main is stuck in the root, so you can't move it or remove it.

A bare checkout fixes that. Every branch is a folder, and none of them is special:

       acme/
       ├── .bare/          bare repo
       ├── .shared-env/    gitignored files/folders to share, like .env
       ├── main/
       ├── feat/login-typo/
       └── fix/footer/

The path is the branch name. There's no code in the root to edit by accident.

What the plugin does

  • main is read-only. The agent's first edit on main is blocked, with a message that tells it to call worktree create. It does, and the retry lands in the new worktree.

  • No cd needed. After create, every tool call is routed into the worktree, so the model keeps using relative paths.

  • Shared env, zero config. Every file in .shared-env/ is symlinked into each new worktree. Real files are never overwritten.

  • Subagents follow along. Their cwd is set to the active worktree.

Install:

pi install npm:@jordyvanvorselen/pi-bare-worktrees

It's fast. Session start and tool calls don't run git. The plugin reads the filesystem instead:

  • Session start: about 5 ms for 40 worktrees.

  • Each tool call: string operations only, under 0.1 ms.

  • Network: only /wt clean touches it.

Repo: https://github.com/jordyvanvorselen/pi-bare-worktrees

/wt off turns it off for a session, and it turns itself off for non-bare checkouts automatically.

It's version 0.1, so I'd love your feedback, especially if there's anything you still miss. Try it out and take it for a spin!


r/PiCodingAgent • • Sep 10 '26

Discussion Who uses Pi — what do you like about it?

40 Upvotes

I’d heard about the Pi, that it’s a great way to customize tools to suit yourself and save tokens. I don’t know about token savings, but I tried using Gemini 3.8 flash inside it, and I didn’t like how it wrote code.

For a while, I tried to refine the Pi using Codex and Claude, ran various tests, and thought that the whole problem was with Gemini. I would really find it convenient if several AI models were inside a single harness, but right now I suspect that’s exactly the problem, despite all the attempts to refine it.

I opened the classic Antigravity CLI, and the results seem much better. I don’t like the Antigravity desktop app — it’s also kind of weak. I hope a miracle will happen and the CLI will turn out to be a lifesaver. Gemini attracts me with its slightly higher limits, even though I’m a Claude fan.

What do you think? What’s your experience?


r/PiCodingAgent • • Aug 03 '26

Question Want pi-llm-wiki to have OKF v0.2 update?

Post image
40 Upvotes

Thanks to everyone who has encouraged me to maintain this project.

As an upgrade, I was planning to introduce the OKF v0.2.

Let me know your thoughts in comments.

Thank you community for all your support so far.

https://github.com/zosmaai/pi-llm-wiki


r/PiCodingAgent • • Jul 27 '26

Question Subagents and orchestration ...

40 Upvotes

Looking for some pointers. Been using Pi for months, have a setup I really like (very simple, two extensions I wrote plus plannotator and pi-herdr).

This works great for interactive sessions but I'm finally finding myself wanting some basic orchestration with subagents.

I'm building a product and need to do a bunch of testing/fixing rounds with different models to find rough edges. I've been doing this by hand but it's getting tedious (and it's mostly simple enough that it could run while I'm doing something else).

I also like the idea of:

  • a long lived orchestration agent that holds long term context but doesn't do work.

  • scouts that can cheaply get context and pass that back to workers.

  • automatic adversarial review of changes by a different model.

I've looked at a bunch of plugins and they all seem much more complicated than required. Should I just suck it up and using Nico's pi-subagents? Or is there a nice, simple starting point that I'm missing?

Any pointers appreciated.


r/PiCodingAgent • • Jun 26 '26

Question context-mode is adding 15k tokens to every request — is this expected?

40 Upvotes

I was looking into why my Pi sessions were burning so many tokens and found that context-mode alone injects ~15k tokens into the system prompt. Every turn. Even when I'm not using any context features.

It loads 5+ skills with full reference files (anti-patterns.md, patterns-javascript.md, patterns-python.md, etc.) plus spawns an MCP child process at startup. Removing it from my packages array dropped my baseline from ~35k to ~20k instantly.

Is anyone actually using context-mode features every session? Or do most of you just leave it installed because it came with the defaults? Feels like this should be on-demand rather than always-on.


r/PiCodingAgent • • Oct 24 '26

Question Claude with Pi

39 Upvotes

Hi,

Currently got a Claude Pro subscription and wondering how the usage works out with

  1. Claude Code

  2. Pi with pi-claude-bridge

  3. Pi with pi-anthropic-auth

I understand it's against ToS to use try to use consumer claude subscription in another harness but curious on why it's popular. Aside from the system prompt control over the harness, is there any benefit over extending usage or maximizing the Pro subscription with these approaches?


r/PiCodingAgent • • Oct 19 '26

Plugin I built a Pi extension so I can work on my servers without setting up Pi on each VPS

39 Upvotes

I often need my AI coding tools on a server, but I don't want to paste server IPs or passwords into chat. I also don't want to install Pi and set up my tools again on every new machine, especially when I only need to deploy something or check a remote project.

I built pi-remote-workspace so I can keep using my local Pi session and switch its coding tools to the server over SSH. It's inspired by Warp's remote workflow, but built around the way I use Pi.

I run /remote, enter my connection details in a private form, and connect. Passwords are entered in a masked prompt instead of chat. Pi stays on my computer with my model login and conversation, while file reads, edits, and shell commands run on the server. Pi doesn't need to be installed there.

For my work and startup, I use this when I've finished something locally and need to deploy it. I switch to the server, ask Pi to handle the deployment and check that it's working, then use /remote stop to return to my local workspace. Connecting doesn't upload the project by itself, so I still use my normal Git or deployment process to get the code there.

The private login keeps passwords out of chat and model context, though remote files and command output can still expose sensitive details. Commands have the permissions of your SSH account, so be careful with production servers. Pi also still runs on your computer; it won't keep working independently after you shut the laptop.

Install it with:

pi install npm:@utpalsinghdev/pi-remote-workspace

GitHub: https://github.com/utpalsinghdev/pi-extensions/tree/main/packages/pi-remote-workspace

npm: https://www.npmjs.com/package/@utpalsinghdev/pi-remote-workspace

The rest of the UI in the demo is my personal setup.

I'm just open-sourcing the Pi extensions I use for work and my startup. They've helped me a lot, and I want other people to be able to use them too.

If it deserves a star, the repo is https://github.com/utpalsinghdev/pi-extensions


r/PiCodingAgent • • Aug 10 '26

Plugin CodePi - I Integrated PI Coding Agent into VSCode Extension

Post image
39 Upvotes

Hi all,

Today I released CodePi, an extension for VSCode for PI coding agent. As opposed to existing extensions, it brings the familiar pi's TUI experience straight into vscode. Your existing setup (~/.pi) will work out of the box!

Extension:

marketplace.visualstudio.com/items?itemName=lutrarutra.code-pi

Github:

github.com/lutrarutra/codepi

Why i built this extension:

  • It sees my current files, selection, Git changes, and VS Code diagnostics (warnings and errors).

  • Edits show up as diffs I can review, accept, or reject.

  • Sessions live in editor tabs and survive reloads.

  • Built-in Ask/Plan/Implement modes and bash ask/allow/disable feature make it safer to use.

  • It keeps the agent, terminal, tasks, and editor workflow in one place.

  • Color indicator to see the state of the session (busy, idle, waiting for user input/question)

  • SSH support; pi is bundled with the extension, so no need to install pi agent on every remote server

Any suggestions or feedback issues appreciated on here or Github!

p.s. I am not affiliated with pi.dev


r/PiCodingAgent • • Aug 05 '26

News pi-llm-wiki v0.11.0 adds native OKF v0.2 support

Thumbnail
gallery
39 Upvotes

pi-llm-wiki v0.11.0 now supports native Open Knowledge Format v0.2.

Highlights:

  • Canonical OKF documents for new vaults

  • Standard Markdown links and stable citations

  • Deterministic indexes and logs

  • Legacy and OKF dual-read compatibility

  • Shared Pi/MCP knowledge model

  • Safer vault-layout migration with no-clobber moves and recovery journals

Install:

  pi install npm:@zosmaai/[email protected]

For an old .wiki/ layout, preview first:

  node node_modules/@zosmaai/pi-llm-wiki/scripts/migrate-llm-wiki.js \
    /path/to/vault --dry-run

Apply after reviewing:

  node node_modules/@zosmaai/pi-llm-wiki/scripts/migrate-llm-wiki.js \
    /path/to/vault --force

This migrates the directory layout, not legacy page content. Full OKF adoption is incremental: create an OKF vault, re-ingest source material, and explicitly port selected pages. Existing legacy pages remain readable alongside OKF pages.

Always back up first.

GitHub Link -> https://github.com/zosmaai/pi-llm-wiki

Pi Package Link -> https://pi.dev/packages/@zosmaai/pi-llm-wiki


r/PiCodingAgent • • Jun 12 '26

Question Does Pi's minimalism actually pay off on Terminal-Bench?

39 Upvotes

I've been trying out Pi for about a week, though not very frequently since I need to hit my ai subscription 5-hour limit first. Recently, I got curious about its performance, so I did some quick searches.

Mario Zechner's blog post on building pi makes a case for radical minimalism: near-empty system prompt, four tools (read/write/edit/bash), no MCP, no sub-agents, no plan mode. He ran Terminal-Bench 2.0 with Claude Opus 4.5, showing pi at ~50%. (Claude says that the actual score for Pi is 47.87%, not '~50%'. Mario's results.json gist shows a mean of 0.4786516853932584 (out of 428 valid trials, with 71 errors). )

For context, here are all the Opus 4.5 entries on the current Terminal-Bench 2.0 leaderboard:

AgentScore
Droid63.1% ±2.7
Letta Code59.1% ±2.4
Mux58.4%
Terminus 257.8% ±2.5
Goose54.3% ±2.6
Claude Code52.1% ±2.5
OpenHands51.9% ±2.9
OpenCode51.7%

Pi sits below Claude Code and about 8 points below Terminus 2, with the same underlying model.

Mario cites Terminus 2 in the same post as "more evidence that a minimal approach can do just as well." The description fits — Terminus 2 has no structured tools at all, just raw keystrokes into a tmux session. But it scores 8 points higher than pi with the same model. If the thesis is "less is more," Terminus 2 makes the case better than pi does. Mario uses it as supporting evidence without addressing why his own agent lags behind it by a meaningful margin.

None of this means pi is a bad tool. Benchmarks don't capture context efficiency, extensibility, or daily workflow ergonomics, all of which Mario documents carefully. But on the one quantitative metric he chose to present, pi underperforms most of the agents it's positioned against — including the one he cites as validation.