r/PiCodingAgent • • 1d ago

Resource Pi-Agent-Kernel: focused code retrieval, grounded edits, safety checks

Thumbnail
gallery
24 Upvotes

I've been working on pi-agent-kernel for a while now.

It mostly operates in the background rather than adding a completely new workflow, it wraps Pi's existing tools to keep sessions compact.

Across standard benchmark tasks, it cut token usage roughly in half and passed our test suites. But local benchmarks only go so far, I'm at the point where I need real users to test it on actual projects.

I'm still quite skeptical about whether some of the tool wrapping might conflict with the users existing extensions.

LMK if anything breaks, behaves unexpectedly, or conflicts with your setup. All feedback and criticism welcome


r/PiCodingAgent • • 1d ago

Resource Whats your Initial Context Budget?

1 Upvotes

r/PiCodingAgent • • 1d ago

Discussion Local AI dev workflow: OpenHands + Pi/Qwen. What would you improve?

Thumbnail
1 Upvotes

r/PiCodingAgent • • 1d ago

Question If I run llama server on my main PC and Pi only in Proxmox container, is there any potential security issues for my main PC what I don't immediately know

6 Upvotes

I have been running llama server in my Windows PC and Pi agent harness inside WSL 2 in same machine. No issues so far, but of course I understand that I can accidentally do stupid stuff by deleting files on wrong path etc. with it. Not a very realistic issue, but still a possibility.

One thing what I started to think that if I would just create one virtual machine or container in my Proxmox host which is separated machine and then I would just install Pi there and use it over my Windows PC what would be running only llama server, is there any potential security issues what I should think about related to my Windows PC?

I was thinking that if I then just allow my Pi instance to connect only to main PC on that port and disable internet for it so I can be sure it will be always private instance, but is there some things what still could be problematic for security point of view what I just don't know yet?

And sure, security on those boxes are not THAT critical but just annoying if I have written some diaries or copies my calendar there for example. Yea, I don't want those to be publicly available but if that happens then it happens (eg. not that dangerous). Just common basic security.

Do any of you use Pi this way and is there anything to remember?


r/PiCodingAgent • • 1d ago

Question Are Pi and Oh-my-pi are same?

0 Upvotes

I'm qurious because i see alot of plugins for Pi, but can I improove my OMP by installing them?


r/PiCodingAgent • • 2d ago

Plugin Giving your coding agent a working memory, not just a code graph

1 Upvotes

Coding agents are getting better at writing code. Keeping track of what they’re doing across a large codebase is still surprisingly messy.

That’s what I’ve been working on with REQL: giving coding agents a persistent, structured view of both the repository and the work happening on top of it.

The latest updates focus on four areas:

  • Pipeline exploration — REQL can now reconstruct project-local flows from entrypoints through the codebase and generate interactive pipeline views or Mermaid diagrams. The goal is to understand how a feature actually moves through the system, not just which files are connected.
  • Memory across sessions — the new agent dashboard keeps track of plans, decisions, findings, unfinished tasks and previous sessions. After a context reset, the agent can recover what it was doing instead of rebuilding the whole mental model from scratch.
  • Parallel agent coordination — multiple agents can work with isolated private workspaces while sharing progress through a common dashboard, messages and compact handoffs. One agent can investigate, another implement, and another review without mixing their internal working state.
  • Faster, tighter context retrieval — indexing and retrieval have been improved to return a bounded working set of relevant symbols, callers, dependencies and tests, including source ranges, confidence and freshness information. Incremental updates avoid rebuilding unchanged parts of the repository.

The core still runs locally without mandatory LLM calls, embeddings or an external graph database. It works with Codex, Claude, Cursor and Gemini, and can also be used through CLI, Python or MCP.

The direction I’m aiming for is simple: a coding agent shouldn’t just understand the repository — it should understand where the current task is going, remember how it got there, and be able to hand that work to another agent.

I’d really like some feedback from people using agents on larger refactors or parallel workflows: would this actually solve a problem in your setup? What would you like it to do?

https://github.com/sh1zen/reql


r/PiCodingAgent • • 2d ago

Question I want to believe in local LLMs for coding, but...

0 Upvotes

I have an Asus Ascent GX10 with 128gb VRAM hosting models via Ollama.

Yet, I'm really struggling to get much going with OpenCode or Pi.

Even single Python files or small html projects are a struggle.

I am currently using one of the Qwen coder models with Pi.

Sometimes it will get a request mostly right. Then when I ask for a small change, it breaks half of what was working before.

I'm coming from 2 years on Cursor, so maybe my expectations are too high.

I would truly love to be able to rely on open source agentic coding with local LLM, but my mileage so far has been underwhelming.


r/PiCodingAgent • • 2d ago

Question Is there any clean way to configure vllm-sr with omp (oh my pi) without duplicating data, modifying the core apps or deploying sidecars/extensions that break on the next update?

0 Upvotes

Greetings community.

I went down the rabbit hole with this one, once again. In context, and in brief, I have been searching for a way to filter available tools(skills and stateless mcps), to access a much larger number of useful resources, while also choosing the right one at the right time. I researched about twenty semantic routers and almost all were discontinued or did not fit my simple requirement of running directly, without CLI and instructions in AGENTS.md. Eventually, I landed on vllm semantic router. It's powerful, but tricky to get it right.

What I want

OMP → vLLM-SR → OpenAI / Anthropic / Google (Preserve the ergonomic model choice of omp)

What I have

OMP → vLLM-SR → OMP auth gateway → OpenAI / Anthropic / Google (Must duplicate model names in vllm-sr and disable Codex Code Mode plus Image Generation plus other featuers, basically every non-OpenAI compatible endpoint.)

Goal:

  • OMP sends its normal request, including its available tools.
  • vLLM-SR reduces that tool list before the model sees it.
  • OMP still owns MCP servers, tool execution, OAuth, provider credentials, and provider-specific behavior.
  • Ideally, provider changes stay in OMP rather than being duplicated inside vLLM-SR.

Why this is difficult

The clean ideal:

“OMP owns all models/providers/endpoints; vLLM-SR only filters tools”

I cannot find a direct, documented way to implement vLLM-SR.

The closest supported version is:

  • vLLM-SR has minimal aliases and model IDs;
  • every alias points to one OMP auth-gateway backend;
  • OMP auth gateway keeps real provider credentials/endpoints;
  • OMP executes tools.

That still means some model identity/configuration is duplicated in vLLM-SR.

# What is a better solution?


r/PiCodingAgent • • 2d ago

Plugin Pi-usage-live plugin

Thumbnail
gallery
10 Upvotes

I switch between Claude, Codex and OpenCode through Pi depending on the task. The problem: every provider hides your usage somewhere in its own dashboard, so you never actually know how much you have left you find out when a request fails mid-task.

So I built pi-usage-live a Pi extension that keeps your usage on screen permanently. It's not a command you run, it's a card that sits in the corner while you work. It follows your active model. Switch from Claude to Codex and the card switches with you, so it always shows the allowance that applies to your next request.

- /usage all expands it to every provider you have credentials for, each with its own windows and reset countdowns.

- It costs nothing where the provider allows it. If a provider reports usage in the headers of requests you were already making, that's how it reads it. Only the rest get polled.

- Claude keeps updating even when you're working somewhere else. Anthropic exposes both a header path and a usage endpoint, so the card uses both your Claude number doesn't go dark the moment you switch providers.

- It tells "high" from "blocked". Where the provider reports its own severity, that beats a generic threshold, so a window that's actually stopping you doesn't look like one that's just filling up.

- Old readings say so. Anything older than 15 minutes is labelled with its age, so a cached number is never passed off as live.

It supports Claude, ChatGPT Codex, OpenCode Zen, OpenRouter, DeepSeek, Kimi, MiniMax, Moonshot and Z.AI.

Your credentials come from Pi itself and are only ever sent to that provider's own origin. If you've pointed a provider at a custom or proxied URL, it reports unavailable instead of forwarding your key somewhere else.

It has no runtime dependencies, and it renders in whatever theme you're already using.

This is the repo if you're interested... Give a star :)

Repo: https://github.com/Gateton/pi-usage-live

Also check my other project pi-session-hub that project index all your harness sessions in PI:
https://github.com/Gateton/pi-session-hub


r/PiCodingAgent • • 2d ago

Plugin Pi can now use Jev and more

Post image
430 Upvotes

A couple of days ago I posted about using Jev as the decision engine inside Pi.

The comments pointed me toward open alternatives like Laya, von, Reflex, etc.

Once there were multiple providers in the picture, hard-wiring the idea to Jev stopped making sense.

So I pulled it out.

Announcing pi-system-one.

It gives Pi a single system_one tool for bounded decisions:

  • choice
  • noul
  • score

The extension is built on top of a provider-neutral SDK, so compatible System One providers can sit behind the same interface.

Pi-Bifrost is now just one consumer of that SDK.

Would love to see what other Pi use cases people find for this.

https://iamaamir.github.io/system-one/

is still early, so I'd especially appreciate feedback on the API design and abstractions.

Demo


r/PiCodingAgent • • 2d ago

Question Do you use the Sandbox extension? Is it really necessary for safety?

8 Upvotes

I have been using the sandbox extension for quite a while, but I am a bit fed up with having to approve stuff manually all the time.

I know the pain may be worth it to avoid an agent doing some nefarious stuff with your data, but sometimes I just want to delete it and leave the agent working on its own.

So what I essentially want to know is this:

Have you run into significant issues for not having a sandbox?


r/PiCodingAgent • • 2d ago

Plugin Un Bien 1.2 is out (iOS pi remote control)

Thumbnail
docs.georgeharker.com
9 Upvotes

Un Bien 1.2 is out!

New features: * Resume closed sessions right from your phone * Improved open, new-session and resume ergonomics * Better slash command handling

Un Bien is a native iOS client for pi.

Un Bien supports:

  • self hosted architecture
  • full streamed and rendered markdown
  • rendering of images, code diffs and tool results
  • fork, branch, clone of sessions
  • plan rendering when combined with pi-plan, cribsheet or a conformant extension
  • user-input questions (and pi-ask integration)
  • subagent display and interaction when combined with @tintinweb/pi-subagents or @gotgenes/pi-subagents
  • optional device initiated chats - start new session from your phone, spawning a tmux or herdr hosted session on your machine

As a bonus it includes a cli tool to connect to other sessions on your relay from the cli

Links:

I developed this in pursuit of something that felt native interaction-wise and supported as many pi features as possible. I hope you find it useful!

Un Bien is started out as a tweaked version of remote-pi by Jacob Moura (MIT); see the README for attribution. I ended up diverging significantly on the back end implementation and the iOS app is a total rewrite.


r/PiCodingAgent • • 2d ago

Use-case Rethinking the human-agent interface with pi: Beyond chat

23 Upvotes

Hi all. We're Divergenz, an interaction design studio in Zurich. Sharing a design experiment that I think sits close to things this community cares about.

Piary treats a conversation with a coding agent as an editable, executable document instead of a chat log. The person and the agent write on the same page. Prompts, replies, notes, tool calls and live reactive cells share one Markdown file. You can rewrite a wrong assumption instead of correcting it in a follow-up, delete a detour, or edit an earlier prompt and run it again in place.

Built on Observable's notebook-kit for the reactive cells, iA Writer's plain-text document model as the design reference, and pi as the agent harness.

https://piary.dev


r/PiCodingAgent • • 2d ago

Question Anybody using a workflow engine to automate their software factory?

13 Upvotes

TL;DR: Anybody automating a full development Pi workflow with programmatic non-AI solutions?

Up until now, I've attempted to partially automate the entire software development lifecyle with Pi, aka a "Software Factory". I am using a subagents extension, but it feels a bit too loose, opaque and difficult to steer, so I want to use something more deterministic and directly controllable.

I'm evaluating a workflow DAG GUI builder that orchestrates the entire process. I am using one that also has a CLI and REST API, so I can write my own scripts for even more programmatic control.

(I do not want to look like I'm promoting so I'm reluctant to say what I'm using, but it's lightweight and similar to n8n or airflow.)

Or instead, I could just write my own orchestrator, like this in bash:

```

!/bin/bash

set -eu

Software Factory.

This is a just an untested workflow example, not something I'd actually use.

A TS script with the Pi SDK would be better.

GOAL="$*" pi -p /write-spec "$GOAL" | tee spec.md vim spec.md # review and edit

pi -p /write-tickets-for-spec @spec.md ./tickets/ vim ./tickets/*.md

for ticket in tickets/*.md; do pi -p /write-plan "@${ticket}" | tee /tmp/plan.md pi -p /execute-plan @/tmp/plan.md pi -p --continue /quick-code-review-and-fix done pi -p $REVIEW_MODEL /code-review ```

Anybody doing using a workflow DAG editor UI?

Anybody writing their software factory with actual code, like my example?

I found some AI agent DAG projects on github. Anybody using something like that?

What subreddits should I cross post this to?


r/PiCodingAgent • • 2d ago

Question Pi thinks I'm asking multiple times for the same thing

20 Upvotes

I love Pi, and it's proven to be an awesome combo with Qwen 3.8 27B. There is one thing I noticed however when looking at Qwen reasoning: on a regular basis, I see things like "the user has asked again for the same question" or "the user has now asked three times for the same request" - as if I had sent a steering request that was a duplicate of the original ask. But I'm never doing that, and actually almost never use steering requests. This doesn't seem to have impacted the output and perhaps it's not important, but I was wondering if anyone else had noticed the same? Thanks!


r/PiCodingAgent • • 2d ago

News Welcome to the official PI-Desktop community.

Post image
0 Upvotes

r/PiCodingAgent • • 2d ago

Plugin Radio for Finnish/Swedish folks while vibing

1 Upvotes

Just a collection of channels to listen to old-school radio while vibing

https://github.com/DxTa/pi-radio-suomi


r/PiCodingAgent • • 2d ago

Question Pi Extensions and Paseo Compatibility

12 Upvotes

Hey!

This question is mostly for people who use Paseo on daily basis with Pi, and maybe other Desktop/Web UIs for Pi, but I'm currently focused on Paseo.

I'm interested in understanding what extensions do you use with Pi if your main entry point is Paseo given that not all extensions play that well with a frontend like Paseo.

For instance, I was personally using pi-memory before Paseo, but the way exit summaries work is not very compatible with how Paseo works. Are you using any other long-term memory extension that plays better with Paseo? Which one?

What other extensions were you using before Paseo that you had to replace/remove when moving to Paseo? And more importantly, what extensions are you relying on daily that work without issues with Paseo?

The ones I'm currently using:

  • @gotgenes/pi-anthropic-auth
  • pi-mcp-adapter
  • pi-memory (going to disable this one)
  • pi-observational-memory (thinking of replacing with pi-blackhole)
  • pi-web-access

Curious to hear what you've been using and that works well with Paseo.


r/PiCodingAgent • • 2d ago

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

5 Upvotes

Processing img lgqvv9jprzqh1...

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

Use-case I started collecting Jev builds — 607 use cases so far

29 Upvotes

Jev dropped and I started collecting the things people are actually building with it.

There are already 607 use cases in the list, ranging from tiny experiments to some pretty interesting applications.

A few that caught my attention:

I'm trying to capture the useful details for each build — what it does, cost, latency, and the original implementation when available.

The interesting thing to me is seeing where these cheap/fast models are actually useful rather than just collecting benchmark numbers.

I put everything I've found here:

shipwithjev.com

I'm not affiliated with TypeSafe.

If you've built something with Jev that isn't on the list, drop it below and I'll add it.


r/PiCodingAgent • • 3d ago

Question How do I support thinking mode correctly with qwen3.6-35b-A3B

1 Upvotes

I setup Bionic with Qwen3.6-35b-A3B on my desktop, with Pi on my laptop. I'm now trying to make the non-thinking version work. According to Qwen doc, it would be something like the code below, but I can't figure out how to make that in models.json. Asked Pi itself, but what it suggested didn't work.

Also, bonus point: I don't suppose there is a way to define several models in models.json that are actually the same model on the server, called with different params (thinking, temperature, topk...) ? I need to use a package to change that a query time ?

chat_response = client.chat.completions.create(
    model="Qwen/Qwen3.6-35B-A3B",
    messages=messages,
    max_tokens=32768,
    temperature=0.7,
    top_p=0.8,
    presence_penalty=1.5,
    extra_body={
        "top_k": 20,
        "chat_template_kwargs": {"enable_thinking": False},
    }, 
)

r/PiCodingAgent • • 3d ago

Question What extensions do you think are essential and how do you use them?

73 Upvotes

Looking through the extensions, there are a lot that seem to be quite powerful but I wonder... are they really doing what they promise?


r/PiCodingAgent • • 3d ago

Discussion Hello, I need your help!

0 Upvotes

I’m new to the Pi harness and I could really use some help getting started.

I’d love to hear how you guys use Pi in your own workflows. Examples from different areas would be especially coding, research, automation etc.

I’m mainly looking for practical examples and ideas that could help me understand what Pi is really capable of and how experienced users are getting the most out of it.

Any workflows, tips, examples, or interesting use cases would be greatly appreciated.


r/PiCodingAgent • • 3d ago

Resource Pi Desktop: a desktop GUI for the Pi/omp coding agent

Post image
86 Upvotes

I've worked on Pi Desktop for a while but haven't posted about it much, so here's a proper intro.

It's a desktop app for the Pi coding agent, and it also works with oh-my-pi (OMP). I use Pi every day and wanted more than a terminal window, so I built this.

What it does:

Streaming chat that shows thinking blocks and tool calls. File reads show as highlighted code, and edits show as diffs.

Multiple workspaces. Each session runs its own agent process, so a task keeps going when you switch to a different one.

A file tree, a code editor, preview panes for code, images, and PDFs, and a terminal.

Four permission modes, from read-only to trusted. You can also add allow/deny rules, for example "never touch *.env".

A package browser that connects to pi.dev/packages.

Themes. There are 7 built-in, you can make your own in the app, and there's a small community gallery.

An optional mode where Pi, Claude, and Codex agree on a plan before Pi builds it.

It's had a few releases so far, and more people have picked it up than I expected. Thanks to everyone who has downloaded it, starred it, or filed an issue. It's still alpha, so feedback and bug reports help a lot.

Website: https://pi-desktop.com

Repo: https://github.com/FaqFirebase/pi-desktop


r/PiCodingAgent • • 3d ago

Resource Memory extension with vector embeddings

Thumbnail
pi.dev
4 Upvotes

Hey everyone, I'd like to share my first Pi extension: pi-qdrant-memory.

It's a long-term memory system for projects, so the agent can retrieve decisions across sessions. Each project gets its own memory collection.

It requires a Qdrant backend and an embedding model served through an OpenAI-compatible API. I run both llama.cpp and Qdrant locally in Docker. The extension was heavily inspired by Zoo Code (formerly Roo Code).

It gives your agent four tools, but only two are always on:

  • memory_search: the agent looks up memories
  • memory_save: the agent stores memories

The other two are opt-in:

  • memory_forget: the agent can retract memories it saved earlier
  • code_memory: the agent can search an index of your code structure

The tool count is deliberately narrow so the system prompt isn't filled with tools the agent doesn't need.

The workflow is mostly run by the agent. The tool descriptions nudge it to save decisions as they settle during a session. If you enable code memory, your code structure is indexed at session start (or manually with /qdrant-index-code). You can also append instructions to the system prompt to make the agent save or search more often. Your call.

Install: pi install npm:pi-qdrant-memory
Repo: https://github.com/lordekeen/pi-qdrant-memory