frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Oo – compress output for coding agents (cargo test → "47 passed, 2.1s")

https://github.com/randomm/oo
1•jannniii•1h ago
I've been running coding agents heavily for the past year or so using frontier model APIs, open weight model APIs and, most recently, local models (Qwen family models on a Strix Halo).

Starting to run local inference has highlighted something I've been aware for longer: just running tests output shedloads of text into the context window that is there for good until compaction or starting afresh. For example, a single `cargo test` dumping 8KB into the agent's context just to communicate "47 test passed." The agent reads all of it, learns nothing useful, and the context window fills with noise. Makes LLM prefill slower as well as costs more when using per token APIs.

I created a small program that sits between the command output and the LLM: oo, or double-o ... yes, sad play on words. Double-o, the agent's best friend :)

oo wraps commands and classifies their output:

  - Small output (<4KB): passes through unchanged
  - Known success pattern: one-line summary
    (oo cargo test →  cargo test (47 passed, 2.1s))
  - Failure: filtered to actionable errors
  - Large unknown output: indexed locally, queryable via oo recall
It currently ships with 10 built-in patterns (pytest, cargo test, go test, jest, eslint, ruff, cargo build, cargo clippy, go build, tsc), but users can add their own via TOML files or use oo learn <cmd> to have an LLM generate one from real command output (currently only with Anthropic models).

No agent modification needed: add "prefix commands with oo" to your system prompt. Single Rust binary, 197 tests, Apache-2.0.

The classification engine works using regex-based pattern matching with per-command failure strategies (tail, head, grep, between) and automatic command categorization (status/content/data/unknown) that determines what happens with unrecognized commands. Content commands like git diff always pass through; data commands like git log get indexed when large.

Especially noticeable with local models & wall-clock time. Helps with frontier models too ... cleaner context, fewer confused follow-ups.

https://github.com/randomm/oo

https://crates.io/crates/double-o

The Power Shift in Media Isn't About Journalism–It's About Distribution

https://thesignalmemo.substack.com/p/this-isnt-a-media-shift-its-a-power
1•sindhya1•56s ago•0 comments

I Turned My DevTerm into a Game Boy Camera and Printer

https://blog.omgmog.net/post/devterm-gameboy-printer/
1•omgmog•3m ago•0 comments

Precog

https://precog.cc/
1•morninj•3m ago•0 comments

Energy Department merges nuclear and particle physics programs

https://www.science.org/content/article/energy-department-merges-nuclear-and-particle-physics-pro...
1•geox•4m ago•0 comments

Culture Shift: How our bodies were built to expect fermented foods

https://press.asimov.com/articles/culture-shift
1•cachecrab•5m ago•0 comments

Billionaire OnlyFans Owner Leonid Radvinsky Dies at 43

https://www.forbes.com/sites/conormurray/2026/03/23/billionaire-onlyfans-owner-leonid-radvinsky-d...
1•cramsession•5m ago•1 comments

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
1•y1n0•5m ago•0 comments

Markdown Ate the World

https://matduggan.com/markdown-ate-the-world/
1•emschwartz•7m ago•0 comments

Service for Clean Windows Shutdown on Azure Spot Virtual Machine Eviction

https://github.com/tringi/shutdown-on-preempt
1•Tringi•7m ago•1 comments

On the Clock

https://harpers.org/archive/2026/04/on-the-clock-alexey-yurenev-boulevard-du-temple-louis-daguerr...
1•jbegley•7m ago•0 comments

My New Toy: FreeBSD on HP Z2 Mini Revisited

https://peter.czanik.hu/posts/new-toy-freebsd-on-the-hp-z2-mini-revisited/
1•vermaden•9m ago•0 comments

Understaffing as a Form of Enshittification

https://pluralistic.net/2026/03/22/nobodys-home/
2•hn_acker•9m ago•0 comments

Build NAS Using FreeBSD on Raspberry Pi

https://freebsdfoundation.org/blog/build-a-nas-using-freebsd-on-a-raspberry-pi/
1•vermaden•10m ago•0 comments

Multi-Vector Search with Amélie Chatelain and Antoine Chaffin

1•CShorten•10m ago•0 comments

FreeBSD 14.4 Release on 2003 HP Compaq TC1100 Tablet PC

https://dkolak0.wordpress.com/2026/03/18/freebsd-14-4-release-on-a-2003-hp-compaq-tc1100-tablet-pc/
1•vermaden•10m ago•0 comments

Review: Boyd, by Robert Coram

https://www.thepsmiths.com/p/review-boyd-by-robert-coram
1•jger15•10m ago•0 comments

(mostly) successful cases of software rewrites with agents in 2026

https://suriya.cc/essays/agents/
1•suriya-ganesh•10m ago•0 comments

Palantir trial plugs into UK financial watchdog's data trove

https://www.theregister.com/2026/03/23/palantir_fca/
2•jjgreen•11m ago•0 comments

StackOverflow-style/Public Knowledge Base site for coding agents

https://agentarium.cc/
1•daliinffm•11m ago•1 comments

Kapso CLI: WhatsApp numbers for agents

https://twitter.com/andresmatte/status/2036061707529834773
2•aamatte•12m ago•1 comments

Stanford Human-Computer Interaction Seminar

https://hci.stanford.edu/seminar/
1•Topfi•12m ago•0 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
1•ibobev•13m ago•0 comments

I made a calmer file converter site and would love some feedback

https://www.pandapawtools.com
1•Betaqiao•13m ago•1 comments

Stitch – Design with AI

https://stitch.withgoogle.com/
1•ianrahman•14m ago•0 comments

Computer-Less Evening Experiment

https://dhbradshaw.substack.com/p/the-computer-less-evening-experiment
1•dhbradshaw•15m ago•0 comments

The oldest known recording of a whale song reveals how oceans have changed

https://www.npr.org/2026/03/22/nx-s1-5752377/the-oldest-known-recording-of-a-whale-song-reveals-h...
1•Brajeshwar•15m ago•0 comments

Node.js's virtual file system PR was mostly written by Claude Code

https://github.com/nodejs/node/pull/61478
1•maxloh•15m ago•0 comments

Agentic Coding Data Dump

https://www.sam-brink.com/posts/ai
1•oxedom•17m ago•0 comments

Game: Storm Cloud Simulator / Pure HTML5

https://cloud-heavy-industries.com/grumbulus/
1•che_shr_cat•18m ago•0 comments

Wikipedia bans eight editors, six of them anti-Israel

https://www.jns.org/israel-news/wikipedia-bans-8-editors-6-of-them-anti-israel
3•mhb•19m ago•1 comments