r/PiCodingAgent • • 2h ago

Question Does Pi /thinking send reasoning effort field?

2 Upvotes

I noticed that when using Pi Agent with my custom local server (often llama.cpp), /thinking displays a token budget near to the thinking level name: ex. low(2k) medium(4k). I also never set the reasoning_effort field in llama server. Does Pi only send a reasoning budget (token limit) or does it also send the reasoning effort field, effectively changing the thinking level? Should I set reasoning effort in llama server?


r/PiCodingAgent • • 6h ago

Use-case Pi Table and Selection

4 Upvotes
  • Selections copy the source, no more wrap line breaks and gutters.

    • The demo copies the rendered text, but can get raw Markdown.
  • Spreadsheet like interaction:

    • drag stays inside one cell until you leave it, then becomes a rectangle of cells.
    • double-click selects one cell
    • triple-click one row
    • copies as TSV.

Tested on pi 1.8.0 and does a lot of patching.

Code currently not shared, just a fun demo, idk how practical it is.


r/PiCodingAgent • • 6h ago

Question How to get AI to make a good test suite

5 Upvotes

I'm not entirely sure where to look, so this is a bit of a long shot, general inquiry I've had on my mind. I understand that more people are doing some form of verification to ensure that their agent produces working, bug-free code, but how do you actually go about building the tests, and what does the test building pipeline look like? I have this slight uneasy feeling that if I have the same agent/subagent working on a testing suite for a codebase, there might be ways for the agent to cheat around loopholes, or it simply may design weak tests. Designing tests by hand seems like a way to go, but it defeats the purpose of using the LLMs for automatic a complex workflow. Any ideas on this? Would love any reading material, papers, books that you have on this topic!


r/PiCodingAgent • • 8h ago

Plugin Agent On-Demand; Use multiple local models without keeping them all loaded

Post image
0 Upvotes

I've been trying to utilize my local GPU with different local models, but I couldn't run them all at once and it was a pain to keep starting and stopping them manually.

I built Agent On-Demand, an open-source OhMyPi (OMP) extension that makes local models available as native providers and manages their inference engines automatically.

  • Configure multiple models and select them directly in OMP.
  • Assign different models to coding, reviewing, research, or the default roles.
  • Share a port to run models sequentially, or use different ports to run them concurrently if your hardware allows.
  • Automatically start the engine when needed and release its resources when the agent finishes.
  • Verify model identity and GPU execution without silent fallback to CPU-only or hosted inference.

Currently supports llama.cpp, tqLLM, Project Maya, and Strata, with qualified configurations documented in the README.

It's MIT-licensed and currently supports OMP 19.4.0 and 19.4.1 on Linux.

I originally built this to share GPU resources between local agents and ML research workloads, but figured others might find it useful.

Feedback and contributions are welcome!

https://github.com/davidandrewcope/agent-ondemand

I have not tested it in pi.dev, but I'm sure it could be modified to support it if anyone is interested.


r/PiCodingAgent • • 10h ago

Discussion Why I Uninstalled Pi After 15 Minutes: Constructive Criticism

0 Upvotes

Disclaimer: It’s just my opinion. I don’t want to gaslight anyone. I hope this experience makes your life as an agentic overlord a little bit easier.

OK, let's start with a bit of context.

I started programming back in the .NET Framework 2.0 days. Since then, I've written hundreds of thousands of lines of code in .NET C#, a lot less in C and C++, and a bit less in JS. So yeah, I'm the old dude shouting at the clouds that things used to be better.

Let me be totally honest here: I don't think agentic software development—or agentic work in general—will prevail. The reason is simple: LLMs are not humans, and even now, in December 2026, they still make a ton of mistakes and then feed on those mistakes to create a whole new batch of mistakes.

In the meantime, you're sitting there watching a stream of pointless "reasoning" pour out of a stochastic token predictor, wondering how much more productive you've supposedly become. And once the agent is done—oh boy, grab a shovel: let the unslopping begin! Even if there are no immediate bugs to fix, you commit and push the code with that eerie feeling you're going to regret it—because the next time it shatters in production, you'll be the one digging through the mud to get it working again.

Listen, this isn't about you as an individual user; it's about the whole system. That's a longer conversation, though. Here, in the PI space, let's focus on PI and why it's just more of the same Node.js-style software we'll all forget about in a year's time. Okay, that was harsh—let's pretend I didn't write that.

Throughout the week, I've been test-driving various harnesses, including popular ones (Claws, Codex, etc.), obscure ones (Mimo Code), and, last but not least, PI. I ran them through typical tasks: fixing a bash script, writing a tool to monitor outgoing connections on a VPS, fixing some .NET C# code, and doing research.

I used GLM for everything because it's cheap and it's good—like, good-and-cheap good. I don't earn my paycheck by prompting Fable to "improve the conversion rate in our mobile slop app." I write actual software. In today's world, that's a statement that makes people less likely to invite you to parties—mostly because, more often than not, you're already unemployed.

Anyhow, all these harnesses share the exact same problem: they are designed to burn tokens. Burn tokens, burn some more, and only then do what you actually asked them to do.

What I liked about Mimo Code is that it actually has a skill to uninstall itself. I got so angry that I shouted at it, "That's it, I'm done, get the fuck out of here," and it uninstalled itself. Now, PI doesn't offer this feature yet—I get it, it's the leanest of the bunch.

So why did I uninstall it? Because I asked it to add a private endpoint, and it burned 4M tokens instead of just asking me for the endpoint URL and API key. Yep, it wrote a bunch of scripts to scrape the provider's web page—even using visual reasoning—just to arrive at the conclusion that it needed an endpoint URL and an API key. When I asked whether it was a model problem or the system prompt, it said it was the system instructions. So I asked, "How so? You're supposed to be the leanest of them all," and it replied: "I was designed to do a thorough investigation."

T h o r o u g h—that is the key word here. Because that is the exact magic word that makes ALL of them behave the same way.

Imagine this: I ran a test with Microsoft Copilot. I had an endpoint mapping in an ASP.NET app and asked, "Hey, I need a client IP address here—not the proxy one, the real one."

Wait for it… wait… it burned 800,000 tokens and took over 20 minutes to generate a response.

12 lines of code.

Then I went to a popular router, jumped into a chat, prompted it myself, and got a response in 4 seconds for 4K tokens.

Let that sink in.

PI is the same—it’s not about the name, the author, or the technology. It’s the mindset behind these things.

So that's it, guys. PI is just yet another product designed to keep this industry spinning indefinitely by burning your tokens on stuff you didn't ask for, didn't want, and never even imagined it would burn tokens on.

You can hate me now.


r/PiCodingAgent • • 14h ago

Plugin pi-cowboy now supports Herdr app

4 Upvotes

pi-cowboy is a cross-harness orchestrator for pi. Break large jobs into focused subtasks, mix and match coding harnesses (like Claude, Codex, OpenCode, and more), hand them off to background agents running in parallel, and consolidate the results when they finish. Each agent runs in an isolated copy-on-write Git worktree, minimising disk overhead. (I got you Rust devs 😉)

Since my last update, thanks to feedback and contributions from the community, a lot of the issues were ironed out and pi-cowboy has evolved into an orchestration power tool. Alongside Herdr TUI, it now also supports Herdr App as a multiplexer backend.

New feature highlights

Herdr App backend

pi-cowboy works with Herdr App now as well as the Herdr TUI. Both are supported out of the box. There is nothing to configure, and it works exactly the same way in both of them. I've been using it with the new Herdr mobile app and it is a huge improvement over SSH. Terminal UIs just don't translate well to mobile. The Herdr mobile app gives you a proper mobile form factor and UX. I was skeptical about Herdr App in the beginning, but now I see the point.

Persistent orchestration state

This was one of the biggest pain points of pi-cowboy. You would lose the entire orchestration state if you had to reload or restart the session. Now, the orchestration state is persisted in the session file and reconciled on each reload, so you never lose this state, and it never goes out of sync with the agents being orchestrated. Looking back, I would not have released pi-cowboy without this in the first place.

Handover

You can move an agent's work to a different harness without starting over. Say you run out of Claude Code usage halfway through a task. Hand the agent over to Codex and it carries on from where it stopped, with the earlier conversation already loaded. There is nothing to copy, paste or explain again.

No-inference tooling

The /cowboy menu lets you do the orchestration yourself. Spawn an agent by hand and choose its harness, model, thinking level and worktree. Check what is running, read the results, merge branches, hand over, export, stop and clean up. These menu actions run no inference at all, so using them will cost 0 tokens.

Plugins

Harnesses and multiplexers are now pluggable. Say you want to run agents in tmux instead of Herdr, or bring in a coding agent that pi-cowboy doesn't support. You can now write your own pi-cowboy plugin for either. Check out the plugin documentation if you want to know more.

Install: pi install npm:pi-cowboy (requires herdr 0.8+ or Herdr App)

Check out the source code and documentation

Check out the demo


r/PiCodingAgent • • 17h ago

Resource Pi Octec and Pi Chamber Rust

1 Upvotes

I am building Pi Chamber Rust which uses Pi Octec (Pi Rust) back end.

My question is:

1.) How is Pi Octec going? Are many of you using it?

2.) Would anyone be able to help me out with Pi Chamber Rust public release in maybe 1-2 weeks after I have finished what I’m doing with a build for me to use on this end? The build I am doing focuses on parity between my current Pi Chamber and Pi Chamber Rust that uses Octec back end with support for the top skills, plugins and MCPs that I personally use. So public release needs sanitisation, security audit and possibly a lot more.

I do need some help here before doing any public release. If no one wants to help, my friend is a principle software engineer and can help a bit.

I was hoping to find someone interested to help that likes to use Pi Chamber already I guess.


r/PiCodingAgent • • 22h ago

Question Need Guidance: To Run PI on VPS + using different Models Subs

1 Upvotes

Hello

I need some guidance, as i want to run PI on VPS... what kind of specs should i have, i will run multi agent also at times.

Also is Ubuntu OS fine, or should chose some other OS in VPS.

My planned VPS will be in Europe.

I am not residing in Europe. Now the Subs which i will connect from PI (which is VPS) will their be any issues that might flag, that i subscribed to model Subs from different country and now its being utilized from different country (from PI harness in VPS in europe).

Also how are other consumers using Claude Sub, Gemini Sub (i think a new policy came yesterday - but still dubious), with PI Harness?

Using GLM , DeepSeek, Kimi.. they have no issues with PI ?


r/PiCodingAgent • • 1d ago

Question Is pi resending again an again the last pushed prompt?

0 Upvotes

I'm running a very clean (only web-access) pi with llama-server and qwen3.8 (swift1.5, IQ3_S, MTP), no parallel, 90k ctx q8/q4.

But I'm getting this type of messages again and again:

"The user sent the same table for the third time."

(times passes in its turns)

"The user sent the table for the 4th time."

it keeps incrementing, sometimes I reached to the point that it looks like a prank

"The user has sent the same table for the 11th time."

I only send "the table" one time (the first).

this is my config

[ukisai/Swift-1.5-Qwen3.8-27B-GSQ-RCO-GGUF:MTP]
hf                    = ukisai/Swift-1.5-Qwen3.8-27B-GSQ-RCO-GGUF:IQ3_S
ctx-size              = 90000
n-gpu-layers          = all
flash-attn            = on
agent                 = on
cache-type-k          = q8_0
cache-type-v          = q4_0
parallel              = 1
no-mmproj             = 1
fit		      = off
reasoning             = on
reasoning-format      = deepseek
jinja                 = on
chat-template-file    = R:/huggingface/templates/qwen38_chat_template_froggeric.jinja
load-mode             = none
device                = CUDA0
temperature           = 1.0
top-p                 = 0.95
top-k                 = 20
repeat-penalty        = 1.001
spec-type	      = draft-mtp,ngram-mod
spec-draft-n-max      = 3
no-reasoning-preserve = 1
cache-ram             = 0
reasoning-effort      = medium

what am I doing wrong?


r/PiCodingAgent • • 1d ago

Question counting tokens

Post image
4 Upvotes

did this session go through nearly 1M or 153M tokens in this session?


r/PiCodingAgent • • 1d ago

Resource One-time podman containers for Pi

15 Upvotes

Hey guys becaues Pi documentation advises to use containers for Pi usage I created a simple bash script as a center command for my workflow and figured out I'd share here - https://github.com/intpl/sandpi It basically mounts current directory in a disposable container (will destroy after exiting the Pi process), also binds the Pi config directory as read-write, also binds user ~/.agents directory read-only. I use Linux on desktop and servers so this workflow is great for me - I just run around my filesystem running `sandpi` everywhere. Maybe somebody wants to reuse or share a better solution. I created a simple blogpost and recorded a video of me talking as an explanation of why and how - https://gladecki.pl/technical/sandpi/
It happened to me many times before than the agent was doing weird stuff with my system (with OpenCode and omp too) and that's why i created this.

A friend of mine suggested I should have used Nvidia OpenShell but that's an absolute overkill imo.

Btw are there any humans on Reddit anymore?


r/PiCodingAgent • • 1d ago

Use-case We stopped selling "AI tools" and built an agent that uses the company's actual systems. Here is what broke.

0 Upvotes

I run a small AI company in India. For a year we sold the usual thing: a chat interface, some prompt templates, a pilot that looked great in a demo and died a month later.

The pattern we kept hitting was not a model problem. It was three smaller ones.

  1. The systems. The data we needed was in Tally, a CRM, a bank portal and one government site that has never had an API. No amount of prompting fixes that. We ended up doing it the way a person does: API where one exists, computer use for an old Windows app, a browser session for the rest.
  2. The permission. A finance answer is worthless if the agent cannot say who approved it. We put every consequential action behind a human approval in an inbox, and every source it read into an audit trail. That slowed the demo down and made the product real.
  3. The model. We were picking models by vibes. Now a router picks per step: one model for extraction, another for a long document, another for the numbers. It is boring and it is most of the quality.

The thing that surprised me: the longest part of every deployment was writing down how the work actually flows, not building the agents. Our engineers sit with each team for a week and the agent comes last.

We filmed the product running, no mockups, 2.5 minutes. Happy to answer anything about the routing, the computer-use side, or how we scope the approvals.

(Mods: happy to remove the link if it does not belong here. Not posting it unless someone asks.)

Built on top of pi with some inspiration from plannotator-inbox


r/PiCodingAgent • • 1d ago

Discussion Do you use a customized system prompt?

5 Upvotes

After having read https://www.reddit.com/r/PiCodingAgent/comments/1yavqv3/how_to_write_a_system_prompt_for_pi_agent/ I’m wondering if I’m missing out using the default pi system prompt when using it as a coding agent with the latest frontier models. So far I have these kind of instructions in my global agents.md file instead.

So I’m curious. Do you use a customized system prompt? If so what did you put in there and did you find a significant difference between having such instructions in agents.md vs the system prompt? Any downsides?


r/PiCodingAgent • • 1d ago

Question Need Guidance: To Run PI on VPS + using different Models Subs

0 Upvotes

Hello

I need some guidance, as i want to run PI on VPS... what kind of specs should i have, i will run multi agent also at times.
Also is Ubuntu OS fine, or should chose some other OS in VPS.

My planned VPS will be in Europe.

I am not residing in Europe. Now the Subs which i will connect from PI (which is VPS) will their be any issues that might flag, that i subscribed to model Subs from different country and now its being utilized from different country (from PI harness in VPS in europe).

Also how are other consumers using Claude Sub, Gemini Sub (i think a new policy came yesterday - but still dubious), with PI Harness?

Using GLM , DeepSeek, Kimi.. they have no issues with PI ?


r/PiCodingAgent • • 1d ago

Resource I built Pi Desktop, a Windows app for coding with local models

0 Upvotes

I wanted to use Pi with my own model server and keep chats organized by project. With Pi Desktop, you point it at a server like llama.cpp, pick a project folder, and start a chat. Pi comes bundled with the app.

The part I cared about most was seeing what the agent actually changed. After a run, you can open the diff, leave a comment on a specific line, and send it back to the agent. You can also have the agent ask before it edits anything.

The latest release can run Windows apps on a separate desktop for testing, with a window preview you can open from Pi Desktop. You can also open your chats in a browser over HTTPS.

It’s MIT-licensed and comes as a portable ZIP for Windows x64. The screenshots are from a demo project.

Source and downloads

https://github.com/Regrad/pi-desktop

If you use local models for coding on Windows, I’d like to know what you’d miss from your current setup.


r/PiCodingAgent • • 1d ago

Resource omfp: a framework where agents build your UIs and workflows (built on oh-my-pi)

22 Upvotes

I love Emacs and the fact that it enables a feedback loop where you keep tweaking Emacs itself to improve your workflow while you are in the workflow. I wanted to achieve something similar when orchestrating agents.

Over the last year almost all of my work has become giving instructions to agents, watching them operate, or asking them to explain things to me so I can make better-informed decisions. While models and agents keep improving, I think there is still a big gap to close, and that gap is precisely usability and user experience: why always use the same interface for jobs that are very different from each other?

That's why I decided to build omfp: a minimal core of components for creating interfaces and workflows around AI agents, a framework for iterating and experimenting with different interfaces and workflows that lets me steer my agents more easily.

In practical terms it's very simple. The agent loop and the tools are delegated to the excellent oh-my-pi, and so is the integration with the various providers like Anthropic or OpenAI (you can use their subscriptions), while omfp provides a persistent daemon that orchestrates omp sessions and gives them tools to modify, in real time, the interfaces of the clients connected to it. Technically it's a Rust daemon that talks to oh-my-pi over RPC and a web client written in React; there is also a Tauri client for tighter integration with the operating system.

omfp is deliberately as trivial and workflow-agnostic as possible. The minimal unit of work is a workspace, i.e. a folder (it doesn't even need to be a repo) that holds your work (repositories, worktrees, documents, whatever you like) and where threads, i.e. sessions with agents, are started. Agents can also declare, inside a .omfp folder in the workspace, the workspace's views, jobs and keybindings (personally I'm a fan of Helix-style modal keybindings, but you're completely free). Views are screens that combine various React components that agents write freely, while jobs are tasks scheduled by omfp that either start threads or run commands directly.

You can probably achieve the same with the tools you already use (I was already doing something similar with oh-my-pi), but omfp gives agents a consistent graphical toolkit and a set of predefined widgets, reusable and modifiable, which makes the feedback loop much faster; agents can also load components into views directly, without reloading.

I've been using it for a few weeks now and it's making agent orchestration work not boring again. Some friends showed me other projects that do similar things, like herdr or deepseek-harness, but honestly omfp beats them on customizability and on the speed of this feedback loop (ok, maybe I'm biased).

Of course, like any hardcore Emacs user, I ended up re-implementing my entire operating system inside omfp, so now I literally use it for everything. Here are some examples of things I built from inside omfp, just by asking my agents while using it (none of them touched omfp's own code):

  • a nightly job that rereads all my conversations and proposes issues to open on omfp, based on the friction the agents ran into while using its tools and modifying its interface
  • clicking on a PR opens a tab showing the GitHub diffs/comments, while a background job splits the diffs logically and comments on them, explaining what they do and giving context
  • a kanban board of the actions I need to take, generated automatically from emails, messages, Slack, etc., with text fields built into each item to reply directly
  • cards right in the chat that show the progress of some frequent actions (like deploying NixOS machines)
  • another card in the chat to unlock the ssh-agent by entering the passphrase
  • an email client
  • a unified messaging client for WhatsApp/Telegram/Discord/Signal (it uses Matrix bridges under the hood)
  • a browser (Tauri can create webviews, so omfp can too; this is very haram, I'm not sure it's a good idea) into which omfp can inject JS and so act directly on the pages:

    • web pages follow the theme I configure in omfp
    • I have a vibe-coded adblocker
    • Bitwarden is integrated
    • I can duplicate the current page with a custom prompt each time, for example asking to rewrite the content stripping out the marketing fluff; it's done in JS, so it keeps the formatting

It probably goes without saying, but omfp is entirely LLM-written: it has been developed inside omfp itself since version 0.1.

I'm very curious to hear your comments. omfp is, of course, entirely free software under the GPL-3.0, and it's available for Linux and macOS: I mostly use it on NixOS, but I've also tried it on macOS. To install it, just ask your agent, or see the README: https://github.com/aciceri/omfp

That's all, happy hacking!


r/PiCodingAgent • • 1d ago

Question Asking only Pi users. Claude or Gemini for supplementing Pi chinese models?

1 Upvotes

I'm mainly a deepseek or GLM user. I use the Claude SDK bridge to have opus as a code reviewer.

Is it worth (ugh) installing antigravity cli and supplementing with that? Or just stick with claude?

How are usage limits vs Claude? I never use subagents which lets me usage go pretty far normally.


r/PiCodingAgent • • 2d ago

Resource How to Write a System Prompt for Pi Agent

Thumbnail
brucehopkins.dev
93 Upvotes

One of my most requested articles after my first one. I go into depth on how to construct a system prompt for Pi, what system prompts usually contain, and your options for customizing your prompt.

This was a difficult article to write. There are infinite numbers of ways you can craft a system prompt, and there are only a few top-end agents to set a standard. So I will update this post based on popular requests. Let me know if there's any part of this that you would like to be explored more.


r/PiCodingAgent • • 2d ago

Resource Give your agent a full machine, sandbox, and secret hiding

10 Upvotes

Yesterday I created this. It's pretty easy to setup and works well for my specific tool stack.

It's much simpler and feature-less than similar projects (e.g. coi) but it is also much simpler to setup and prepare.

Any feedback is appreciated!

https://github.com/00sapo/apptainer4agents


r/PiCodingAgent • • 2d ago

Plugin afield - Access pi from a phone or browser...with a twist. Streams the entire terminal so ALL pi features work including custom extensions, themes, and commands. Self-hosted and supports multiplayer.

Thumbnail
github.com
9 Upvotes

r/PiCodingAgent • • 2d ago

Resource A simple overlay palette for Pi package management

Post image
0 Upvotes

r/PiCodingAgent • • 2d ago

Discussion A Pi virtual model that hands Opus → Sol mid-task, with a local decision model making the call

0 Upvotes

I registered a virtual model in Pi called Relay (router/relay) — no fork, just an extension using pi.registerVirtualModel(). One conversation, two hosted models:
Opus does the planning: reading files, working out where the change goes.
Once a small local decision model says "yes, the user asked for a change" and "yes, the agent has read enough", the next request goes to Sol (gpt-6.2-sol), which sees everything Opus already read — tool results included — and makes the first edit.
Small follow-ups ("say 'No results' instead") stay on Sol; a genuinely new question routes back to Opus.
The handoff isn't a chat prompt. d3:4b runs locally in Ollama via the System One classify endpoint and answers yes/no questions with probabilities ("did I ask for a change?", "has the agent read enough to edit?", "is this just a small correction?"). Plain code owns the cutoffs (0.9 readiness, 0.8 correction) and the fallbacks: if Ollama is down, times out, or returns something unusable, that one request just stays on the current model — a failed check never strands the turn.
The writeup covers the route() excerpt, registering a classifier model with Ollama in Pi, routing compaction summaries to a cheaper Sonnet (so the summary doesn't burn Opus tokens), and the context-window math when switching from a 1M-token model to a 500k one (reserveTokens: 68000 → compacts at 432k).
Honest caveat: no benchmarks, no claim this is optimal — just how I mix providers to avoid one model's blind spots.
Full post with code: https://khanetor.github.io/posts/pi-virtual-model-relay/
Has anyone else split planning vs coding across two models in a single session? What would you route differently?


r/PiCodingAgent • • 2d ago

Resource PI Taskbus: organize work into tasks and checkpoints.

0 Upvotes
pi-taskbus architecture

To begin, I'm new to reddit and sadly I'm not a English native speaker. Hope you may selectively ignore some of my gramma mistakes. I wrote this by myself.

In many main stream coding agents like claude code or codex, they have task panels to keep track of the whole task and help user keep up with the current progress. However, in many cases the task system failed to provide useful signals. For example, when facing a really tricky task, the agent may be sunk in the loop of checking and fixing, and for half an hour the task panel does not change a bit, but during the time the agent really did a lot of job. It is just not trackable for you.

I am a pi user though, the pi task panel extension does fail as well. This motivated me to build Taskbus. So my first idea is each llm tool call should be combined with a task (or checkpoint, which means more find-grained task that is splited from a task), so you get to know what the agent is currently doing. And also, when a checkpoint is spent too many turns and still not completed, we should automatically suggest the agent to split the checkpoint for better transparency of its work.

You can view pi-taskbus as some kind of smart gateway of llm tool calls. The pi agent could only call task_run with the leaf task ID to request tool execution. When no task is setup, the agent literally could do nothing. It has to use task_manage to create task and checkpoint (in the latest version, it has to carry a time budget number), after which it could begin to use them for tool execution. After the first relevant tool call is established, the time begins to count. The agent has to complete the checkpoint within the time budget, or ask for more time budget at the cost of confidence. When confidence is low, taskbus would suggest the agent to split the checkpoint. Each tool call will reduce the confidence as well.

The mechanism may looks complicated, but i still hope you give it a try and hopefully you may find it useful. Thanks for reading this.

https://github.com/Moonhalf383/pi-taskbus

(If you don't mind, a star would be really helpful to me.)


r/PiCodingAgent • • 3d ago

News Antigravity TOS Update

97 Upvotes

Antigravity was rumored to be planning an update to their TOS this week and it looks like that’s now happened.

First update is they clarified that TOS violations that lead to a ban will only affect your Antigravity account and not your whole Google account. This comes in response to a number of people on Twitter claiming that they had their entire Google account locked in response to alleged Antigravity TOS violations.

The second update is they’ve expanded what is now permitted as far as 3rd party harnesses (directly relevant to Pi). Exact text is below (emphasis mine):

Do not abuse, harm, interfere with, or disrupt the Service. This includes, but is not limited to: (a) using entitlements or credentials (such as OAuth tokens) provided by the Antigravity service directly within third-party software, tools, or services outside the official Antigravity runtime; (b) modifying or bypassing the Antigravity runtime, or repurposing the Antigravity harness to act as a raw model proxy for an external agent loop or inference backend; or (c) sharing, pooling, or reselling individual entitlements across multiple users. However, running the unmodified Antigravity harness through its supported interfaces—such as wrapping it with a third-party UI (e.g., via agent client protocol), calling it as a tool or subagent from another harness, using the Antigravity CLI in headless mode, or configuring it through supported customization and extension mechanisms (such as custom agents, MCP servers, skills, rules, hooks, plugins, or supported prompt extensions)—is permitted. Violations may result in suspension of your Antigravity access with an appeal path for re-enablement. This will have no impact on your broader Google account.

Based on that, it sounds like any antigravity extension for Pi that routes through the Antigravity ACP or just calls the agy cli is no longer a TOS violation.

I’d still give Google a few days to get their shit together before I try this out, but this is definitely a welcome change.


r/PiCodingAgent • • 3d ago

Question Running pi as part of a multi-agent host platform

0 Upvotes

Hey everyone!

I've been building an open-source, self-hosted platform for running multiple AI agents, and pi is one of the agents I've integrated natively through its SDK (`@earendil-works/pi-ai` and `@earendil-works/pi-coding-agent`).

The idea is to run agent sessions on your own machine or a remote server, while allowing you (or your team) to interact with the same session from different clients (terminal, browser, desktop, or phone). Sessions keep running even when you disconnect, and you can pick up where you left off from another device.

The platform also supports scheduled tasks, webhooks, persistent bots, isolated environments, and workflows involving multiple agents.

One of the things I particularly like about pi is its philosophy of keeping the core small, hackable, and extensible. Rather than replacing that experience, I want to build around it while staying as close to native pi as possible.

So far, I've made a few deliberate choices:

  • pi uses its own settings and credentials, with the option to provide or override them through the host's configuration.
  • Sessions are stored in pi's native format and location. You can open them using pi directly, and vice versa.
  • Project extensions are loaded only from directories you trust.
  • The host manages execution and connectivity around pi, rather than reinventing the agent itself.

I'd love to hear from people who use pi regularly, especially those who have built their own workflows around it.

  • Do you run pi on remote machines and what do you use to keep sessions accessible and running?
  • Would interacting with the same session from multiple devices or collaborating with others be useful to you?
  • Do you work with long-lived sessions? How do you handle compaction, loading large sessions, context growth, and cleanup?
  • Which parts of pi do you find yourself extending or customizing most often?
  • Have you built or do you rely on extensions or automations that you couldn't imagine working without?
  • What would you consider essential to preserve when running pi through a host? What would be an immediate dealbreaker?

I'm also curious whether anyone else is building something similar on top of pi's SDK, or exploring use cases beyond coding.

I'd love to exchange ideas about what we can build around pi without losing what makes it pi in the first place.

The project is called **ahpd**, and it's open source: https://github.com/ahpio/ahpd

Feedback, ideas, and contributions are welcome.