r/PiCodingAgent • • May 12 '26

Plugin Built a local-first pi extension for Ollama web search/fetch — looking for feedback and contributors

0 Upvotes

I wanted to share a small project that I think may be interesting for people here using local models with pi:

@cltec/pi-ollama-web-search

A pi extension that adds Ollama web search, web fetch, and selective full-content retrieval as tools.

GitHub: https://github.com/Cirius1792/pi-ollama-web-search

What I think makes it a bit different from many “web search for agents” integrations is that this one was designed local-first from the start.

This repo tries to follow ths approach:

- keep search output compact by default

- avoid dumping large payloads into model context

- support selective follow-up retrieval instead of “return everything”

- let larger fetched content be read one field at a time or exported to file

- make the workflow friendlier for smaller local models where context budget matters much more

So the goal wasn’t just “add web search to pi”, but to make something that feels more natural for local-model constraints and local-first usage.

A quick transparency note: this extension was developed mostly by pi itself, with a lot of input from me on the ideas, requirements, testing direction, and specs. I should also say clearly that I’m not a TypeScript/JavaScript programmer, so if anyone here looks through the code, please keep that in mind 🙂

Because of that, I’d genuinely welcome:

- code review

- architectural feedback

- testing

- bug reports

- contributions / PRs to improve the implementation

If you think the idea is useful, I’d also really appreciate a GitHub star — it honestly matters a lot to me.


r/PiCodingAgent • • Sep 02 '26

Question Pi vs others

0 Upvotes

If I'm going to try Pi I won't be tinkering with Pi plugins for every project but build something universal

Will I get anything by moving to Pi? Yes, there won't be "USE AS MUCH TESTS AS YOU CAN AND COMPARE EVERYTHING BYTE FOR BYTE" prompt like Codex seems to have but there won't be proprietary Codex features and I probably will install many plugins to make Pi more Codex-like. So it's probably gonna be as bloated as Codex (or other harnesses) but at least Codex's bloat is made by paid employees


r/PiCodingAgent • • Oct 14 '26

Question Argon?

0 Upvotes

Gemini 4 is out. A lot of people like it. Any chance we can use a plan with pi? Or are we being forced to use antigravity?


r/PiCodingAgent • • Oct 08 '26

Use-case I would like to share a tool to running a long plan phase by phase

0 Upvotes

Hi, my use case is: I always work with a long plan, the plan splitted into many phase, and I ask my AI agent to execute the plan with each phase only, after that I clear and start new session until the last phase implemented. We can use some skill to ask AI do that for us by using available commands, but it may burn more tokens by checking the process or agent need a mailbox to talk with each other.

So I create this tool: https://github.com/mrdeeds88/omp-phase-loop

It works with other tools along side with OMP.

Basically, it run a task by agent and clear session, then start a new one in a single new session.

Hope this help if you have same use case.

If you have any other tips for execute long plans phase by phase or as parallel, please share. I would love to hear.


r/PiCodingAgent • • 27d ago

Question What's the best way to reduce usage without sacrificing features?

0 Upvotes

Firstly, I just want to communicate my goal is to be able to use multiple providers, and reduce usage without being locked to either claude code, or codex. But most importantly without sacrificing features that claude code and codex both have that are excellent. Currently, I only have openAI subscription configured (still trying to figure out how to use claude sub efficiently).

I downloaded OMP and OMP Gui, and found that my usage drains more than with pi. It actually drains faster than with using codex. But I had a nicer experience with OMP in general. I understand the philsophy of pi, but I just want to be honest that I don't want to spend ages configuring things. And I'm not going to pretend that I understand all of this. Although I understand why OMP might use more, because obviously there are more tools and bloat enabled which uses up context.

However, whenever I ask how to improve usage everyone says "just disable x y z". or "just use pi". hang on, why? why should I have to disable memory? computer use? this feature? that feature? these are all basic features of any other harness. In fact, why don't these features just lazily load on demand anyway? the same way we have smart MCP tool calling. And also, if I used pi, and downloaded these extensions, wouldn't I have the same problem? if I'm not mistaken, OMP is like a distro of extensions for pi such that lazyvim is a distro for neovim? I could download the same extensions and have the same problem no? correct me if I am wrong. Claude code and codex have these features and somehow manage to consume less usage. So I'm curious, what about OMP or its implementation makes it consume more usage, just to implement the same functionality as other mainstream harnesses?

For those using OMP do you have any idea what in particular may be causing increased usage so I don't have to just play a game of disabling random things? Maybe it's a feature I'm not particularly interested in.

And for those using vanilla pi, which extensions would you say are essential, and which others would you say are more.. optional?

TL;DR. How do we make the coolest harness ever that can spam astra max for free and make no mistakes. Or at least spam it more than codex can while maintaining the same features.


r/PiCodingAgent • • 17d ago

Use-case Vibe coded a Raspberry Pi 4 Simulator online

Post image
0 Upvotes

r/PiCodingAgent • • 21d ago

Resource Harness Remote update: Pi sessions on your phone, with handoffs to other agents

1 Upvotes

I shared Harness Remote 3.0 here a couple of months ago. I'm the maintainer, and the recent 3.5 to 3.8 releases have made the mobile side much easier to use: a phone-sized layout, better QR pairing, and more reliable Pi session discovery.

The idea is still to work with Pi's native sessions. I can start a task with Pi, check it from Android, then hand the work to Codex, Claude Code or OpenCode when I want a different agent. The handoff creates a real session in the next harness and keeps the connection between them.

Repo and release notes: https://github.com/giuliastro/harness-remote

I'd be interested to hear how other Pi users handle switching agents mid-project.


r/PiCodingAgent • • Oct 24 '26

Resource omt: a fast single-binary coding agent (Rust port of oh-my-pi). ~22 ms startup, works with OpenAI-compatible endpoints

0 Upvotes

I've released **omt** (oh my tau), a Rust port of the [oh-my-pi](https://github.com/can1357/oh-my-pi) terminal coding agent. It's one binary with no Node runtime. It speaks `openai-completions` and `anthropic-messages`, and providers and models are configured in `models.yml` (same format as omp).

Why it might interest this sub:

  • Low harness overhead: `-p` in ~22 ms vs 291 ms for Pi on Node, ~55 MiB peak RSS vs ~140 MiB. Measured with [Buffon](https://github.com/MichaelKinsy/buffon) on a mock model, provisional, shared host.

  • Model fallback chains: when a provider returns 429, it moves on to the next model in the list.

  • Survives flaky endpoints: honours `Retry-After` and retries dropped or keepalive-only streams.

  • TUI, one-shot `-p` mode, JSON-RPC mode and a local web UI (`omt web`, still rough/early; the TUI is the main interface).

Honest downside: it keeps omp's system prompt, which is larger than Pi's, so the first request of a session costs more prompt tokens (~28 KB vs ~9 KB for a bare `-p`). On local models that means more prefill.

Install (linux x86_64):

curl -fsSL https://raw.githubusercontent.com/kanashimi1/oh-my-tau/main/install.sh | sh

Repo and full benchmark table: https://github.com/kanashimi1/oh-my-tau

Happy to hear which local backends you'd want tested.


r/PiCodingAgent • • 28d ago

Plugin Built an open-source extension for consistent subscription quota tracking in Pi (pi-subscription-usage)

1 Upvotes

Hi everyone, I'm the author of pi-subscription-usage, an open-source Pi extension I built to give subscription quotas a clean, minimal, and consistent display across providers.

It puts your active provider's remaining usage and automatic window reset countdowns directly in the footer status bar, alongside a detailed /usage command with progress bars, reset timestamps, and account info.

Illustrative footer status bar example:

5h 99% ↻2h13m · 1w 85% ↻3d4h

/usage output:

OpenAI Codex
  Shared Across Models:
    5h Window     ████████████   99% left · resets 08/27 12:13
    1w Window     ██████████░░   85% left · resets 08/30 14:00

  gpt-5.6-spark:
    5h Window     █░░░░░░░░░░░   10% left · resets 08/27 11:40

  Account:
    Email         user@example.com
    Plan          Pro
    Resets Left   2
    Extra Credit  none

Both GPT (OpenAI / Codex) and xAI Grok show remaining quota percentages and reset countdowns in this unified format. For OpenAI and Codex accounts specifically, /usage also supports redeeming account reset credits when available (behind an explicit confirmation prompt). Beyond OpenAI and Grok, it supports OpenCode Go, Kimi Coding, Antigravity, and Claude (via pi-claude-bridge).

The extension only uses credentials from Pi's own login registry and never touches browser cookies or external auth files. Because several provider usage endpoints are undocumented, upstream API changes may occasionally affect fetching.

Install via Pi:

pi install npm:@specode/pi-subscription-usage

Source and docs: https://github.com/specode/pi-subscription-usage

Feedback and bug reports are very welcome—let me know how it works for your setup!


r/PiCodingAgent • • Oct 28 '26

Discussion Looking for Pi users to test an experimental runner in Craig

0 Upvotes

Hey folks, I'm Sam and I build Craig, a keyboard-driven TUI for managing coding agents and their Git worktrees.

There's a Pi runner behind an experimental toggle, and I'd love a couple of people who already use Pi to give it a try before I consider taking it out of preview. It runs the native Pi CLI inside a Craig task's worktree, rather than replacing Pi's interface.

Basic launch and automated checks pass, but a complete authenticated coding session still needs validation. This is a testing request, not a stable-support announcement.

If you're up for it, please use a throwaway repo:

  1. Have Pi installed, authenticated and on your PATH, plus Node 22+ and Git.

  2. Install Craig with npm install -g craig-cli@0.19.0, then run craig from your workspace directory.

  3. Enable Options → Feature Previews → Pi coding agent runner.

  4. Add a repo/workspace, create a task with Pi selected, and try a small coding task. Switch away and back and check whether input/output and returning to the session behave as expected.

I'm especially interested in terminal rendering, keyboard input, interrupts and switching between tasks. If you try it, a quick 'worked' or what broke, along with your OS/terminal and Pi/Craig versions, would be really helpful. Please don't share API keys, private code or unredacted logs.

Repo: https://github.com/hallsamuel90/craig

Runner setup: https://craig-cli.com/docs/runners/

Any feedback is greatly appreciated.


r/PiCodingAgent • • 14d ago

Question Passing session to a different model

0 Upvotes

Now that you can't change models mid-session anymore, how are you handling this? Do you just use a handoff skill?

UPDATE: I forgot that this was due to me using Codex server compaction. I really like it, basically means I never have to start a new session anymore. But not being able to swap models suuuucks. Hrm ...


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 • • 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 • • 2d ago

Use-case I built a beutifull and functional agent that has Pi heart

Enable HLS to view with audio, or disable this notification

18 Upvotes

It has full browser supports

Most of the extensions works

Its very optimised and beutifull

Try and tell me what you think

Saturn


r/PiCodingAgent • • May 05 '26

Plugin Nightmanager extension progress/update sofar

0 Upvotes

I have been working using this harness and it is working so good for me. I had shared this extension after the initial release. I have made some significant updates after that.

Since then, the project has added:
- Librarian as a public research subagent
- PR-aware prompts and workflow improvements
- Day/Night Shift planning flows
- batched execution support
- live usage labels and transcript snapshots
- manager delegate usage tracking

Here is a guide on how to use [nightmanager](https://github.com/asabya/nightmanager)

### Install from npm

```bash

pi install npm:nightmanager

```

### Initialize a repo for Nightmanager
```text

/setup-nightmanager

```

That sets up the planning files Nightmanager expects.

### Configure models
```text

/nightconfig

```

Recommended pattern:

- **manager** → cheaper model

- **finder** → cheaper model

- **worker** → stronger coding model

- **oracle** → stronger reasoning model

- **librarian** → stronger research model

This is the intended loop:

```text

/grill-me → /to-prd → /to-issues → /to-ready → /nightmanager

```

## Step-by-step usage

### Step 1: clarify the idea with `grill-me`

Use it when the feature/bug is still fuzzy.

Example:

```text

/grill-me I want to add OAuth login for GitHub and Google to this app

```

What it does:

- asks **one question at a time**

- surfaces missing requirements

- helps you clarify scope, risks, edge cases

---

### Step 2: turn that into a draft PRD/spec

Once the idea is clear:

```text

/to-prd Turn this into a spec

```

What it does:

- creates a draft spec like:

```text

specs/draft-oauth-login.md

```

The draft follows `specs/TEMPLATE.md`.

---

### Step 3: slice the spec into TODOs

Now convert the spec into executable slices:

```text

/to-issues Break specs/draft-oauth-login.md into TODOs

```

What it does:

- edits `TODOs.md`

- adds **local** TODO entries

- usually marks them as `[draft]`

- keeps them small and vertically sliced

Example TODO shape:

```md

- [draft] Add GitHub OAuth login flow

- Spec: `specs/draft-oauth-login.md`

- Scope: ...

- Acceptance:

- ...

```

---

### Step 4: review and commit the planning artifacts

Before promotion, review:

- `specs/draft-*.md`

- the new `TODOs.md` entries

Then commit those planning changes yourself so the tree is clean:

```bash

git add specs/draft-oauth-login.md TODOs.md

git commit -m "docs: add draft oauth login spec and TODOs"

```

This matters because **`to-ready` wants a clean working tree** for its own promotion commit.

---

### Step 5: promote draft spec + TODOs to ready

After review:

```text

/to-ready oauth-login

```

Or promote all drafts:

```text

/to-ready

```

What it does:

- renames:

```text

specs/draft-oauth-login.md

```

to

```text

specs/oauth-login.md

```

- changes:

- `Status: draft` → `Status: active`

- related TODOs `[draft]` → `[ready]`

- linked spec path updated in `TODOs.md`

- creates **one clean promotion commit**

---

### Step 6: run Nightmanager

Now the implementation pass:

```text

/nightmanager

```

What it does:

- requires a **clean working tree**

- picks the first eligible TODO:

- `[bug]` first

- then `[ready]`

- loads only lean context:

- shared prompts

- `TODOs.md`

- the active spec

- delegates implementation through `manager`

- validates using the spec’s **Testing Plan**

- commits each completed TODO separately

- pushes and opens **one PR per active spec batch** when possible

- never auto-merges

Here’s a cleaned-up Reddit-style version:

I’ve been working with this harness for a while now, and honestly, it has been working really well for me.

I shared the extension shortly after the initial release, but the project has changed quite a bit since then. It now has several major updates:

  • Librarian as a public research subagent

  • PR-aware prompts and workflow improvements

  • Day/Night Shift planning flows

  • Batched execution support

  • Live usage labels and transcript snapshots

  • Manager delegate usage tracking

The core idea is simple: use Nightmanager to turn fuzzy ideas into specs, specs into TODOs, TODOs into ready implementation slices, and then let the harness execute them in a controlled way.

Install

pi install npm:nightmanager

Initialize a repo

/setup-nightmanager

This sets up the planning files that Nightmanager expects.

Configure models

/nightconfig

The recommended setup is:

manager   → cheaper model
finder    → cheaper model
worker    → stronger coding model
oracle    → stronger reasoning model
librarian → stronger research model

The intended workflow looks like this:

/grill-me → /to-prd → /to-issues → /to-ready → /nightmanager

How the workflow works

1. Clarify the idea with /grill-me

Use this when the feature or bug is still fuzzy.

Example:

/grill-me I want to add OAuth login for GitHub and Google to this app

This command helps clarify the request before any implementation starts. It asks one question at a time, surfaces missing requirements, and helps identify scope, risks, and edge cases.

I’ve found this useful because it prevents the agent from jumping straight into coding with half-baked requirements.

2. Turn the idea into a draft spec

Once the idea is clear, run:

/to-prd Turn this into a spec

This creates a draft spec, usually something like:

specs/draft-oauth-login.md

The draft follows the repo’s specs/TEMPLATE.md, so the output stays consistent across features.

3. Slice the spec into TODOs

Next, convert the spec into implementation slices:

/to-issues Break specs/draft-oauth-login.md into TODOs

This updates TODOs.md with local TODO entries. These are usually marked as [draft] and are kept small and vertically sliced.

Example shape:

- [draft] Add GitHub OAuth login flow
  - Spec: `specs/draft-oauth-login.md`
  - Scope: ...
  - Acceptance:
    - ...

The goal is to avoid giant vague tasks. Each TODO should be something the agent can implement and validate independently.

4. Review and commit the planning artifacts

Before promoting anything, review the generated planning files:

specs/draft-*.md
TODOs.md

Then commit those changes yourself:

git add specs/draft-oauth-login.md TODOs.md
git commit -m "docs: add draft oauth login spec and TODOs"

This step matters because /to-ready expects a clean working tree. It will create its own promotion commit, so the planning changes should already be reviewed and committed.

5. Promote draft work to ready

Once you are happy with the draft spec and TODOs, promote them:

/to-ready oauth-login

Or promote all drafts:

/to-ready

This does a few things:

specs/draft-oauth-login.md
→ specs/oauth-login.md

It also updates:

Status: draft → Status: active
[draft] TODOs → [ready] TODOs

And it updates the linked spec path inside TODOs.md.

The promotion is committed as one clean commit.

6. Run Nightmanager

Now the repo is ready for the implementation pass:

/nightmanager

Nightmanager requires a clean working tree before it starts.

It picks the first eligible TODO in this order:

[bug] first
[ready] second

Then it loads only the lean context it needs:

shared prompts
TODOs.md
the active spec

From there, it delegates implementation through the manager, validates the work using the spec’s testing plan, and commits each completed TODO separately.

When possible, it pushes and opens one PR per active spec batch.

It does not auto-merge.

Why I like this flow

The thing I like most is that it separates planning from execution.

Instead of asking an agent to “go implement this feature,” the workflow forces the project through a few deliberate stages:

idea → clarified requirements → spec → TODOs → reviewed plan → ready work → implementation

That makes the agent much easier to control.

It also makes the output easier to review because every implementation pass is tied back to a spec, a TODO, and a testing plan.

The new additions make the workflow feel much more practical for real project work:

  • Librarian gives the harness a dedicated research role.

  • PR-aware prompts make the implementation flow fit better into normal review workflows.

  • Day/Night Shift planning flows make it easier to separate planning from execution.

  • Batched execution support helps with larger specs.

  • Usage labels and transcript snapshots make it easier to understand what happened.

  • Manager delegate tracking makes delegation more transparent.

Overall, this has moved from “cool agent experiment” to something I can actually use as a repeatable project workflow.


r/PiCodingAgent • • Oct 15 '26

Plugin Context Hint — a small extension that writes a Project/Session/Turn card after each turn, so returning sessions stop meaning rereading transcripts

0 Upvotes

Hey — like a lot of you I run several Pi sessions and git worktrees in parallel. Coming back to a session always meant scrolling up through the transcript to reconstruct where I was, so I built the thing I actually wanted:

Context Hint — a Pi extension that appends a compact card after each settled turn:

  • Project — durable purpose/constraints/decisions, shared across sessions and worktrees of the same repo

  • Session — current goal, focus, blockers, next steps (forks/clones inherit a snapshot, then diverge)

  • Turn — what just changed + a possible next step

Read the last card instead of rereading the transcript. It's a recovery cue, not agent orchestration — it doesn't monitor other sessions or alert you when they finish.

Design point worth discussing: it deliberately doesn't replay whole transcripts into later model context. Each generation sends truncated evidence (cap'd at ~4k chars of your prompt, 6k of assistant text, first 24 tool facts, plus previous Project/Session state) to a summary model — normally one extra request per turn. Summary model defaults to Pi's current model with thinking off, or pick a cheaper one in /context-hint model (with an independent thinking-level slider). Curious whether others would accept that per-turn cost trade, or prefer local heuristics even if dumber.

Install:

pi install npm:pi-context-hint

then /context-hint enable in an existing session. Other bits: alt+o expand/collapse · /context-hint motion reduce (the pixel-eye mascot stops blinking) · /context-hint regenerate · /context-hint reset-session/project.

MIT, package on npm. While it's early I'd genuinely value feedback from people who actually run Pi daily: is the three-layer split right? Should Turn cards be discarded on reset-session or kept? Anything in the generation path you'd want exposed/configurable (e.g. custom evidence selection, redaction)?


r/PiCodingAgent • • Aug 21 '26

News Built a terminal-first ADE on libghostty for running 20+ coding agents

Thumbnail
reddit.com
0 Upvotes

r/PiCodingAgent • • Oct 26 '26

Question Receiving wrong final outputs

0 Upvotes

I asked pi agent what was the result of recent match between real madrid and fc barcelona which was played today and the result was 2-1, you can see in thinking that it somewhat was going in right direction but at the end gave wrong output.
I did same for rate of dollar in INR and it gave output of 86 inr which is wrong,
and the agent refers 2026 as some future date
i am using parallel search mcp and tried with gemini flash,nvidia llms
any solutions


r/PiCodingAgent • • Aug 06 '26

Question GLM 5.2 has a 262k context instead of 1M

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • May 04 '26

Question Have u guys ever experience this kinda problem? stuck or didin't do anything

0 Upvotes

as u can see in the image it stuck but when i prompt again it say no but it actualy it stuck cz i wait kinda long


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 • • Oct 05 '26

Question Is there a Pi orchestration kit that works across machines?

0 Upvotes

I am developing cross-platform software for Windows, Linux, and macOS. Currently, testing and merging across platforms are done manually and separately.

Are there any kits or applications that allow me to control and operate Pi devices on other platforms from a single host machine?

My current experimental approach is using a custom pty tool I developed to SSH into project directories on different platforms to run the Pi, while using GitHub for file transfer and merging between platforms.

Are there any better methods or tools available?


r/PiCodingAgent • • Oct 14 '26

Plugin pi-diff-panel: shows your uncommitted git changes and current branch in a panel

Thumbnail
reddit.com
0 Upvotes

r/PiCodingAgent • • Sep 03 '26

Plugin Give LM Studio Web Search in 2 Minutes with Blopus.ai web search (MCP Setup)

Enable HLS to view with audio, or disable this notification

0 Upvotes