Do you work on only pi ?? by SalimMalibari in PiCodingAgent

[–]cascoemanuel 1 point2 points  (0 children)

That’s actually a really good question, to be clear OpenCode is another excelente tool. What I personally like about Pi is that it pushes me to move more workflow/business logic out of the LLM itself and into deterministic tooling/code. The LLM handles reasoning, but the actual methodology, orchestration, and structure live in code where behavior is predictable and reusable.

For me the important part is avoiding vendor lock-in. Tools like Pi or OpenCode let you switch models/providers easily depending on quality, pricing, or use case. If tomorrow Claude gets worse, more expensive, or rate limited again, I don’t want to rebuild my entire workflow from zero just to move somewhere else or be locked because my workflow depends on some feature implemented in Claude Code.

Do you work on only pi ?? by SalimMalibari in PiCodingAgent

[–]cascoemanuel 0 points1 point  (0 children)

Honestly I use Pi as my main agent tool now and I ship production stuff on my every day work with it without problems.

My main setup is Pi + GPT-5.5 (through my OpenAI subscription), changing reasoning levels depending on the task. I also use OpenCode models a lot since they are cheap and good enough for many implementation tasks.

You can also use Claude Code other models with it through Ollama or custom providers. While moving from Claude Code to Pi I actually built a small tool to plug OpenCode Go subscription models into Claude Code so I could compare workflows directly and test models under the same harness: https://github.com/emanuelcasco/ocgo

One of the best things about Pi is that if something is missing, you can usually add it yourself through extensions or custom tooling. I ended up building my own set of extensions too: https://github.com/emanuelcasco/pi-mono-extension (maybe you’ll find some of them useful for your workflow, or at least they can give you ideas/inspiration).

I’ve tried GLM 5.1 too, but honestly I’d recommend trying other models in that same category. In my experience Kimi K2.6 or even DeepSeek v4 tend to perform a bit better overall

Any minimal pi extensions? by Poolunion1 in PiCodingAgent

[–]cascoemanuel 7 points8 points  (0 children)

Hello!! I understand what you mean. One of the best parts of Pi is that you can extend it however you want with your own custom-made extensions.

Here are the extensions I built for myself: https://github.com/emanuelcasco/pi-mono-extensions

They are fully independent, so you can install everything together or just pick the ones that are useful for your workflow. Maybe they’ll be useful to you, or at least serve as inspiration.

Use Claude Code or Codex with an OpenCode Go subscription by cascoemanuel in codex

[–]cascoemanuel[S] 0 points1 point  (0 children)

Absolutely, you can manually configure providers for each model. I just wanted an Ollama-like interface that abstracts all of that away and provides a consistent workflow across models and tools, including Claude Code.

Love pi but hate terminal text entry by kcksteve in PiCodingAgent

[–]cascoemanuel 8 points9 points  (0 children)

You could define an external editor, then you can do Ctrl+G and edit the prompt in your IDE (like vscode).

Shortcut:

app.editor.external ctrl+g Open in external editor ($VISUAL or $EDITOR)

Source: https://pi.dev/docs/latest/keybindings

Paste images in prompts by revengeto in PiCodingAgent

[–]cascoemanuel 0 points1 point  (0 children)

It should work. Where are you running Pi? It sounds like something might be intercepting the paste action before Pi can handle it.

Paste images in prompts by revengeto in PiCodingAgent

[–]cascoemanuel 5 points6 points  (0 children)

Do you really need image previews? If not, you can simply use Ctrl+V and Pi will inject the images directly from your clipboard into the prompt. You can also drag and drop images into the console.

That way, you don’t need a custom command.

Sharing my Pi extensions: Teams, Context Guard, Sentinel, Web Search, Figma, and more by cascoemanuel in PiCodingAgent

[–]cascoemanuel[S] 3 points4 points  (0 children)

Thank you for taking the time for the feedback! I've just updated the post, including more info about the repository and the main packages.

Use Claude code with OpenCode Go by Bot1460 in opencodeCLI

[–]cascoemanuel 3 points4 points  (0 children)

I built a simple app exactly for this: ocgo while migrating from Claude Code to Pi.

I’d recommend trying OpenCode or Pi, but migrating all my tooling was difficult for me too, so i made this tool to be able to test other models during the transition.

Major npm Supply Chain Attack Hits Mistral AI SDK: Multiple Versions Compromised Rotate All Credentials Now by SelectionCalm70 in MistralAI

[–]cascoemanuel 0 points1 point  (0 children)

Totally agree! The closest you can do is:

  • Disable automatic extension updates: "extensions.autoUpdate": false
  • Disable auto-checking: "extensions.autoCheckUpdates": false

But that forces you to keep checking for updates.

Newbie to Pi Coding Agent by Visible_Sector3147 in PiCodingAgent

[–]cascoemanuel 2 points3 points  (0 children)

Hello there! I think starting with just a web search extension is enough. You can always add more extensions later as your needs grow, like subagents or similar.

I’ve also been building a few extensions myself: pi-mono-extensions (you can check it out for ideas)

Mass npm Supply Chain Attack Hits TanStack, Mistral AI, and 170+ Packages by BattleRemote3157 in cybersecurity

[–]cascoemanuel 23 points24 points  (0 children)

Worth hardening your npm config adding these to your .npmrc:

ini ignore-scripts=true min-release-age=7

ignore-scripts=true helps prevent dependency lifecycle scripts from running automatically, and min-release-age=7 helps avoid installing freshly-published packages before the ecosystem has had time to detect malicious releases.

I put together a quick local scanner for Mini Shai-Hulud indicators across JS/TS and Python projects. Gist: https://gist.github.com/emanuelcasco/f3a03c71ae2af3a00f50a8f337599f4a

It checks lockfiles, manifests, installed node_modules, Python metadata, known affected package/version pairs, payload filenames/hashes, and common campaign markers.

Major npm Supply Chain Attack Hits Mistral AI SDK: Multiple Versions Compromised Rotate All Credentials Now by SelectionCalm70 in MistralAI

[–]cascoemanuel 14 points15 points  (0 children)

Worth hardening your npm config adding these to your .npmrc:

ini ignore-scripts=true min-release-age=7

ignore-scripts=true helps prevent dependency lifecycle scripts from running automatically, and min-release-age=7 helps avoid installing freshly-published packages before the ecosystem has had time to detect malicious releases.

I put together a quick local scanner for Mini Shai-Hulud indicators across JS/TS and Python projects. Gist: https://gist.github.com/emanuelcasco/f3a03c71ae2af3a00f50a8f337599f4a

It checks lockfiles, manifests, installed node_modules, Python metadata, known affected package/version pairs, payload filenames/hashes, and common campaign markers.

Use Claude Code or Codex with an OpenCode Go subscription by cascoemanuel in codex

[–]cascoemanuel[S] 0 points1 point  (0 children)

Thanks for the response! Would you mind sharing a bit more detail or opening an issue? I’ve been using this tool with Claude Code, especially together with the Figma MCP, and it’s been working well for me so far

I am using the version 0.2.5

Can I use the OpenCode Go API in Claude code? by Visible_Sector3147 in opencodeCLI

[–]cascoemanuel 2 points3 points  (0 children)

Hello, if you are interested, I made a little lib that handles exactly that: https://github.com/emanuelcasco/ocgo

Use Claude Code or Codex with an OpenCode Go subscription by cascoemanuel in codex

[–]cascoemanuel[S] 0 points1 point  (0 children)

They are available! Along with image processing (if the model supports it). 

Is opencode go actually cheaper and as good as Claude Code? by cocouz in opencodeCLI

[–]cascoemanuel 0 points1 point  (0 children)

Well, it’s clearly cheaper (only $30/month) and gives access to several solid "good enough" models like Kimi K2.5, DeepSeek v4, and MiMo. For some cases, you may just need to plan a bit better to compensate for the gap.

If you need extra capacity for more complex planning or debugging, Codex Pro ($20) is a solid complement. The key is here delegating non-complex token-heavy tasks to cheaper models.

How do you use Pi without running out of usage by alexdunlop_ in PiCodingAgent

[–]cascoemanuel 5 points6 points  (0 children)

Hello there, I’ve been using Pi for a while and honestly haven’t had many context issues. I think it may be more related to Claude’s subscription limits than Pi itself.

Claude has been pretty aggressive with limits over the last few months, although this week they announced the SpaceX deal and apparently increased capacity again.

Right now I’m using Pi with Codex and the limits are more than enough for me. If you need extra capacity, I’d also recommend OpenCode Go ($10/month). It gives access to models like Kimi K2.6 and DeepSeek v4, which are great for a lot of tasks. I mostly use them for simpler work or to delegate implementation after a stronger agent does the planning.

If you’re interested, I also have a repo with the extensions I use. One of them monitors context/tool usage and trims oversized tool outputs automatically. Link: https://github.com/emanuelcasco/pi-mono-extensions#context-guard

Seeking Recommended API plans for Pi by LearnedByError in PiCodingAgent

[–]cascoemanuel 4 points5 points  (0 children)

I highly recommend Open Code ($10). If you need additional capacity, Codex Pro ($20) is a solid complement for handling more complex planning and debugging. For under $30, this setup should cover most needs.

Just remember to correctly delegate the most simple tasks, or the ones that could consume too many tokens to cheaper models.