frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Qwen3-Coder: Agentic coding in the world

https://qwenlm.github.io/blog/qwen3-coder/
423•danielhanchen•8h ago•149 comments

Mathematics for Computer Science (2024)

https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/
29•vismit2000•1h ago•2 comments

Show HN: WTFfmpeg

https://github.com/scottvr/wtffmpeg
15•ycombiredd•1h ago•0 comments

The Benefits of Trunk-Based Development

https://thinkinglabs.io/articles/2025/07/21/on-the-benefits-of-trunk-based-development.html
6•gpi•34m ago•1 comments

AI coding agents are removing programming language barriers

https://railsatscale.com/2025-07-19-ai-coding-agents-are-removing-programming-language-barriers/
17•Bogdanp•1h ago•1 comments

More than you wanted to know about how Game Boy cartridges work

https://abc.decontextualize.com/more-than-you-wanted-to-know/
259•todsacerdoti•10h ago•24 comments

Algorithms for Modern Processor Architectures

https://lemire.github.io/talks/2025/sea/sea2025.html
129•matt_d•6h ago•11 comments

Android Earthquake Alerts: A global system for early warning

https://research.google/blog/android-earthquake-alerts-a-global-system-for-early-warning/
228•michaefe•11h ago•68 comments

Why you can't color calibrate deep space photos

https://maurycyz.com/misc/cc/
86•LorenDB•5h ago•48 comments

Swift-erlang-actor-system

https://forums.swift.org/t/introducing-swift-erlang-actor-system/81248
248•todsacerdoti•10h ago•50 comments

We built an air-gapped Jira alternative for regulated industries

https://plane.so/blog/everything-you-need-to-know-about-plane-air-gapped
189•viharkurama•10h ago•116 comments

No Cheese Please

https://www.lrb.co.uk/the-paper/v47/n13/anthony-grafton/no-cheese-please
14•Petiver•1d ago•5 comments

Don't animate height

https://www.granola.ai/blog/dont-animate-height
335•birdculture•3d ago•198 comments

Countries across the world see food price shocks from climate extremes

https://www.bsc.es/news/bsc-news/countries-across-the-world-see-food-price-shocks-climate-extremes-research-involving-bsc-shows
18•littlexsparkee•1h ago•5 comments

Managing EFI boot loaders for Linux: Controlling secure boot (2015)

https://www.rodsbooks.com/efi-bootloaders/controlling-sb.html
8•CaliforniaKarl•3d ago•0 comments

Subliminal learning: Models transmit behaviors via hidden signals in data

https://alignment.anthropic.com/2025/subliminal-learning/
146•treebrained•11h ago•32 comments

I watched Gemini CLI hallucinate and delete my files

https://anuraag2601.github.io/gemini_cli_disaster.html
132•anuraag2601•10h ago•154 comments

TapTrap: Animation‑Driven Tapjacking on Android

https://taptrap.click/
47•Bogdanp•5h ago•5 comments

TODOs aren't for doing

https://sophiebits.com/2025/07/21/todos-arent-for-doing
313•todsacerdoti•15h ago•180 comments

Org tutorials

https://orgmode.org/worg/org-tutorials/index.html
8•dargscisyhp•2h ago•0 comments

Gemini North telescope discovers long-predicted stellar companion of Betelgeuse

https://www.science.org/content/article/betelgeuse-s-long-predicted-stellar-companion-may-have-been-found-last
122•layer8•12h ago•30 comments

Show HN: Phind.design – Image editor & design tool powered by 4o / custom models

https://phind.design
49•rushingcreek•11h ago•15 comments

Firebender (YC W24) Is Hiring

https://www.ycombinator.com/companies/firebender/jobs/yisDXr5-founding-engineer-generalist
1•kevo1ution•8h ago

Many lung cancers are now in nonsmokers

https://www.nytimes.com/2025/07/22/well/lung-cancer-nonsmokers.html
130•alexcos•14h ago•169 comments

Comparing the Glove80 and Maltron Keyboards

https://tratt.net/laurie/blog/2025/comparing_the_glove80_and_maltron_keyboards.html
46•ltratt•7h ago•21 comments

Font Comparison: Atkinson Hyperlegible Mono vs. JetBrains Mono and Fira Code

https://www.anthes.is/font-comparison-review-atkinson-hyperlegible-mono.html
191•maybebyte•15h ago•127 comments

Show HN: Compass CNC – Open-source handheld CNC router

https://www.compassrouter.com
126•camchaney•3d ago•29 comments

Tiny Code Reader: a $7 QR code sensor

https://excamera.substack.com/p/tiny-code-reader-a-7-qr-code-sensor
123•jamesbowman•13h ago•39 comments

Ask HN: What software subscriptions are worth paying for?

5•helloworlddd•20m ago•3 comments

Hegel Dust

https://www.bookforum.com/print/3201/hegel-dust-62209
22•pepys•1d ago•4 comments
Open in hackernews

Show HN: Any-LLM – Lightweight router to access any LLM Provider

https://github.com/mozilla-ai/any-llm
105•AMeckes•11h ago
We built any-llm because we needed a lightweight router for LLM providers with minimal overhead. Switching between models is just a string change : update "openai/gpt-4" to "anthropic/claude-3" and you're done.

It uses official provider SDKs when available, which helps since providers handle their own compatibility updates. No proxy or gateway service needed either, so getting started is pretty straightforward - just pip install and import.

Currently supports 20+ providers including OpenAI, Anthropic, Google, Mistral, and AWS Bedrock. Would love to hear what you think!

Comments

sparacha•11h ago
There is liteLLM, OpenRouter, Arch (although that’s an edge/service proxy for agents) and now this. We all need a new problem to solve
CuriouslyC•10h ago
LiteLLM is kind of a mess TBH, I guess it's ok if you just want a docker container to proxy to for personal projects, but actually using it in production isn't great.
dlojudice•10h ago
> but actually using it in production isn't great.

I only use it in development. Could you elaborate on why you don't recommend using it in production?

honorable_coder•10h ago
the people behind envoy proxy built: https://github.com/katanemo/archgw - has the learnings of Envoy but natively designed to process/route prompts to agents and LLMs. Would be curious about your thoughts
tom_usher•10h ago
I definitely appreciate all the work that has gone in to LiteLLM but it doesn't take much browsing through the 7000+ line `utils.py` to see where using it could become problematic (https://github.com/BerriAI/litellm/blob/main/litellm/utils.p...)
swyx•9h ago
can you double click a little bit? many files in professional repos are 1000s of lines. LoC in it self is not a code smell.
otabdeveloper4•8h ago
LiteLLM is the worst code I have ever read in my life. Quite an accomplishment, lol.
swyx•6h ago
ok still not helpful in giving substantial criticism
honorable_coder•6h ago
and you say you aren't "vested" in liteLLM?
swyx•56m ago
yes, green text hn account, i am not. i just want help in properly identifying flaws in litellm. clearly nobody here is offering actual analysis.
otabdeveloper4•30m ago
Sorry if this sounds harsh, but I'm not really interested in spending time to code review the worst code I've ever seen in 30 years of programming.

Is LiteLLM's code written by an LLM?

ieuanking•10h ago
we are trying to apply model-routing to academic work and pdf chat with ubik.studio -- def lmk what you think
swyx•10h ago
portkey as well which is both js and open source https://www.latent.space/p/gateway
pzo•9h ago
why provide link if there is not a single portkey keyword there?
swyx•6h ago
its my interview w portkey folks which has more thoughts on the category
wongarsu•9h ago
And all of them despite 80% of model providers offering an OpenAI compatible endpoint
dlojudice•10h ago
I use Litellm Proxy, even in a dev environment via Docker, because the Usage and Logs feature greatly helps in providing visibility into LLM usage. The Caching functionality greatly helps in reducing costs for repetitive testing.
weinzierl•10h ago
Not to be confused with AnythingLLM.
honorable_coder•10h ago
a proxy means you offload observability, filtering, caching rules, global rate limiters to a specialized piece of software - pushing this in application code means you _cannot_ do things centrally and it doesn't scale as more copies of your application code get deployed. You can bounce a single proxy server neatly vs. updating a fleet of your application server just to monkey patch some proxy functionality.
RussianCow•10h ago
You can do all of that without a proxy. Just store the current state in your database or a Redis instance.
honorable_coder•10h ago
and managed from among the application servers that are greedily trying to store/retrieve this state? Not to mention you'll have to be in the business of defining, updating and managing the schema, ensuring that upgrades to the db don't break the application servers, etc, etc. The proxy server is the right design decision if you are truly trying to build something production worthy and you want it to scale.
AMeckes•10h ago
Good points! any-llm handles the LLM routing, but you can still put it behind your own proxy for centralized control. We just don't force that architectural decision on you. Think of it as composable: use any-llm for provider switching, add nginx/envoy/whatever for rate limiting if you need it.
honorable_coder•10h ago
How do I put this behind a proxy? You mean run the module as a containerized service?

But provider switching is built in some of these - and the folks behind envoy built: https://github.com/katanemo/archgw - developers can use an OpenAI client to call any model, offers preference-aligned intelligent routing to LLMs based on usage scenarios that developers can define, and acts as an edge proxy too.

AMeckes•9h ago
To clarify: any-llm is just a Python library you import, not a service to run. When I said "put it behind a proxy," I meant your app (which imports any-llm) can run behind a normal proxy setup.

You're right that archgw handles routing at the infrastructure level, which is perfect for centralized control. any-llm simply gives you the option to handle routing in your application code when that makes sense (For example, premium users get Opus-4). We leave the architectural choice to you, whether that's adding a proxy, keeping routing in your app, or using both, or just using any-llm directly.

sparacha•8h ago
But you can also use tokens to implement routing decisions in a proxy. You can make RBAC natively available to all agents outside code. The incremental feature work in code vs an out of process server is the trade off. One gets you going super fast the other offers a design choice that (I think) scales a lot better
swyx•10h ago
> LiteLLM: While popular, it reimplements provider interfaces rather than leveraging official SDKs, which can lead to compatibility issues and unexpected behavior modifications

with no vested interest in litellm, i'll challenge you on this one. what compatibility issues have come up? (i expect text to have the least, and probably voice etc have more but for text i've had no issues)

you -want- to reimplement interfaces because you have to normalize api's. in fact without looking at any-llm code deeply i quesiton how you do ANY router without reimplementing interfaces. that's basically the whole job of the router.

chuckhend•10h ago
LiteLLM is quite battle tested at this point as well.

> it reimplements provider interfaces rather than leveraging official SDKs, which can lead to compatibility issues and unexpected behavior modifications

Leveraging official SDKs also does not solve compatibility issues. any_llm would still need to maintain compatibility with those offical SDKs. I don't think one way clearly better than the other here.

amanda99•10h ago
Being battle tested is the only good thing I can say about LiteLLM.
scosman•9h ago
You can add in it's still 10x better than LangChain
AMeckes•9h ago
That's true. We traded API compatibility work for SDK compatibility work. Our bet is that providers are better at maintaining their own SDKs than we are at reimplementing their APIs. SDKs break less often and more predictably than APIs, plus we get provider-implemented features (retries, auth refresh, etc) "for free." Not zero maintenance, but definitely less. We use this in production at Mozilla.ai, so it'll stay actively maintained.
scosman•9h ago
Yeah, official SDKs are sometimes a problem too. Together's included Apache Arrow, a ~60MB dependency, for a single feature (I patched to make it optional). If they ever lock dependency versions it could conflict with your project.

I'd rather a library that just used OpenAPI/REST, than one that takes a ton of dependencies.

delijati•9h ago
there is nothing lite in litellm ... i was experimenting (using as a lib) but ended using https://llm.datasette.io/en/stable/index.html btw. thanks @simonw for llm
Szpadel•9h ago
I use litellm as my personal AI gateway, and from user point of view there is no difference if proxy uses official SDK or not, this might be benefit for proxy developers.

but I can give you one example: litellm recently had issue with handling deepseek reasoning. they broke implementation and while reasoning was missing from sync and streaming responses.

AMeckes•9h ago
Both approaches work well for standard text completion. Issues tend to be around edge cases like streaming behavior, timeout handling, or new features rolling out.

You're absolutely right that any router reimplements interfaces for normalization. The difference is what layer we reimplement at. We use SDKs where available for HTTP/auth/retries and reimplement normalization.

Bottom line is we both reimplement interfaces, just at different layers. Our bet on SDKs is mostly about maintenance preferences, not some fundamental flaw in LiteLLM's approach.

renewiltord•10h ago
In truth it wasn’t that hard for me to ask Claude Code to just implement the text completion API so routing wasn’t that much of a problem.
piker•10h ago
This looks awesome.

Why Python? Probably because most of the SDKs are python, but something that could be ported across languages without requiring an interpreter would have been really amazing.

pzo•9h ago
for js/ts you have vercel aisdk [0], for c++ you have [1], for flutter/reactnative/kotlin there is [2]

[0] https://github.com/vercel/ai

[1] https://github.com/ClickHouse/ai-sdk-cpp

[2] https://github.com/cactus-compute/cactus

retrovrv•9h ago
we essentially built the gateway as a service rather than an SDK: https://github.com/portkey-AI/gateway
Shark1n4Suit•6h ago
That's the key question. It feels like many of these tools are trying to solve a systems-level problem (cross-language model execution) at the application layer (with a Python library).

A truly universal solution would likely need to exist at a lower level of abstraction, completely decoupling the application's language from the model's runtime. It's a much harder problem to solve there, but it would be a huge step forward.

mkw5053•10h ago
Interesting timing. Projects like Any-LLM or LiteLLM solve backend routing well but still involve server-side code. I’ve been tackling this from a different angle with Airbolt [1], which completely abstracts backend setup. Curious how others see the trade-offs between routing-focused tools and fully hosted backends like this.

[1] https://github.com/Airbolt-AI/airbolt

swyx•10h ago
(retracted after GP edited their comment)
qntmfred•9h ago
don't you post links to your own stuff all the time? i don't think their comment was out of line.
mkw5053•9h ago
I didn’t intend my original comment to be overly-promotional without relevance. I'm genuinely curious about the tradeoffs between different LLM API routing solutions, most acutely as a consumer.
amanda99•10h ago
I'm excited to see this. Have been using LiteLLM but it's honestly a huge mess once you peek under the hood, and it's being developed very iteratively and not very carefully. For example. for several months recently (haven't checked in ~a month though), their Ollama structured outputs were completely botched and just straight up broken. Docs are a hot mess, etc.
nexarithm•9h ago
I have been also working on very similar open source project for python llm abstraction layer. I needed one for my research job. I inspired from that and created one for more generic usage.

Github: https://github.com/proxai/proxai

Website: https://proxai.co/

nodesocket•9h ago
This is awesome, will give it a try tonight.

I’ve been looking for something a bit different though related to Ollama. I’d like a load balancing reverse proxy that supports queuing requests to multiple Ollama servers and sending requests only when a Ollama server is up and idle (not processing). Anything exist?

t_minus_100•9h ago
https://xkcd.com/927/ . LiteLLM rocks !
AMeckes•9h ago
I didn't even need to click the link to know what this comic was. LiteLLM is great, we just needed something slightly different for our use case.
klntsky•9h ago
Anything like this, but in TypeScript?
AMeckes•9h ago
Python only for now. Most providers have official TypeScript SDKs though, so the same approach (wrapping official SDKs) would work well in TS too.
funerr•9h ago
ai-sdk by vercel?
retrovrv•9h ago
there's portkey that we've been working on: https://github.com/portkey-AI/gateway
pglevy•8h ago
How does this differ from this project? https://github.com/simonw/llm
omneity•8h ago
Crazy timing!

I shipped a similar abstraction for llms a bit over a week ago:

https://github.com/omarkamali/borgllm

pip install borgllm

I focused on making it Langchain compatible so you could drop it in as a replacement. And it offers virtual providers for automatic fallback when you reach rate limits and so on.

bdhcuidbebe•6h ago
What is mozilla-ai?

Seems like reputation parasitism.

daveguy•6h ago
It is an official Mozilla Foundation subsidiary. Their website is here: https://www.mozilla.ai/
bdhcuidbebe•6h ago
Interesting. I made my comment after visiting their repo and website. Didnt see a pixel worth of the mozilla brand there, hence my comment.

On a second visit I notice a link to mozilla.org on their footer.

Still doesent ring official by me from being a veteran mozilla user (netscape, mdn, firefox) but ok, thanks for the explanation.

daveguy•6h ago
I agree it's not very clear. They would do well to mention it somewhere besides the main site footer because it would probably help adoption / community / testing too. That said, any company with a lawyer wouldn't let that stand as a name-squat for long.
JohnPDickerson•6h ago
Good feedback. Some of this is intentional - as an independent and growing ~20-person company, we're able to operate more quickly than the larger Mozilla organizations, and we're purposefully distancing ourselves from the associated bureaucracy that comes with any large organization. We are very much in line with the Mozilla ethos around personal ownership, privacy, control, and agency. We're figuring out how to best push on those principles in the world of AI, and appreciate feedback and contributions from the community.
JohnPDickerson•6h ago
Common question, thanks for asking! We’re a public benefit corporation focused on democratizing access to AI tech, on enabling non-AI experts to benefit from and control their own AI tools, and on empowering the open source AI ecosystem. Our majority shareholder is the Mozilla Foundation - the other shareholders being our employees, soon :). As access to knowledge and people shifts due to AI, we’re working to make sure people retain choice, ownership, privacy, and dignity.

We're very small compared to the Mozilla mothership, but moving quickly to support open source AI in any way we can.