frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Millwright – Rust-based, self-hosted LLM router

https://github.com/Northwood-Systems/millwright
4•AndrewLiu96•57m ago
Hey HN,

With the news of OpenRouter possibly being acquired and proliferation of hosted LLM routers (i.e. Ramp Router, Vercel’s AI Gateway), I saw the need for a self hosted solution focused on cost savings, transparency, and performance. So, I built an open sourced router with a simple CLI interface that can easily sit between coding agents and GenAI workloads.

For the curious and lazy, at the moment, Millwright has the tools for,

- Providers: OpenAI-compatible APIs, Anthropic, Amazon Bedrock

- Routing: policy-controlled model roles (cheap, mid, frontier), cheapest healthy route selection

- Protocols: OpenAI Chat Completions, Anthropic Messages, text and tool translation

- Cache Affinity: role-scoped session lanes without serializing concurrent agent traffic

- Spend Tracking: per-team costs, cache usage, model/provider mix, request traces

- Cost Analysis: measured usage and modeled candidate economics (HTML, Markdown, JSON)

- Reliability: bounded failover, circuit breakers, timeouts, concurrency limits

- Setup: interactive provider, model, and pricing configuration without storing provider secrets

- Deployment: one Rust binary, Docker, SQLite or PostgreSQL

Full disclosure: parts of the codebase were built with AI coding agents. All feedback is welcome, I’d especially value feedback on the routing policy, provider coverage, and anything that would block you from self-hosting it. Feel free to open feature/request and/or contribute as well.

Comments

eckelj•51m ago
thank you! i find this very interesting, especially the Cache-aware concurrency .
AndrewLiu96•49m ago
No worries! Thank you for checking it out. The cache-aware concurrency was a ton of fun to implement

Raku++ Compiler v1.0.0 Released

https://github.com/ash/rakupp
1•ashport•17s ago•0 comments

Unfinished Business

https://www.a16z.news/p/unfinished-business
1•mmayberry•2m ago•1 comments

Every .ru Domain Now Needs Government ID

https://webhosting.today/2026/07/22/a-government-id-for-every-ru-domain-and-a-warning-for-every-c...
1•speckx•4m ago•0 comments

Travis Kalanick's robotics company raises $1.7B, led by A16Z

https://techcrunch.com/2026/07/22/travis-kalanicks-robotics-company-raises-1-7b-led-by-a16z/
1•duck•4m ago•0 comments

A billionaire's dream for a Florida railway went south

https://www.ft.com/content/39aa5a81-f9bd-4e11-b108-b655734155c4
1•JumpCrisscross•6m ago•0 comments

Social-Media Harm Trial Halted After Teen Drops Meta Lawsuit

https://www.wsj.com/us-news/law/social-media-harm-trial-halted-after-teen-drops-meta-lawsuit-03ee...
1•JumpCrisscross•7m ago•0 comments

Nvidia released its first official GeForce driver for Windows on Arm

https://videocardz.com/newz/nvidias-first-geforce-driver-for-windows-on-arm-confirms-rtx-spark-n1...
2•robotnikman•11m ago•0 comments

We got California to intervene about OpenAI's corporate switch from nonprofit

https://fortune.com/2026/07/22/openai-foundation-class-n-stock-board-control-ipo/
2•SLHamlet•15m ago•0 comments

The Persistence Filter

https://www.joefuqua.blog/writing/the-persistence-filter
1•jbfuqua•15m ago•0 comments

Fairphone 6 with /e/OS 4.0 – Results, results, results

https://www.dedoimedo.com/computers/fairphone-6-eos-4-review.html
2•speckx•16m ago•0 comments

UseReserve – a free macOS menu bar app for tracking Claude and Codex usage

https://usereserve.app
1•mazefall•17m ago•0 comments

Why care about programming languages

https://ebellani.github.io/blog/2026/why-care-about-programming-languages/
1•b-man•18m ago•0 comments

Teardown: The BMW / Harman IDC23H Infotainment Unit (B423)

https://www.hakstuff.net/blog/teardown-the-bmw-idc23h-infotainment-unit
1•JojoFatsani•18m ago•0 comments

Proxy for OpenAI Codex and Claude Code, use any LLM with those apps

https://github.com/lidge-jun/opencodex
2•dandaka•19m ago•0 comments

Bonsai 27B parameters. 1-bit weights. In your browser

https://huggingface.co/spaces/webml-community/bonsai-webgpu-kernels
2•wertyk•19m ago•0 comments

The making of Boiling Point: Road To Hell, the most broken game I've ever loved

https://www.jank.cool/the-making-of-boiling-point-road-to-hell/
1•klaussilveira•19m ago•0 comments

Demis Hassabis on the New Coming Age

https://thezvi.substack.com/p/demis-hassabis-on-the-new-coming
1•gmays•20m ago•1 comments

The Psychopath Code

http://hintjens.com/blog:_psychopaths
1•lemonberry•20m ago•0 comments

The Computer That Helped Win World War II

https://spectrum.ieee.org/colossus-computer-ieee-milestone
1•baruchel•20m ago•0 comments

Revisit E3 Like You've Never Seen It Before [video]

https://www.youtube.com/watch?v=9VeLhqbXNf4
1•HelloUsername•21m ago•0 comments

FCC votes to bar sales of devices with parts from Chinese firms posing risks

https://www.reuters.com/business/autos-transportation/us-senate-panel-approves-bill-crack-down-ch...
1•tartoran•22m ago•0 comments

Show HN: The Harbinger- mTLS proxy that gives AI agents identity, not API keys

https://github.com/n0tduck1e/theharbinger
1•not-duckie•23m ago•1 comments

Show HN: TheDevPlatform – Community-rated dev tools, by engineers for engineers

https://thedevplatform.com
1•julieann24•23m ago•1 comments

Xbox Backward Compatibility on PC

https://news.xbox.com/en-us/2026/07/22/xbox-backward-compatibility-on-pc/
1•madspindel•23m ago•0 comments

TopTierClass – AI that responds to Google reviews for local businesses

https://toptierclass.com/
1•aboutdavidkim•24m ago•0 comments

Talking to a PayPal scammer for 20 minutes [video]

https://www.youtube.com/watch?v=HtrcL6VcW_k
3•doener•25m ago•0 comments

Scan Your Codebase for Vulnerabilities

https://code.claude.com/docs/en/claude-security
1•cebert•29m ago•0 comments

Show HN: Readmer is a compiler for building READMEs from Liquid/Jinja2 templates

https://github.com/artob/readmer
1•arto•30m ago•0 comments

Musk's anti-Odyssey campaign backfires over threat to make AI version of epic

https://www.euronews.com/culture/2026/07/22/elon-musks-anti-odyssey-campaign-backfires-over-threa...
4•devonnull•30m ago•0 comments

Knowingness

https://registerofaliens.substack.com/p/knowingness
1•rmdmphilosopher•31m ago•0 comments