frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Preloop: Open-source control plane for AI agents. See, govern, cut cost

https://github.com/preloop/preloop
1•dim0r•50m ago

Comments

dim0r•48m ago
Hey HN! Founder here.

I run a small fleet of agents: Claude Code, Codex, Hermes, a couple of custom ones. I kept failing to answer a simple question: what did they actually do last night, and what did it cost me?

It grew into the thing I now use every day: a control plane that sits between my agents and everything they touch — their models and their tools — so I can see what they're doing, gate what they're allowed to do, and cut what they waste.

What it does, concretely:

- *See them.* Onboard agents with one command — the CLI discovers Claude Code, Codex, OpenClaw, OpenCode and friends on your machine, backs up their config, and routes them through Preloop. You get live and historical sessions: every prompt, tool call, and token, with cost per session.

- *Govern them.* An MCP firewall with allow / deny / require-approval rules (per tool, with tiers — e.g. auto-allow payments under $100, human approval to $2,000, deny above). Approvals reach your phone or watch, and they're async — the agent keeps working while a human decides.

- *Cut their cost.* This part recently went open source: session autopsies find concrete waste (unused tools loaded into every request, tool-output fields nothing ever reads, cache-breaking prompts), one click applies the fix at the gateway — no agent code changes — and you can replay the same session through the fix to verify the savings instead of trusting an estimate. Analysis runs on your own model keys (BYOK).

Everything is self-hosted (Apache-2.0, docker compose, helm) — your prompts and traffic stay on your infrastructure. There's a hosted version if you don't want to run it, which is how the project pays for itself: the paid tier is hosting, teams/RBAC/SSO, and hosted-compute analysis. The loop itself is in the open-source core.

Honest limits, since you'll find them anyway:

- Subscription-billed agents (e.g. Claude Code on a Pro/Max plan) pass through byte-faithfully — you get sessions, governance, and budgets for that traffic, but message-level context optimizations only apply to API-key traffic. (Anthropic tightened validation on subscription OAuth requests recently; we pass the exact original payload through rather than rewrite it.)

- Claude Desktop and Cursor are MCP-governed only — their model traffic can't be repointed, so cost analysis doesn't cover it.

- Savings figures are per-session and replay-verified where shown; we don't publish an average because it depends entirely on how wasteful your agents were to begin with. Mine were embarrassing.

I made a short video series showing the whole loop on my own agent fleet: https://www.youtube.com/watch?v=Y_geb2Or8zM&list=PLr2Jp0c-Qn...

Try it: `curl -fsSL https://preloop.ai/install/oss | sh` (self-hosted) — or the hosted version at https://preloop.ai. I'll be here all day; the sharpest criticism gets the most attention.

Podcasts Ruined America

https://www.compactmag.com/article/how-podcasts-ruined-america/
1•speckx•29s ago•0 comments

The Only Software Metric That Matters Is Love (Furialog)

https://furia.com/page.cgi?type=log&id=524
1•surprisetalk•44s ago•0 comments

Math card game (inspired by Scott Wu)

https://www.justwrapapi.com/make-the-number
1•bobcoi03•2m ago•0 comments

AI Engineers' Favourite AI Engineer

https://www.mutagent.io/blog/were-your-ai-engineers-favorite-ai-engineer/
2•benebagus•2m ago•0 comments

Show HN: Base-GPUI: A GPUI port of Base UI headless components

https://github.com/LukeTandjung/base-gpui
1•autodidacc•2m ago•0 comments

File Pilot: Next-gen file explorer

https://filepilot.tech/
1•taubek•2m ago•0 comments

Ask HN: How do you use Copilot in the CLI, App, and IDE?

1•EspressoGPT•2m ago•0 comments

Toward a test of medical AI superintelligence

https://www.nature.com/articles/s41591-026-04539-8?linkId=62962697#Sec3
1•brandonb•3m ago•0 comments

French Polynesia

https://en.wikipedia.org/wiki/French_Polynesia
1•tosh•6m ago•0 comments

VMs can't boot with Network Mode set to Bridged on Apple M5 Pro machines

https://github.com/utmapp/UTM/issues/7658
1•IndySun•7m ago•0 comments

Show HN: Loop – Find out what happened weeks after your warm intro

https://www.getlooped.cc
2•SaltyAstronaut•8m ago•0 comments

Twenty-five years ago it was cryptography, today it's model weights

https://weeraman.com/because-we-can/
1•aweeraman•9m ago•0 comments

Show HN: Sukurini – A screenshot shelf for the macOS menu bar

https://ssut.github.io/Sukurini/
2•ssut•9m ago•0 comments

Connected SUV Locked Its Owner Out in Another Country

https://www.autoblog.com/news/this-connected-suv-locked-its-owner-out-in-another-country
2•toss1•9m ago•0 comments

AGI Singer: Thank You, Universe

https://medium.com/@miho999lv/agi-singer-thank-you-universe-bd6635b81f45
2•miho999lv•10m ago•0 comments

Dependency Cultures – Richard Feldman [video]

https://www.youtube.com/watch?v=E82ly38YEEQ
2•isaacvando•11m ago•0 comments

I Designed a Custom PCB to Avoid Pressing a Button Three Times

https://blog.tymscar.com/posts/opensourcedimmer/
2•tymscar•11m ago•0 comments

The deadly experiment that could save the American elm

https://grist.org/solutions/the-deadly-experiment-that-could-save-the-american-elm/
2•bryan0•11m ago•0 comments

ZimaOS 1.7: The NAS Rabbit Hole Starts Here

https://www.youtube.com/watch?v=N4miV1sV5_8
2•geek1988•12m ago•1 comments

First Beta of VLC 4.0 for iOS

https://www.feepk.net/2026/06/25/vlc-for-ios-4-0-public-beta/
1•feepk•12m ago•1 comments

Show HN: Cloudrift – CLI open-source that finds wated AWS spend

https://github.com/elleVas/cloudrift
2•elleVas•15m ago•0 comments

Contrail Avoidance for the Climate

https://contrails.org/
1•mooreds•17m ago•0 comments

Show HN: Capo – be the capo of your AWS services

https://kap-sh.github.io/capo/
1•karpetrosyan•17m ago•0 comments

The Questionable Future of Nova Launcher

https://mmkthecoolest.gitlab.io/blog/2026-07-28-the-questionable-future-of-nova-launcher/
1•mmkthecoolest•17m ago•1 comments

Guaranteed Income: A License To Spend (2024) [pdf]

https://www.limraconsumer.com/wp-content/uploads/2024/06/RP-28_BlanchettFinke_v1.pdf
1•mooreds•18m ago•0 comments

The crusade–against a big tech company.Worth reading

https://discuss.ai.google.dev/t/noyb-has-contacted-me-google-should-start-sweating/175667
1•Bitu79•18m ago•2 comments

Thoughts about the Leiden Declaration

https://gowers.wordpress.com/2026/07/26/thoughts-about-the-leiden-declaration/
1•jxmorris12•18m ago•0 comments

The Economist as Scapegoat (2020)

https://russroberts.medium.com/the-economist-as-scapegoat-91b317a6823e
1•mooreds•18m ago•0 comments

World’s Tallest Timber Skyscraper

https://newatlas.com/architecture/atlassian-central-timber-tower-tops-out/
2•bookofjoe•19m ago•0 comments

How AI is powering business email compromise at scale

https://research.eye.security/phishing-as-a-service-inside-two-ai-powered-phishing-kits-that-auto...
1•646754375•19m ago•0 comments