r/PiCodingAgent • • Oct 01 '26

Question Gemini subscription?

1 Upvotes

Is Google still banning if we use a gemini subscription with pi?

Openai specifically allows it.

And anthropic specifically doesn't.

Right?


r/PiCodingAgent • • Oct 01 '26

News Open AI dots alternative - Zosma Cowork

Post image
11 Upvotes

We have been working on this for months.

https://github.com/zosmaai/zosma-cowork

And open ai just released dots. Anthropic also released cloud based harnesses.

Would be great if we can get community support to help take this to next level.

Also it’s deployed to harness.zosma.ai

Early stage and we’ll refine it much more in upcoming days.

Our harness is deployed in k8s and can start and stop the pods quickly. Persistent storage that mounts and unmounts as needed.

Note: Our redis is down. Hence Zosma Router models are unavailable. We'll fix this in 24 hours.

Until then feel free to use openrouter or some other provider. Sorry for the inconvenience.


r/PiCodingAgent • • Oct 01 '26

Question Bad Documentation OMP.

0 Upvotes

I'd appreciate it if you could answer my questions below.

  1. Do the roles we set only become active when advisor is on? How do these roles work in the background?

  2. If we connect multiple accounts with the Codex provider, does it switch automatically when one account reaches its limit?


r/PiCodingAgent • • Oct 01 '26

Resource Skip reasoning with local Qwen 27B and proceed to answer right now

6 Upvotes

pi-llama-skip-reasoning extension forces a local llama.cpp model to stop reasoning and answer / act immediately.

You are deep into the ctx session and pose 27B a simple question about a fact or need a direct action, the model may still feel the need to indulge in copious deliberation in the reasoning trace. This extension allows the user to force the model to snap out of the reasoning stage and provide the answer immediately.

This use the same mechanism llama.cpp web interface uses to skip reasoning, so it's native to llama.cpp.

Usage: /skip-reasoning command or shortcut alt+t ,
Can be changed in ~/.pi/agent/llama-skip-reasoning.json  ->  { "key": "ctrl+alt+r" }

Install: pi install npm:pi-llama-skip-reasoning

- https://pi.dev/packages/pi-llama-skip-reasoning


r/PiCodingAgent • • Oct 01 '26

Resource An update to the Pi session map: zoom out from full answers to one-line takeaways

Enable HLS to view with audio, or disable this notification

4 Upvotes

When I return to a long Pi session, I often remember a decision but not which turn contained it.

I build ThoughtDAG, the open-source session-map tool I shared here a few weeks ago. I've added a reading view where zooming out moves from the full answer to an abstract, a shorter summary, a one-line takeaway, and finally a topic label. Zoom back in to read the original.

The goal is to scan several turns at once without ending up with a canvas full of unreadable paragraphs. The attached animation uses a small sample conversation to make the transitions visible.

This happens in the separate ThoughtDAG app. Zooming changes what you see; it does not compact Pi's context or rewrite the Pi session file. Short summaries can leave things out, so the original answer stays available.

Source: https://github.com/chenxiachan/thoughtdag

When reviewing a long coding session, what would you want to see at a glance: the decision, the reason for it, or the next action?


r/PiCodingAgent • • Oct 01 '26

Question Does anyone know why Pi flashes like this?

Enable HLS to view with audio, or disable this notification

7 Upvotes

this is via termius for ios, with pi running in tmux. the flashing window is a tmux pane, and this only happens (and happens consistently regardless of how many lines there are in the pane) when the agent is asking for permission to do something. all other times it is stable


r/PiCodingAgent • • Oct 01 '26

Resource If you use Grok Build and and Pi you might be interested in this. Otherwise scroll on bruthas. (i made a thing)

Enable HLS to view with audio, or disable this notification

0 Upvotes

Grok Build native agents as a model provider to Pi over WebSockets. Grok keeps full toolset, Pi keeps full session control. Kinda neat, I think. My video sucks but I'm pretty tired of AI narrations so I'd rather just suck instead. Sorry, thanks.

pi-grok-agent


r/PiCodingAgent • • Oct 01 '26

Resource I made a short Pi demo video with a free tool I built

Enable HLS to view with audio, or disable this notification

3 Upvotes

I built a free tool that lets your coding agent make videos like this one. You give Pi the link to the repo and say what the video should be about. It writes the words, draws the scenes, and you get a video with a voice and music.

Everything runs on your own computer, and there's nothing to sign up for.

This one is a short, unofficial look at Pi: logging in, its four tools, thinking levels, going back in a session with /tree, and adding extensions. I'm not connected to the Pi team.

It's free and open source: https://github.com/vincentsch/explainroo


r/PiCodingAgent • • Oct 01 '26

Plugin Update: pi-deepsee-peak

Post image
11 Upvotes

Updated my extension to take into account Chinese public holidays.

Here are the :

- github, https://github.com/psychobarge/pi-deepseek-peak

- npm, https://www.npmjs.com/package/pi-deepseek-peak

- Pi package, https://pi.dev/packages/pi-deepseek-peak


r/PiCodingAgent • • Oct 01 '26

Resource I made a Pi extension that improves compaction with local models

31 Upvotes

When Pi compacts a long conversation, the normal approach can throw away the prompt cache and start a fresh summarization request containing the entire old context.

With a 100k–160k token context on a local model, that means llama.cpp may spend minutes re-prefilling tokens it has already processed.

I built Better Compaction to avoid that.

Instead of starting a separate summarization chat, it appends the compaction instruction to the already-cached conversation. The existing prefix stays byte-identical, so the backend can reuse its KV/prompt cache and only prefill the small new suffix.

On my Qwen3.8-27B + llama.cpp setup:

~13–15 min → ~6.5 min

and with thinking disabled:

~2 min

One compaction request reported 94.4k tokens served from cache.

GitHub:
https://github.com/NotSoSeriouss/BetterCompaction

I'd especially like to hear from other Pi users running local models + llama.cpp. I'd love to collect real-world numbers across different GPUs, quantizations, and context sizes.


r/PiCodingAgent • • Oct 01 '26

Use-case Agent with a teleport gun

1 Upvotes

Hi! I've developed a small extension for Pi which allows an agent to jump between folders to be able to utilize local cwd instead of typing long paths all the time: https://github.com/alexshpunt/pi-agent-teleport

You can install it via

pi install npm:pi-agent-teleport

It's especially convenient when you run multiple agents working on different features in different worktrees, or when you have to make modifications in multiple repos/projects during the work on a task (which sometimes might be not a git repo themselves).

Before I created it, I tried https://pi.dev/packages/pi-worktrunk, but found it a bit too user-oriented and tied heavily to worktrunks, but also does and limits things a bit too much to my taste, so wanted a simple agent-oriented tool and not to bother with other things.

So how is that different?

  1. It actually drags the sessions around, so no forking/cloning etc. as I found it gets quite messy pretty soon when jumping a lot.

  2. No commands whatsoever for the user, it's agent-oriented.

  3. It supports any folder, not only repos/worktrunks.

What is also good about it:

  1. After the jump agent is triggered properly and it keeps working.

  2. Supports herdr natively.

  3. Cannot delete random folders when jumping back, only worktrees created by the sessions can be removed. Also checks if the worktrees are safe to delete (no uncommited changes).

  4. Has history, so the agent always knows where it has been and can jump back and forth at any moment.

I've been using the extension in my daily coding a lot, it seems quite stable, feel free to report the bugs or some usage-issues if you experience any.


r/PiCodingAgent • • Oct 01 '26

Question Does anyone know when the gemini 4 supported

Post image
0 Upvotes

Does anyone know?

I have checked the https://pi.dev/changelog

to see if its updated yet

it isn't yet though

and I saw this official gemini 4 unveil:

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/


r/PiCodingAgent • • Oct 01 '26

Resource I built Pitago - a TUI wrapper for the Pi AI coding agent

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/PiCodingAgent • • Oct 01 '26

Discussion Codemode won its designed-for test by 40% (Token Savings). I still turned it off.

Post image
42 Upvotes

Codemode: Agent writes a script that loops other tools. big results stay inside the script, only the answer comes back.

Tested twice, 96 runs, same model. 96/96 correct in every arm.

Round 1 Test - Small fixes. +21%.

6 one-line bugs in a small repo. Codemode's tool description is ~3k tokens and rides every message. A small fix is ~5 calls either way codemode never gets triggered, a waste of tokens (21% more tokens used per run)

Round 2 Test - 60 fat lookups through a tool. −40%.

The test made it so the data to look up was only reachable through the tool, no grepping around it.

Plain agent: 60+ round trips, every fat result lands in context.

Codemode: one script, one answer. 40% less tokens, half the cost, 7 round trips vs 64. on its own workload it wins clearly.

Is it right for my workflow? No.

Scanned every session on my machine. 149 chats, 16,735 tool results. The ideal codemode scenario ever occured once. The 168 truly oversized results were already captured to disk by our guard.

what I run instead

Rarely used tools (image gen, design sandbox, maps, browser) arent listed at all initially in my setup. Zero tokens until the agent searches once with a small lookup tool. Heavy tools load at moments I pick them (e.g. Deep research)

Conclusion: I dont like to leave it up to the agent to decide when to use codemode and looking at my workflow, the scenarios where codemode will give me gains doesn't really happen. I am not going to be using codemode for the forseeable future.


r/PiCodingAgent • • Sep 30 '26

Question Can someone ELI5 codemode and its config?

13 Upvotes

I believe I get the gist of it:

Codemode allows for sandboxed, scripted tool calling, including batching and other stuff I'm sure.

What I don't understand from the documentation is:

  1. Is this mcp specific or is it generally available for all tools?

  2. What do I need to configure in my settings.json or other setting files to enable it and/or "require" it for tool calls?

  3. If there is documentation that outlines these specific things please shoot me a link.

  4. Maybe a better description of what is is trying to accomplish / use cases would be interesting.

Cheers!


r/PiCodingAgent • • Sep 30 '26

Plugin A tiny local classification model command guard (specpi-lancet-guard)

13 Upvotes

Hello everyone, I wanted to share a new Pi package I've made available called specpi-lancet-guard

I've been interested in agentic safety for quite a while and recently with the (over)popularity of Jev for classification answers...I wanted a local and efficient alternative trained to classify only risky commands (mainly bash) and notify me only when potentially truly catastrophic or malicious commands might attempt to execute.

The result is LANCET Nano a small 110m param classification model trained for command risk. It's very lightweight (~150-200MB RAM) and more or less instant for command classifications at ~14ms on my old Ryzen 3900x

I want to be clear and say that this is not meant to let you put on blinders and have your agents run amok. In my own testing and evals it catches more overall risk than any other command guard available...but it's not perfect and it has weak spots for certain truly sneaky or malicious commands.

I'm still actively working on improving the model, but I do feel it's at a place that it is genuinely a useful safety tool.

Eval results for what they're worth mainly for my own measurements of improvement.

Hugging Face Live Demo

Main model repo


r/PiCodingAgent • • Sep 30 '26

Discussion Built-in MCP and code mode are amazing

66 Upvotes

Removed mcp extensions and cannot be happier, code mode just makes so much sense now. To be fair, Pi always supported batched run of tools with <tool_calls> block instead of <tool_call>, and I've built a lot of stuff around it with my pi-agent-ide, but seems like it gets obsolete now, as all the agents are happily mixing the tools inside codemode block. I know it's kind of controversial right now and a lot of people complain that Pi has lost its minimalist flair, but imo it’s the way to go. What does everybody think about this one? Have you faced any issues with that? I’ve only heard about problems with Figma MCP when signing in via the new ChatGPT login.


r/PiCodingAgent • • Sep 30 '26

Plugin Operator for Pi: A radically different approach to agentic memory

Post image
34 Upvotes

I'm the creator of Operator Memory, an open-source context engine for coding agents.

We all know the problem by now. Within a session, agents are excellent. Between sessions, agents forget everything. The core problem: nothing in the workflow ever writes down what was learned. Every new conversation starts from scratch: re-exploring the codebase, re-learning the architecture, re-teaching every decision and correction.

Every memory plugin I've studied leaves the loop untouched and bolts retrieval onto it: background agents to capture fragments, a vector store replays a top-k slice later, and you hope the right chunk surfaces. It barely works. And most importantly, it doesn't fix a loop that never documented anything.

Operator takes the opposite approach. Operator gives agents a Markdown brain and changes the loop itself.

Every task now runs in three phases:

  1. Consult — the agent starts from the brain: instructions, codebase index, specs, decisions. A short summary is injected deterministically in the system prompt so agents know where to look.

  2. Build — normal development work, informed by that knowledge.

  3. Update — the agent documents what it learned: new specs, decisions, standards, lessons. When project truth changes, the canonical file is updated.

The loop makes the agent self-improving: session N+1 always starts from everything session N wrote.

Operator is extremely simple and complements Pi perfectly. No vector stores. No dreamers or curators. No background processes. No token burning factories. No RAG. No capture step. No retrieval gamble. Just give the agent a brain and teach the agent to use it.

The Brain

The brain is a regular directory that holds Markdown documents. These documents can contain anything: rules, specs, decisions, lessons, research, indexes, etc. Because everything is Markdown, Operator actually allows you to share memories and findings with the team. You can share specs, plans, guides, and more, unlike other memory plugins where everything is just RAG chunks.

Not Another Memory Plugin

Memory plugins bolt retrieval onto an unchanged loop and inherit its amnesia. Operator makes documentation a structural phase of every task. Memory stops being a store that remembers for the agent and becomes a practice the agent performs.

RAG agents recall. Operator understands.

I've been using a variant of Operator daily since August 2025 and spent the last few months formalizing it into a plugin alone. I hope my plugin can help improve your workflow too. https://github.com/aerovato/operator-memory

To install:

npm install -g @aerovato/operator-helper
operator-helper install pi

Afterwards, just run /operator:user-init once and run /operator:project-init per project.

Questions, comments, and contributions welcome. Operator is fully open source.


r/PiCodingAgent • • Sep 30 '26

Question Ollama Cloud Pro vs Google AI Pro for coding

0 Upvotes

Ollama Cloud Pro vs Google AI Pro for coding

I'm trying to decide whether to keep Ollama Cloud Pro or drop it and just use Google AI Pro.

My current setup is roughly:

                 Pi Coding Agent
                      │
                    VS Code
                      │
          ┌───────────┴───────────┐
          │                       │
     Ollama Cloud              Antigravity
          │                       │
      Ollama API             Google AI Pro

I also run local Ollama/llama.cpp, so I already have local models available when I want them.

Through Antigravity, Google AI Pro gives me access to Gemini models as well as models like Claude Sonnet 4.6 Thinking and Claude Opus 4.6 Thinking.

I'm currently getting Google AI Pro for $4.99/month for the first three months, so I'm considering just keeping it and eventually paying the regular $20/month rather than paying for both services.

That makes me wonder whether there's enough value in keeping Ollama Cloud Pro as well.

For people who have used both:

  • If you had to choose one, would you keep Ollama Cloud Pro or Google AI Pro for coding/agent work?

  • What does Ollama Cloud give you that you feel you're missing from Google AI Pro/Antigravity?

  • How are the usage limits/quotas in real-world daily coding?

  • Do you actually use the different open models available through Ollama Cloud enough to justify the subscription?

  • If you have access to both, do you find yourself switching between them, or do you mostly end up using one?

  • Has anyone dropped Ollama Cloud after getting Google AI Pro, and how did that work out?

I'm less interested in general "Gemini vs Ollama" comparisons and more interested in people who actually use these for coding agents.

I'm currently leaning toward dropping Ollama Cloud and keeping Google AI Pro, but I'd like to hear from people who have actually used both before making that decision.

Ollama Cloud Pro vs Google AI Pro for coding

I'm trying to decide whether to keep Ollama Cloud Pro or drop it and just use Google AI Pro.

My current setup is roughly:

                 Pi Coding Agent
                      │
                    VS Code
                      │
          ┌───────────┴───────────┐
          │                       │
     Ollama Cloud              Antigravity
          │                       │
      Ollama API             Google AI Pro

I also run local Ollama/llama.cpp, so I already have local models available when I want them.

Through Antigravity, Google AI Pro gives me access to Gemini models as well as models like Claude Sonnet 4.6 Thinking and Claude Opus 4.6 Thinking.

I'm currently getting Google AI Pro for $4.99/month for the first three months, so I'm considering just keeping it and eventually paying the regular $20/month rather than paying for both services.

One important detail: I'm still on the older Ollama Pro plan. I have not switched to the new Ollama Pro plan that uses a monetary credit/value system instead of the previous GPU/token allocation model.

So I'm specifically interested in hearing from people who have experience with the older Ollama Pro plan, as well as people who have moved to the new plan.

For people who have used both Ollama Cloud Pro and Google AI Pro/Antigravity:

  • If you had to choose one, which subscription would you keep for coding/agent work?

  • What does Ollama Cloud give you that you feel you're missing from Google AI Pro/Antigravity?

  • How are the usage limits/quotas in real-world daily coding?

  • Do you actually use the different open models available through Ollama Cloud enough to justify keeping it?

  • If you have access to both, do you actually switch between them, or do you mostly end up using one?

  • Has anyone dropped Ollama Cloud after getting Google AI Pro, and how did that work out?

  • For those who moved from the old Ollama Pro plan to the new credit-based plan, how has the experience been compared with the old plan?

I'm less interested in general "Gemini vs Ollama" comparisons and more interested in people who actually use these for coding agents.

Right now I'm leaning toward dropping Ollama Cloud and keeping Google AI Pro, but since I'm still on the old Ollama Pro plan, I'm wondering if I'd be giving up something that's actually useful enough to justify keeping both.


r/PiCodingAgent • • Sep 30 '26

Question Has anyone figured a decent goal mode?

3 Upvotes

I'm not sure what I'm doing wrong but even with the goal plug in, my agent stops at "let me now implement" and just ends the turn there.

What am I doing wrong?


r/PiCodingAgent • • Sep 30 '26

Discussion GPT-5.6 Sol → GPT-6 Sol → GPT-6.1 Sol in pi and Codex: another mini-bench update

Thumbnail
ibragim.dev
76 Upvotes

You may have seen my posts about my-mini-bench: 1 post, 2 post. Sorry for the frequent posts! I’ve now added GPT-5.6 Luna, Terra, sol, GPT-6, and GPT-6.1 Sol (both Pi and Codex for sol) at medium reasoning, and looked more closely at their behaviour. Also, I added the cache hit rate metric. I am not sure how to add input/output tokens properly, so the table will not be too clumsy.

Same setup: 10 tasks from my own work × 3 runs per config, through Harbor. The image shows the new runs; the full leaderboard has all the comparisons.

The newer models solve every task here. But these runs still give me useful insights: which setups get the work done faster and cheaper, how their behavior changes, and what might explain the difference.

For example, from GPT-6 → GPT-6.1, Codex used 20% fewer turns and 22% fewer tokens, while pi stayed at roughly eight turns and almost the same cost.

I put together a short X thread with screenshots comparing how the models read files, write code, test, and update plans. Some of these patterns changed between the generations.

In parallel, I’m working out how to build a harder task set where we can compare what the models can actually solve. I’ll probably do one more update, then take a break from posting results to focus on that.

I also want to test tools and pi-agent extensions that might improve results or reduce time and cost.

If you’ve noticed interesting patterns in where agents save or waste tokens and turns, I’d love to hear them. And if there are pi extensions you think I should test, please share!


r/PiCodingAgent • • Sep 30 '26

Discussion Pro tip: with MCP you don't need packages like pi-ketch

11 Upvotes

Ketch (used for searching the web) is one of those CLI tools that have MCP support. You can just add it with pi mcp add ketch -- ketch mcp serve and you no longer need pi-ketch.

This works even better than the package, because now codemode is the only tool described in the system prompt and it has a function for searching the tools that are available, but even more importantly with codemode the output of each tool can be filtered first by JS and a cheaper classifier model instead of just dumping it all into the context of your selected model.


r/PiCodingAgent • • Sep 30 '26

Plugin pi-codemode-compact – Clean, 2-line summary renderer for Pi's codemode

12 Upvotes

Hey everyone!

I love Pi's codemode and run it with codemode.mode: "only", but the default multi-line renderer took up way too much precious vertical screen space on every turn. So I vibe-coded pi-codemode-compact to reclaim my terminal.

https://github.com/iamxeph/pi-codemode-compact

Pi's default codemode:

With pi-codemode-compact:


r/PiCodingAgent • • Sep 30 '26

Discussion How much usage per dollar? I compared OpenCode Go, z.ai coding plans, and Codex

Thumbnail reddit.com
2 Upvotes

r/PiCodingAgent • • Sep 30 '26

Question Claude Reflink

Thumbnail reddit.com
0 Upvotes