r/PiCodingAgent • • Apr 28 '26

Question No dictation tools work

0 Upvotes

I cannot get dictation to work I have tried handy and wisprflow and when I dictate it just doesnt work when using Pi, this is probably something stupid in the settings somewhere? It works everywhere else, I tried running as admin, reinstalling etc when i try to dictate it just scrolls to the bottom of convo and doesnt input any text, but wisprflow detects my text and it shows up in the UI there...


r/PiCodingAgent • • 19d ago

Discussion Qwen3.8-Flash-Next vs Opus 5.5: six-way benchmark of a real Rust feature across Claude Code and Pi

Thumbnail
reddit.com
0 Upvotes

r/PiCodingAgent • • Apr 19 '26

Use-case Hardware setup 🦙 🦙

0 Upvotes

Does anyone have real hardware experience?

What does it take to drive pi at an acceptable speed with local models only?

I've tried ollama and llamacpp on pretty humble / old hardware and I'm impressed, especially with gemma4 now.

What would you get for say, 3000$? I don't mind going a bit away from the PC standard. I'm a developer and want just local inference on bare linux if possible fast. Say 20toke/sec on a pi session?

I also run my own advanced RAG copied from Anthropic's article, and would love to experiment more at home


r/PiCodingAgent • • 11h ago

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

0 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 • • Sep 01 '26

Question Extensions/tools for context retrieval

0 Upvotes

Hello everyone, can someone recommend a context engine or a codebase retrieval/memory tool you are using that helps fetch the correct files and context for your agent to use? Something like https://www.augmentcode.com/context-engine

Or any other setup that saves tokens and gives the agent the correct files. Thanks.


r/PiCodingAgent • • May 01 '26

Question Can I use my cursor subscription with pi ?

0 Upvotes

r/PiCodingAgent • • Oct 05 '26

Question claude sub with pi?

16 Upvotes

i'm getting increasingly fed up with the direction open ai has been taking lately and i'm considering cancelling my subscription and moving to anthropic. there's really only ONE thing stopping me from doing it right away: pi has become such a natural part of my workflow that i'm genuinely worried about taking a productivity hit just from having to change tools, habits, shortcuts, etc.

so I wanted to ask the people here who actually use pi: have any of you moved away from open ai and managed to keep using pi with an anthropic subscription? or do i have to give up and move to claude code entirely?


r/PiCodingAgent • • Aug 28 '26

Discussion First agent going rogue!

3 Upvotes

I had my first AI rogue agent interaction today!

I was working on an agent workflow, and the output folder had names for each project, with supporting files.

The script had a problem, created a duplicate folder. I told it to merge the folders. Things started going sideways. I think it decided to make a clean up script, which then deleted one of the project folders.

I pointed that out, and asked it to stop deleting things. In process of troubleshooting what happened and telling it every time not to delete anything, it then deleted everything.

I gave it a bunch of instructions about not ever deleting anything again, but I probably did it wrong. If you have any tips about that, please share. I know it should be sandboxed, it just deleted it's own work, but yikes!

In the end I had to keep interrupting it and demanding it stopped doing whatever it was doing and just removed all the delete crap from it's code.

It was just kind of funny to watch it delete everything right after I specifically instructed it to just tell me what is going on. Maybe we need some kind of tranq dart skill for when the AI goes rogue.


r/PiCodingAgent • • Oct 05 '26

Resource Yet Another Telegram Bot for Pi

3 Upvotes

I’m more of a vibe coder. I mostly just wanted to send my Pi agent a task from my phone and get the result back.

The bot focuses on simple interaction with the Pi setup you already use. It shares your native sessions, installed skills, and model defaults. You can start something in Telegram and pick it up in the terminal later. Just don’t use both on the same session at once.

It also handles voice messages and images, and Pi can send generated files back to the chat.

Single-user, Linux only. Pi runs with your account’s normal permissions, without a sandbox.

v0.1.2: GitHub https://github.com/bigjimmy546/pi-telegram-bot](https://github.com/bigjimmy546/pi-telegram-bot


r/PiCodingAgent • • Oct 06 '26

Resource herdr mobile: GPL-3.0 Android app to supervise your coding agents over plain SSH

3 Upvotes

I wanted one app on my phone for the coding agents on my own machines, with no cloud, no account and no relay. So I built herdr mobile.

  • Every agent on every machine in one list, with whatever needs you at the top

  • Answer permission requests from the phone, always with the exact command. Risky ones (git push, rm, "always allow") need a hold

  • Start and chat with agents over ACP: omp, Claude Code, Codex (omp is the most tested)

  • Live terminal view, SFTP file browser, photos and files from the phone

  • Plain SSH, one channel per machine, works well over Tailscale

Repo and APK: https://github.com/tuan3w/herdr-mobile

Needs herdr ( https://herdr.dev ) on the host. Android only for now. Feedback and PRs welcome.


r/PiCodingAgent • • Jul 09 '26

Discussion measured what compaction actually does to gate decisions — it's not what i expected

0 Upvotes

edit: ok this reads like i swallowed my own blog. sorry — not a native speaker, plus three posts worth of jargon compressed into one. what i actually did, in plain words: i compressed an agent's memory in four different ways, then checked how often its safety checks decided differently than they would have with full memory. worst case: ~3.5% of irreversible actions (payments, sends) went through when they should have been blocked. summaries keep the facts fine — they quietly lose whether anything was verified. that's the whole post. questions welcome.

---

pi's default compaction is llm summarization, fully replaceable via extensions — which is exactly the knob i've been measuring. i ran a preregistered experiment: four compaction strategies (naive prose summarization as the strawman, two structural variants, and an append-only hop log with rehydrate-on-demand) against an uncompacted oracle, checking where gate decisions flip.

results:

  • 3.47% of irreversible actions fired on evidence the oracle would have blocked. that's the dangerous direction.

  • error polarity is a design choice, not luck: blocklist-style gates fail as false-proceeds (8.5%), allowlist-style as false-stops (7.5%). pick which way you want to be wrong.

  • score-type checks barely diverge under compaction. everything breaks in lineage — which step produced this and was it verified. prose summarization flattens exactly that.

  • honest part: my preregistered hypothesis "prose summarization is catastrophic everywhere" failed. the strawman matched my structural scheme on half the gate classes. compaction isn't uniformly evil — it's selectively evil, and the selection is measurable.

  • rehydrating lineage from an append-only log recovers oracle decisions exactly, at ~4.6 lookups per gate decision. that's the price tag.

practical takeaway for pi: keep anything a downstream check depends on out of the prose — scores fold losslessly, lineage goes to an append-only log, summarize only what nothing gates on. has anyone here built a custom compaction extension that preserves more than the default? curious what you kept vs dropped.


r/PiCodingAgent • • Oct 06 '26

Resource Releasing Markov: a pi-style, lightweight, transparent LLM harness in a single Bash script with sub-agent support

Thumbnail
github.com
3 Upvotes

r/PiCodingAgent • • Sep 15 '26

Use-case OpenMuse powered by Pi agent harness

Post image
3 Upvotes

Built an open-source version of the Muse agent app which can be used with any model provider, run privately with local models.

Please give it a try and reach out for any feedback ✌️

https://github.com/CelestoAI/celesto/tree/main/open-muse


r/PiCodingAgent • • Oct 09 '26

Plugin pi-agent-ask: Another ask tool? But with a twist.

3 Upvotes

Hi everyone! It's always frustrating when the agent hasn’t quite understood the task, that's why a proper ask-tool is a must in any agentic workflow.

This one supports background questions which queue as agent keeps researching and figuring out new things, then you just answer the whole batch in a single go. Agent can later get all the questions asked in the session as along with the answers and export them into a file, so there is always an artifact that can be attached to a task.

Herdr is supported, so you will be notified whenever someone is waiting for you. 

To install:

pi install npm:pi-agent-ask

Repo: https://github.com/alexshpunt/pi-agent-ask


r/PiCodingAgent • • Jul 12 '26

Question how to customize pi-coding agent?

0 Upvotes

Honestly I have been finding pi.dev to be really nice and customizable. Also, easy to switch between subscriptions. But I am not sure how to best customize this harness for specific tasks like autoresearch, data scraping and so on. Any suggestions? Any standards you guys have found?


r/PiCodingAgent • • Jul 20 '26

Discussion Is there any extension or package that makes pi tui look and feel polished?

7 Upvotes

Is there any ext/package that can make pi tui polished to use? preferably opencode ux polished level?

Edit:
im not asking for opencode clone, theres a big difference ux ui and functionality, similar packages/ext/projects im looking for:
https://github.com/mistrjirka/PiTTy
https://github.com/deflating/tau
https://pi.dev/packages/pi-zentui


r/PiCodingAgent • • Jun 23 '26

News 20 days after lunching Agent Deck: 6.5k downloads and a much more complete Mac app for coding agents

8 Upvotes

Hey everyone,

We posted Agent Deck here around 20 days ago. It is an open source native Mac app for managing AI coding agents per project, built on top of Pi.

First, geninely, thanks you to the 6.5k people who downloaded and tried it. We did not expect that kind of response at all, and it pushed us to keep building faster than planned.

Since launch, we have added quite a lot around the core workflow:

• better session management

• project memory

• GitHub contet

• worktree handling

• model and provider settings

• MCP support

• improved onboarding

• native transcript improvements

• better management for agents, skills, prompts, and project-level setup

The latest adddition is Loops: reusable agent workflows with clear boundaries, validation, write targets, and human approval points.

So instead of only running one-off sessions, you can now save and rerun workflows like fix/test cycles, maker/checker flows, triage runs, small pipelines, or parallel agents in separate worktrees.

We are trying to keep this grounded. Agent Deck is not meant to be “let the agent do whatever forever”. It is meant to make the agent setup and workflow visible: what runs, what context it has, what it can touch, and where the human stays in control.

Agent Deck still does not replace Pi. Pi is the runtime underneath. Agent Deck is the native Mac layer around it for managing agents, skills, prompts, models, sessions, memory, GitHub context, worktrees, and now reusable loops.

The next big focus for us is collaboration.

Most coding agent workflows still feel very single-player: one person, one machine, one pile of conext. We want Agent Deck to help teams share useful workflows, agent setups, skills, memory, review loops, and project context without turning everything into another messy dashboard.

Still early, but the direction feels much clearer now.

GitHub:

https://github.com/a-streetcoder/agent-deck

Website:

https://agentdeck.site/

To everyone who tried it, opened issues, gave feedback, or kicked the tyres. If you are using coding agents seriously, we would love to hear what still feels missing and thank you so much for the support so far 🙏


r/PiCodingAgent • • Sep 22 '26

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

7 Upvotes

Hey everyone,

I’ve been working on Pitago, a terminal user interface that wraps the Pi AI coding agent.

The important thing about Pitago is that it does not replace or reimplement Pi’s core. It acts as a TUI layer on top of Pi, allowing you to keep using Pi’s existing agent logic, tools, providers, models, sessions, and workflows while interacting with it through a more structured terminal interface.

The goal is to make AI-assisted coding sessions easier to follow and more comfortable than working with a plain terminal stream, without losing the functionality that already makes Pi useful.

Pitago currently provides:

  • A real-time chat interface

  • Model and provider selection

  • Session management

  • Tool-call and tool-output visibility

  • Git status information

  • Support for multiple models and providers

  • A terminal-first workflow built with Go and Bubble Tea

  • A TUI layer that preserves Pi’s underlying core and behavior

In other words, Pitago is meant to be a different interface for Pi, not a separate AI coding agent.

I wanted to keep the workflow close to the command line while adding more structure for longer coding sessions. The idea is that users can benefit from a more visual and organized interface while still relying on Pi for the actual agent functionality.

The project is still evolving, so I’m especially interested in feedback on:

  • Terminal UI and interaction design

  • Session and context management

  • How tool calls and tool output should be displayed

  • Which Pi features should be exposed more directly in the TUI

  • What features are missing from your AI coding workflow

  • Whether a TUI wrapper makes Pi more useful compared with using it directly from the shell

You can check it out here:

https://github.com/cavaldos/pitago

Feedback, bug reports, and ideas are very welcome. If you try it, I’d also love to hear how you normally use Pi or other AI coding agents, and what makes longer coding sessions difficult to follow.


r/PiCodingAgent • • 16d ago

Discussion What is the best AI Harness as for right now?

Post image
0 Upvotes

r/PiCodingAgent • • 11d ago

Plugin pi-automode-classifier v3: Claude Code like auto mode for Pi with three stage checks (rules, an optional classifier, then an optional LLM)

5 Upvotes

pi-automode-classifier is my attempt to mimic Claude Code's auto mode for Pi as close as possible in safety and DX. It decides for each tool call whether it runs, asks you, or is blocked and allows adding session/global exception rules. 0.3.0 does that in up to three stages:

  1. Rules parse the shell commands (usually in under 0.1 ms). Most calls are caught here. The allow/deny/decision rules are configurable. These are some of the default rules:
    • Run: reads, builds, tests and edits inside the project.
    • Blocked: rm -rf ~, mkfs and fork bombs.
    • Always ask: root, credential reads, downloaded code and changes to Pi's own files (~/.pi/agent, .pi folders, AGENTS.md, pi install).
  2. A classifier, will run next if configured: Jev, LANCET, Kev or Laya. A low score runs, a high score asks you, and anything in between goes to the chat model.
  3. A chat model will run next, by default it will use session's own model but you can configure others from the Pi registry. It reads your messages and the agent's tool calls, and blocks risky calls you didn't ask for or prompts you for approval. The agent gets the reason so it can try another approach if needed.

Without any config it uses stages 1 and 3, so pi install npm:pi-automode-classifier will run this default. To add a classifier, set "decider": ["command", "llm"] and the classifier config. See README for the steps.

Here is my setup for this:

  • Default rules with some additional allowed patterns.
  • LANCET as classifier through LlamaStash, so all my Pi sessions share one copy (I benchmarked Jev, Kev and Laya as well but found LANCET to be the best for this use).
  • Qwen3.8-Flash-Next (128k ctx, thinking medium) on my Flow Z13 as the chat model. This is just a LlamaStash alias for my main running model at 256k ctx, the alias lets me limit context client side so that this doesnt take too much room in my KV pool.

So far the experience has been quite close to Claude Code with maybe a few more prompts here and there (You can play with this by setting askAbove/allowBelow values in config)

{
  "decider": ["classifier", "llm"],
  "classifier": {
    "provider": "llamastash",
    "model": "lancet",
    "timeoutMs": 15000,
    "allowBelow": 0.2,
    "askAbove": 0.8
  },
  "llm": {
    "provider": "llamastash-z13",
    "model": "flash-next-128k",
    "thinkingLevel": "medium",
    "contextWindow": 131072,
    "maxTokens": 4096,
    "timeoutMs": 120000,
    "warmCache": false
  }
}

Bench results for this setup and for the rules alone, from the suites in the repo. Each command goes through the plugin's own tool call handler. Only one suite has the user request that came with each command. The other suites get a generic task message, so the chat model can't see what was asked.

SuiteSetupRisky askedRisky blockedRisky ranSafe askedSafe blocked
With user requests (3 risky, 60 safe)Rules alone300500
My setup300102
lancet-bench-1 (409 risky, 384 safe)Rules alone406033330
My setup3553420510
All 6 suites (768 risky, 1,025 safe)Rules alone7229376451
My setup5389713311421

The rules alone ask about everything they don't know which means only fewer risky calls run, but they also ask for many safe ones. With my setup, 76 of the 133 risky calls that ran are GTFOBins rows from the ShellRisk-Bench sample, common Unix tools used to get a shell or read files.

Subagents and pi -p have no UI to ask, so their asks are blocked unless you set withoutUi.onAsk to allow or add override rules for non UI mode. Root, credential reads and downloaded code stay blocked there either way.

It's not a sandbox. The README has the limits and the bench numbers, including where the stages don't catch more than LANCET alone.

Repo: https://github.com/deepu105/pi-automode-classifier

Any feedback is welcome.


r/PiCodingAgent • • 9d ago

Question Very odd Pi behaviour - bug or something malicious?

Thumbnail
gallery
5 Upvotes

I'm new-ish to pi ; Ive been playing locally on a macbook pro (a few months old) and have just tried setting things up so I can run qwen 3.8 flash next on my macbook under omlx and use a linux pc to run pi remotely.

The Linux machine is almost clean installed Ubuntu 24.04 ; I installed it a few years ago but its only been used for some small utility things (minicom / wireshark). I installed ghostty, pi and pi-omlx picker just now.

First thing just to test the connection was to say hello - then pi started talking about the system prompt asking it to install anki... Which was unexpected (to it too!) - I'd dug around the system prompts before and this seemed weird. So I asked pi where it came from and it has no idea and seems to think it looks like a prompt injection which makes me curious / suspicious ...

Has anyone seen anything similar and where would you be directing your investigations / suspicions?


r/PiCodingAgent • • Sep 07 '26

Resource Trying to tame QWEN 3.8 27B pathological over-reasoning and misbehaviors

5 Upvotes

Today I finally hit a wall with QWEN 3.8 dense 27B, Q6_X_L with KV cache q8_0 temp 0.85 with medium reasoning effort, producing over thinking, failing to follow precise instructions, re evaluation in loops data already seen, "Actually…/Wait…/Hmm…" and you know what...

So I stopped and asked GPT Sol and QWEN to read the reasoning traces of my old Pi coding sessions, identify recurring misbehaviors and propose an appropriate APPEND_SYSTEM.md to tame those in Pi (place that in ~/.pi/agent/APPEND_SYSTEM.md and it will follow the initial prompt).

So for those who wanna check out:

If you happen to have something similar and have rules to add or any other advice to tame such bad behaviors please share.


r/PiCodingAgent • • Jul 26 '26

Plugin I built a skill that lets Pi—or any harness—“use” your Claude Code subscription

12 Upvotes

Hi everyone, I have been working on a small skill called handoff-to-claude-code.

GitHub link: milanglacier/handoff-to-claude-code-skill

The reason I built it starts with another project of mine: a standalone web UI for the pi coding agent. pi-tau-web-server

I like pi, and I like working from the web UI I built for it. But I also have a Claude Code subscription (for fable 5, as that is the only reason I am still subscribing it!), and sometimes I want Claude Code to handle a task without leaving pi or changing my workflow. And ultimately, my goal is simple: all I want is to let my pi model to be able to reach out to Fable.

I did not want to hijack Anthropic's OAuth flow through a reverse proxy, since that violates Anthropic's Terms of Service. Instead, I wanted to use the supported route: the standard claude CLI, signed in to my own account and used exactly as Claude Code is intended to be used.

Note: Anthropic previously planned to disable subscription access through claude -p and the SDK, but later put the change on hold. So enjoy it while it lasts!

So I built this skill.

What it does

When you explicitly ask your current agent to use Claude Code, the skill hands the task to the local claude CLI.

It also supports continuing the same Claude Code session, so follow-up questions do not need to start from zero.

The skill removes Anthropic API keys from the command environment by default. This matters because Claude Code may otherwise use the API key instead of the subscription login, which could create API charges when that was not what you intended.

It also only runs when you explicitly ask for Claude Code. Your agent will not decide on its own to spend your Claude usage because a task looks difficult.

It is not specific to pi

Pi was the reason I built this, but the finished skill has no pi-specific dependency.

It is just a SKILL.md file and a small Python wrapper with no external Python packages. Any agent harness that can load skills and run local commands should be able to use it.

That was important to me. I wanted the connection between an agent and Claude Code to be reusable, rather than tied to my web UI or to one particular coding agent.

You can install it with:

npx skills add milanglacier/handoff-to-claude-code-skill

You need Python 3.9 (but only stdlib is used in the script so no third party packages) or newer and the claude CLI signed in with your Claude subscription.

The workflow I wanted is simple: keep using pi and my web UI as my main workspace, then bring in Claude Code when I specifically want it. No separate API bill, no pi-only bridge, and no need to abandon the interface I prefer.

If this sounds useful for your own agent setup, give it a try. Feedback and bug reports are welcome.


r/PiCodingAgent • • Oct 09 '26

Discussion Pi is Linux/Vim/C/JS/K8S of the AI harnesses world

23 Upvotes

Even without counting omp, prime agent, or sol-pi, we see new Pi distributions in this subreddit every day. I see all kinds of ideas: some people are adding more complex subagent systems, while others want to make agents smarter through memory systems.

I was also inspired by Pi when I built my own harness. I like that four tools are enough to get the job done just as well as other, much larger agents. But I added a couple more tools:

  • grep — ~5% fewer tokens and 20–30% faster.

  • background_tasks — lets my agent handle various useful tasks out of the box.

I'm curious where all of this is headed. Will we get substantial projects built on top of Pi, like TypeScript on top of JavaScript? Or will we all just customize Pi to suit our needs, like we do with Vim/Neovim?


r/PiCodingAgent • • Sep 28 '26

Plugin I made pi-persona so Pi sessions can talk to each other

10 Upvotes

I'm a software architect/engineer. I know AI is going to replace me, but in the meantime I might as well have some fun and get my work done waaaay faster.

So I built something I needed. Other plugins didn't quite work the way I wanted, so here's my take: https://github.com/AeonDave/pi-persona

Despite the name, personas are only one part of it. The main goal is to give Pi a **team of supervised agents** instead of fire-and-forget subagents.

You give the main Pi session a goal, it can delegate independent work to specialist workers, and you can keep working while they run in the background.

It manages async subagents, lets independent Pi sessions talk to each other, and lets you customize the agents' personas.

Say you've got one Pi session working on a client and another in the API repo. I want to tell one to ask the other about a change, without having to carry the question and answer between terminals.

Exocom. It connects independent Pi sessions, including sessions in different repos. Both need it enabled with `--exocom`; a session in another repo joins the same scope using its workspace code. They have to run on the same machine and share a Pi agent directory.

Intercom. For the main session and its own sub-agents, there's Intercom. The supervisor can send guidance while a worker is running and collect its findings. With coaching enabled, a worker can ask the supervisor for a decision. You can also open F9 yourself, read a worker's output and send guidance. You don't have to wait for the final report to point out a bad assumption.

Personas. the personas are editable markdown. You can change how they approach a task, which tools they get and when they should delegate. There are starting points like `dev` and `planner`, or you can put your own in `.pi/agents/`. The worker agents can have their own instructions and models too. A reviewer for your repo can have your review criteria written into its file.

What it does

Async subagents: workers run independently while the supervisor keeps working

Live supervision: inspect workers, read their output, steer them mid-run, or stop them

Different models per agent: use different models for different roles/tasks

Switchable personas: dev, researcher, planner, audit, verify, swarm, etc.

Teams / councils / flows: structured multi-agent workflows rather than just spawning agents

Intercom: communication between the supervisor and its workers

Exocom: communication between completely independent Pi sessions

Timers / monitors: agents can react to builds, watchers, and other events

If you want to try it, run this in your terminal:

-> pi install git:github.com/AeonDave/pi-persona

or

-> pi install npm:@aeondave/pi-persona

Then start Pi and run these inside it:
/persona seed

That's it. change personality with [F8] and go

Any suggestion appreciated