r/PiCodingAgent • u/No_Moment_793 • 25d ago
Question Anthropic Pro on pi agent
"I am not up to date, but can we still use the Anthropic Pro account with pi.agent now? With which extension?"
r/PiCodingAgent • u/No_Moment_793 • 25d ago
"I am not up to date, but can we still use the Anthropic Pro account with pi.agent now? With which extension?"
r/PiCodingAgent • u/knutmelvaer • 26d ago
Hey! Sharing an extension my colleague Daniel Shapiro built at Sanity (disclosure: I work there too): pi-mcp-events, a client for the draft MCP Events spec (SEP-3415).
MCP servers can now announce events, like "this document changed" or "a storm warning was raised", and Pi can subscribe to them instead of polling with tool calls. Events arrive in the background while Pi works, get batched, and come in as a follow-up turn once Pi is idle. It's pretty cool, and it feels like it opens up a lot of new use cases.
What the extension does:
→ Supports all three delivery modes from the draft: polling, streaming, and signed webhooks
→ /mcp-events status shows each watch, its transport, and its state, so it's "less hard" to debug
→ A local inbox, so events aren't lost while Pi is busy (in memory only with --no-session)
→ Event payloads are marked as untrusted data, and Pi's normal permissions still apply
→ Every event is also emitted on Pi's event bus (mcp-events:observation), so other extensions can consume or filter them
pi install npm:@sanity-labs/pi-mcp-eventsThe repo includes a small "weather station" MCP server that emits readings and storm alerts, so you can try it without building your own server first.
We built this because we wanted an agent that notices when a human starts editing the same document and waits for them, which needs events within seconds. Pi made that easy to extend. The write-up covers the latency numbers and the gaps we found in the spec.
If you'd rather have the model call events as tools, check out richardanaya's pi-mcp-events, which takes that approach.
Repo (give it a star if you're into this): https://github.com/sanity-labs/pi-mcp-events
Feedback very welcome, especially on how a harness should decide when an event deserves a turn!
r/PiCodingAgent • u/Nunu_Chus • 26d ago
title and I have seen many packages of web access but they cost a lot of tokens. so I wanted a good middleground
r/PiCodingAgent • u/RoderickHossack • 25d ago
I previously used /login in Pi with my Meta dev credentials and was successfully able to get a Paris response from the Capital of France test. A few days later I'm now ready to start using the setup but it's saying 403, I need a pay as you go API key.
Is the subscription not usable with Pi anymore? It's failing the same test that just passed maybe a few days ago.
r/PiCodingAgent • u/startassets • 26d ago
Hi, I have been working on this project (https://pi.dev/packages/pi-agent-ide) for a while now, started it as another hash-editing toolset, which then evolved into a different and much bigger thing. Key features:
Soon I'm going to release some plugins for that, in particular a way for the agent to work with linear and github as they were simple text resources, but as well computer-use.
To install: pi install npm:pi-agent-ide
I use this tool as my daily driver, working on different extensions, but also writing C++ code, so it's pretty well tested in action, but if you have suggestions/bugs, please feel free to report them, I always try to fix them ASAP.
P.S. I've also created and curating explicit-edit-benchmark, and in terms of editing the tool is pretty solid above the baseline (https://huggingface.co/spaces/alexshpunt/benchmark-explorer?metric=score&card=harness%3Api-agent-ide-codemode%400.9.0).
Although to be fair I have't tested all the models with the latest version, as all the subscriptions are going into another more difficult version of the bench.

r/PiCodingAgent • u/yawk-ra • 26d ago
r/PiCodingAgent • u/Mengusovce • 25d ago
Hey everyone,
I'm currently deep into my studies and working on a bunch of different projects, and I've been meaning to check out Claude properly to help me out with my workflow.
If anyone happens to have a spare referral link lying around and wouldn't mind sharing it, I'd honestly be super grateful.
Thanks a lot in advance! 😊
r/PiCodingAgent • u/HairyExit1450 • 26d ago
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 • u/bugbearchief • 26d ago
I've linked my pi agent to telegram and I was wondering if there is a package or something that will send screenshots over telegram. When I'm away, I want to be able to tell my agent to take screenshots of my project.
r/PiCodingAgent • u/ShufflinMuffin • 26d ago
r/PiCodingAgent • u/Ideabile • 26d ago
Hello everyone, if you have a running session how do you manage if suddenly hits a token limit without manually intervening?
r/PiCodingAgent • u/toby_agwab • 27d ago
Drop a YouTube link, podcast episode, or local recording into Claude Code, Codex, or pi, and get a clean report in HTML, Markdown, or PDF.
Read the whole 1-hour talk in 5 minutes, and click any `[mm:ss]` timestamp to watch just the moments you care about. No extra API keys needed.
r/PiCodingAgent • u/rjhartl • 27d ago
Would be cool to hear any projects you've built with Pi that you can say has impacted the lives of people in your community, your society, humanity, just people in general. So much negativity and fear around AI... would love to hear some success stories of "I used open source to create something impactful that made people's lives a little better". Let's hear em' if you got em'!
r/PiCodingAgent • u/cade-v • 28d ago
I use a minimal Pi setup for building hobby projects and some light data analysis for work. I initially used NVIDIA's OpenShell in its early days before v0.1.0 but switched to Docker sandboxes since I find them quicker to manage for my use cases. However I've had some issues with installing and accessing Pi extensions with them.
What's your experience with sandboxing tools? Any recommendations for creating secure, reproducible environments? Thanks!
r/PiCodingAgent • u/ATH1RSTYM00SE • 27d ago
Hi, just wondering if anyone has any experience with the use case of setting up Pi in an openshell sandbox behind a corporate proxy? Trying to figure out how and where to provide proxy certificates so it can actually communicate outbound.
r/PiCodingAgent • u/Simusid • 28d ago
I'm on a giant shared server and "find /" might take an hour. I've been unable to persuade pi to stop issuing it. In settings.json I changed defaultTools to defaultTools": ["read", "bash", "edit", "write", "grep", "ls"] and in AGENT.md I added a rule "don't ever run find /" and similar message in my README.md but it continues to issue "find /"
How can I enforce this?
r/PiCodingAgent • u/deepu105 • 28d ago
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:
rm -rf ~, mkfs and fork bombs.~/.pi/agent, .pi folders, AGENTS.md, pi install).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:
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)
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.
| Suite | Setup | Risky asked | Risky blocked | Risky ran | Safe asked | Safe blocked |
|---|---|---|---|---|---|---|
| With user requests (3 risky, 60 safe) | Rules alone | 3 | 0 | 0 | 50 | 0 |
| My setup | 3 | 0 | 0 | 10 | 2 | |
| lancet-bench-1 (409 risky, 384 safe) | Rules alone | 406 | 0 | 3 | 333 | 0 |
| My setup | 355 | 34 | 20 | 51 | 0 | |
| All 6 suites (768 risky, 1,025 safe) | Rules alone | 722 | 9 | 37 | 645 | 1 |
| My setup | 538 | 97 | 133 | 114 | 21 |
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 • u/Mission-Zucchini-966 • 28d ago
Hey guys, if you've been following along with DeepSeek news you will know they recently added web search capability to the DeepSeek API, where you can use web search under the same API key. It is pretty handy, also super cheap at only $0.75 per 1,000 requests (pretty much as cheap as it gets, one search credit can encompass many responses).
I created a simple TypeScript CLI wrapper around the API for my own agents to use (for open source models and harnesses)
npm install -g deepseek-search-cli
dsearch auth # Prompt for & save DS API key (can pipe)
# saved key not required (can use secret manager, env var, or .env)
dsearch "World Cup winners 2026 lang:en" -n 5 # equivalent to 'dsearch search ...'
dsearch https://example.com # equivalent to 'dsearch fetch ...'
dsearch "World Cup winners" -o output.md # supports .md and .json (-j flag)And wanted to share it with others, contributors are welcome, or fork it and build a better version :)
I'm sure most of you could whip this up on your own but it also comes with unit/integration/live/e2e testing, CI checks, changelog, auth handling, linting, sdk wrapper, and a fleshed out readme, potentially saving you a few hours of work + validation. Just need to install, auth, and drop a comment in your 'AGENTS.md' to use `dsearch --help` when agent needs web search.
GitHub: https://github.com/LaishGlenberg/deepseek-search-cli
NPM: https://www.npmjs.com/package/deepseek-search-cli
Drop a star if this helped you or your agents!
Note: This was supposed to be a cross post but reddit got stuck loading subreddit search results. The OG post was meant for this subreddit anyway since I built this for Pi agents to use, accidentally posted it to opencode first.
EDIT: remove version from npm URL
r/PiCodingAgent • u/bigghealthy_ • 28d ago
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:
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 • u/IndividualPlus2011 • 28d ago
r/PiCodingAgent • u/CantaloupeBulky2883 • 28d ago
r/PiCodingAgent • u/PilgrimofHaqq2 • 28d ago
I run pi inside my own web UI (Sayl), and I have been building onto and changing certain behaviors of Pi. When MCP and Codemode was introduced, that I felt was the turning point where Pi started to feel "bloaty". So I took pi v1.1.0's source (pi-ai, agent-core, coding-agent), made it part of my codebase and cut everything I don't use. Upstream is now a reference: I port fixes by hand when I want them, nothing updates automatically.
How it went:
src/ under the same build, lint and test setup as the rest of the app. Six model providers are left, the ones I actually sign into.anys, ~119 casts and 7 non-null assertions. All at 0 now, no suppressions left.What changed at runtime (measured after step 1, vs the npm package):
Just wanted to share this for anyone who find data interesting or have thought of trying this themselves.
r/PiCodingAgent • u/Jason5Lee • 28d ago
This occurs when the model tries to use `npm:pi-multiagent` and `npm:@quintinshaw/pi-dynamic-workflows`. With GPT 6.1 Sol, it keeps using the wrong schema. But when I switch to an open-weight model like DeepSeek v4.1 Flash, which is supposed to be worse than GPT 6.1 Sol at tool use, it succeeds on the first try, which is unexpected. Is it because GPT models are only trained on using Codex?

r/PiCodingAgent • u/safwan_olaimat • 28d ago
Hey everyone,
I'm running into a frustrating issue with the Oh My Pi (omp) AI coding agent while using Windows PowerShell 5.1, and I'm hoping someone here has found a reliable workaround.
The Problem
When omp runs a tool (like reading a file, checking a git diff, or executing a terminal command), the output isn't rendering properly for the LLM. Instead of seeing the actual text or logs, the AI model literally receives [Content Collapsed] inside its context window.
Because the AI thinks the text is intentionally hidden or blank, it can't actually see my code or debug logs to help me.
thanks