frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Pi – a minimal terminal coding harness

https://pi.dev
86•kristianpaul•1h ago

Comments

cyanydeez•1h ago
The backing to OpenClaw/MoltBot whatever they're calling themselves. Why is it insecure, well, Pi tells you >No permission popups.

Anyway, even if you give your agent permission, there's no secure way to know whether what they're asking to is what they'll actually do, etc.

himata4113•1h ago
you want to put agents in a sandbox instead such as bwrap anyways.
cermicelli•1h ago
Just how expensive was that domain?
jotaen•1h ago
README on Github says “pi.dev domain graciously donated by exe.dev” (though that doesn’t say anything about the original price of course).
schpet•58m ago
oh that's kind. i hope they keep the old domain up too though: https://shittycodingagent.ai/
arjie•1h ago
Has anyone used an open coding agent in headless mode? I have a system cobbled together with exceptions going to a centralized system where I can then have each one pulled out and `claude -p`'d but I'd rather just integrate an open coding agent into the loop because it's less janky and then I'll have it try to fix the problem and propose a PR for me to review. If anyone else has used pi.dev or opencode or aider in this mode (completely non-interactive until the PR) I'd be curious to hear.

EDIT: Thank you to both responders. I'll just try the two options out then.

rcarmo•1h ago
You probably want to look into pi then - it's extremely extensible.
dosinga•1h ago
you can run https://block.github.io/goose/ in headless mode (I work on goose)
evalstate•32m ago
fast-agent lets you do this as well (and has a skill in its default skills repo to help with automation/running in container/hf job).
fred_tandemai•30m ago
Been using pi exactly for this and it's working great!
jmorgan•1h ago
I've been using Pi day to day recently for simple, smaller tasks. It's a great harness for use with smaller parameter size models given the system prompt is quite a bit shorter vs Claude or Codex (and it uses a nice small set of tools by default).
rcarmo•1h ago
My current fave harness. I've been using it to great effect, since it is self-extensible, and added support for it to https://github.com/rcarmo/vibes because it is so much faster than ACP.
badlogic•49m ago
wow, i love this! was about to build this myself, but this looks exactly what i want.
rcarmo•43m ago
The better web UI is now part of https://github.com/rcarmo/piclaw (which is essentially the same, but with more polish and a claw-like memory system). So you can pick if you want TS or Python as the back-end :)
badlogic•40m ago
if i ever want a claw, i'd obv. go with this :)
rcarmo•24m ago
The claw version’s web UI essentially has better thinking output, more visibility of tool calls, and slightly better SSE streaming. I’ve backported some of it to vibes, but if you want to borrow UI stuff, the better bits are in piclaw. I use both constantly on my phone/desktop.
infruset•1h ago
Note there is a fork oh-my-pi: https://github.com/can1357/oh-my-pi of https://blog.can.ac/2026/02/12/the-harness-problem/ fame. I use it as a daily driver but I also love pi.
himata4113•1h ago
Preconfigured PI: https://github.com/can1357/oh-my-pi
ge96•56m ago
Is that an official term "coding harness"

Wondering if you wanted a similar interface (though a GUI not just CLI) where it's not for coding what would you call that?

Same idea cycle through models, ask question, drag-drop images, etc...

rcarmo•44m ago
LLM harness has been in vogue for a year now…
outofpaper•40m ago
A harness is a collection of stubs and drivers configured to assist with automation or testing. It's a standard term often used in QA as they've been automating things for ages before Gen Ai came on to the scene.
fred_tandemai•38m ago
Anyone managed to run pi in a completely sandboxed environment? It can only access the cwd and subdirectories
fjk•24m ago
I’ve been tinkering with Gondolin, a micro-vm agent sandbox.

Here’s an example config: https://github.com/earendil-works/gondolin/blob/main/host/ex...

rcarmo•11m ago
I run mine inside https://github.com/rcarmo/agentbox (with https://github.com/rcarmo/webterm)
monkey26•10m ago
I do this with an extension. I run all bash tools with bwrap and ACLs for the write and edit tools. Serves my purposes. Opens up access to other required directories, at least for git and rust.

I think I published it. Check the pi package page.

ramoz•29m ago
The way you’re able to extend the harness through extension/hook architecture is really cool.

Eg some form of comprehensive planning/spec workflow is best modeled as an extension vs natively built in. And the extension still ends up feeling “native” in use

mongrelion•28m ago
Pi ships with powerful defaults but skips features like sub-agents and plan mode

Does anyone have an idea as to why this would be a feature? don't you want to have a discussion with your agent to iron out the details before moving onto the implementation (build) phase?

In any case, looks cool :)

EDIT 1: Formatting EDIT 2: Thanks everyone for your input. I was not aware of the extensibility model that pi had in mind or that you can also iterate your plan on a PLAN.md file. Very interesting approach. I'll have a look and give it a go.

ramoz•26m ago
See my comment in the thread but there is an intuitive extension architecture that makes integrating these type of things feel native.

https://github.com/badlogic/pi-mono/tree/main/packages/codin...

alvivar•25m ago
I plan all the time. I just tell Pi to create a Plan.md file, and we iterate on it until we are ready to implement.
prodtorok•24m ago
Same but I use a plan mode extension. Somebody also integrated a planning ui that was cool.
miroljub•24m ago
Check https://pi.dev/packages

There are already multiple implementations of everything.

With a powerful and extensible core, you don't need everything prepackaged.

mccoyb•25m ago
Pi has made all the right design choices. Shout out to Mario (and Armin the OG stan) — great taste shows itself.
semiinfinitely•6m ago
I do not understand why in the age of ai coding we would implement this in javascript
Blackarea•1m ago
yes! I juat don't understand as well. Up until some time ago claud code's preferred install was a npm i, wasn't it? Please serious answers for why anyone would use a web language for a terminal app
rahimnathwani•20m ago
Hugging Face now provides instructions for using local models in Pi:

https://x.com/victormustar/status/2026380984866710002

lukasb•16m ago
But I can't use my Codex plan with it, right? I have to use an API key?
mccoyb•15m ago
You can use your Codex plan with it. OpenAI endorsed it several weeks ago, as far as I remember. That could change, however, but now seems safe.
suralind•13m ago
I’ve been testing it for a few days on pretty much clean install (no customizations/extensions) and it’s ok. Not sure if I like it yet.

AI-Induced Tech Selloff Spoils the IPO Parade

https://www.wsj.com/finance/stocks/ai-induced-tech-selloff-spoils-the-ipo-parade-28c54d5e
1•petethomas•1m ago•0 comments

You Get Good at What You Do (Or Do You?)

https://chriscoyier.net/2026/02/24/you-get-good-at-what-you-do-or-do-you/
1•herbertl•2m ago•0 comments

Show HN: Upvoicy – Simple feedback management tool for teams and creators

https://upvoicy.com/
1•optinghost•4m ago•0 comments

Arms race: Apple's waiting for robotics for US iPhone assembly (2025)

https://appleinsider.com/articles/25/04/29/arms-race-apples-waiting-for-robotics-for-us-iphone-as...
1•alhazrod•7m ago•0 comments

Apple's Global Manufacturing Empire

https://www.historytools.org/consumer/where-is-apple-factory
1•stmw•7m ago•0 comments

Can AI Prompt Us to Ask New Questions?

https://newsletter.dancohen.org/archive/can-ai-prompt-us-to-ask-new-questions/
1•Vigier•8m ago•0 comments

Touchscreen OLED MacBook Pro Coming in 2026: Dynamic Island, Redesigned Controls

https://www.macrumors.com/2026/02/24/touchscreen-macbook-pro-dynamic-island/
1•mikhael•15m ago•0 comments

Lattice-proxy – 93% token compression for LLM APIs (drop-in replacement)

https://latticeproxy.io
1•Negative_ron•17m ago•0 comments

Fed's Cook says AI triggering big changes, sees possible unemployment rise

https://www.reuters.com/business/feds-cook-says-ai-triggering-big-changes-sees-possible-short-ter...
12•geox•17m ago•1 comments

Show HN: Linex – A daily challenge: placing pieces on a board that fights back

https://www.playlinex.com/
1•Humanista75•18m ago•0 comments

Claude says its DeepSeek when asked in Chinese

https://twitter.com/stevibe/status/2026227392076018101
4•smusamashah•18m ago•0 comments

UK fines Reddit for not checking user ages aggressively enough

https://arstechnica.com/tech-policy/2026/02/uk-fines-reddit-for-not-checking-user-ages-aggressive...
1•iamnothere•19m ago•0 comments

Show HN: Tau Router – Using Number-Theory to Partition Long-Context Retrieval

https://github.com/davidames0523/tau-router
1•davidames0523•20m ago•0 comments

Show HN: Claud-ometer – See your Claude Code usage, costs, and sessions locally

https://github.com/deshraj/Claud-ometer
1•deshraj•21m ago•0 comments

Show HN: MCP app for viewing/generating 3D Gaussian Splatting in ChatGPT

https://github.com/kstonekuan/splatter-mcp-app
1•kstonekuan•21m ago•0 comments

Sandcastles Made of Bits

https://jsfour.substack.com/p/sandcastles-made-of-bits
2•TheOsiris•22m ago•0 comments

Show HN: VoooAI – natural language to multi-modal AI pipelines

https://voooai.com/
1•hkljjkl•22m ago•1 comments

Every privacy concession in history has been permanent

https://nbtv.substack.com/p/enough-is-enough
3•Cider9986•23m ago•1 comments

Show HN: Ctrl and Click on text to jump to its translation key in VSCode

https://chromewebstore.google.com/detail/i18nkeylocator/nkoandfnjiopdjmhbcnggpeomnmieadi
1•yusufA207•25m ago•0 comments

Xkcd Simulation for Real Packages

https://nesbitt.io/xkcd-2347/
1•michaelw•26m ago•0 comments

New Research Suggests Myopia Could Be Caused by How We Use Our Eyes Indoors

https://www.sunyopt.edu/new-research-suggests-myopia-could-be-caused-by-how-we-use-our-eyes-indoors/
1•gnabgib•26m ago•0 comments

AI and My Crisis of Meaning

https://brids.bearblog.dev/ai-and-my-crisis-of-meaning/
2•mindwok•30m ago•0 comments

Men develop heart disease 7 years before women

https://www.empirical.health/blog/men-vs-women-heart-disease/
1•brandonb•30m ago•0 comments

AI isn't killing SaaS – it's killing single-purpose SaaS

3•JB_5000•31m ago•0 comments

Show HN: WaveGuard – Anomaly detection using wave physics simulation (GPU, MCP)

https://github.com/gpartin/WaveGuardClient
1•waveguard•32m ago•0 comments

Show HN: Jqueue: A job queue that runs on a single JSON file

https://github.com/janbjorge/jqueue
1•jeeybee•37m ago•0 comments

AST-Guided Translation of Natural Language into First-Order Logic with LLMs

https://arxiv.org/abs/2602.13237
2•PaulHoule•37m ago•0 comments

How Long Is the Coast of Britain? (1967)

https://www.jstor.org/stable/1721427
1•Hooke•38m ago•0 comments

Hegseth threatens to blacklist Anthropic over 'woke AI' concerns

https://www.npr.org/2026/02/24/nx-s1-5725327/pentagon-anthropic-hegseth-safety
2•cdrnsf•39m ago•0 comments

Ask HN: Do you use trading AI agents?

1•alphathetaquant•39m ago•1 comments