frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Ratel, give agents unlimited tools and skills without context bloat

https://github.com/ratel-ai/ratel
16•jack1689•2h ago
Hi HN! We're Giacomo and Roberto, authors of Ratel (https://github.com/ratel-ai/ratel)

We used to help SaaS companies build agents on top of their products. Whenever we wanted to expand the agents’ complexity/scope, by adding more and more tools and instructions, we always run in the same issue: context bloat, with frequent hallucinations and sky high token bills. So we started constantly engineering the agents, dynamically loading tools, splitting them into subagents, inventing our own way to support skills

And that's exactly when we started building Ratel: a library to let your agent keep its full catalog of tools and skills, but progressively disclosing only the few that actually matter for each turn. Now you can grow your agent's capabilities without breaking it or taking out a loan for it

People are already using it in production, with a user cutting their token cost up to 81% in the first month without compromising the accuracy

We support both keyword and semantic retrieval, all in-process and without any additional infra. Open source, framework-agnostic, exposes OpenTelemetry metrics, available for Typescript and Python

Benchmarks: https://benchmark.ratel.sh

Some cool things we did with this:

• One team's agent had up to 300+ tools dynamically loaded into context. Ratel cut their token cost 81% in month one. • Another team split into several subagents instead, one agent per task. It worked, until the swarm got slow and expensive. We fixed this with our skills.

We're both here all day. Tear it apart, especially if you're an AI or SWE running agents in production

Comments

bbg2401•32m ago
Anyone else suspect this is an entirely astroturfed comment section?
tortilla•29m ago
Yes. The comments read like positive ai vibes and their profiles seem empty and low karma.
vinci00•19m ago
Isn't this just RAG for tools? Also, MCP already has tool search, how is this useful in that case?
jack1689•10m ago
Hey, yes it's on the same family for sure! The difference is that it works with anything, not just MCPs, and it runs in-process without any additional infra (which usually isn't the case for other RAG solutions). Happy to hear your feedback if you try it out :)
tomhow•8m ago
[stub for offtopicness]
iustinai•1h ago
man this could save me so much money lol
jack1689•1h ago
Would love to hear your feedback if you can try it. We initially rolled out BM25 for tool search as it worked best for us internally. Recently rolled out also embeddings and an hybrid option that is being tested in production as we speak
KristianLentino•1h ago
Benchmarks looks very promising! I’ll try to test this new tool in the next few days thanks for sharing!
rstagi•1h ago
Thank you mate! Please share your feedback :)
atenareply•1h ago
This looks so nice!
atenareply•1h ago
I see you built the core in Rust with bindings to TS/Python. y?
jack1689•1h ago
Yes! I should have mentioned in the original post. It was actually built in Typescript at first, but then the performance were not good enough for production use cases. With Rust the footprint was way lower, and we managed tear the latency down from 200ms to 20ms for a single search
missmoss•1h ago
This is neat! It tackles a boring but real problem with agents. When you have too many tools, the model gets confused. This is a good search box for its tools instead of dumping everything into the prompt. Benchmarks is amazing!
jack1689•47m ago
Thank you! Let us know how it works if you try it out :) of course real world is another story, but we agree benchmarks are amazing indeed!
flaviobernoni•37m ago
really cool, first time I've seen anyone treat "which tools does my agent even get to see" as its own problem. Is the roadmap more about pushing deeper on the retrieval side over time, or mostly about covering more frameworks/languages?
jack1689•33m ago
Thank you! Right now we're adding some frameworks adapters to lower the adoption friction, and pushing deeper on new algorithms on the retrieval side. More languages support is not on the radar yet, but we accept contributions! :)

Kimi K3 is now live

https://www.kimi.com/en
486•vincent_s•3h ago•236 comments

Microsoft Comic Chat is now open source

https://opensource.microsoft.com/blog/2026/07/16/microsoft-comic-chat-is-now-open-source/
189•jervant•2h ago•48 comments

Decoy Font

https://www.mixfont.com/experiments/decoy-font
94•ray__•1h ago•39 comments

Detecting LLM-Generated Texts with “Classical” Machine Learning

https://blog.lyc8503.net/en/post/llm-classifier/
52•uneven9434•1h ago•20 comments

OnePlus halts operations in USA and Europe

https://community.oneplus.com/thread/2170715118587871237
420•pilililo2•8h ago•234 comments

NotebookLM is now Gemini Notebook

https://blog.google/innovation-and-ai/products/gemini-notebook/notebooklm-gemini-notebook/
54•xnx•2h ago•33 comments

Goes-19 weather satellite enters Safe Hold mode

https://www.spaceweather.gov/news/goes-19-safe-hold
102•yabones•4h ago•51 comments

Adaptional (YC S25) Is Hiring

https://www.ycombinator.com/companies/adaptional/jobs
1•acesohc•1h ago

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
673•mcgin•13h ago•446 comments

How Our Rust-to-Zig Rewrite Is Going

https://rtfeldman.com/rust-to-zig
244•jorangreef•6h ago•130 comments

Immersive Linear Algebra Book with Interactive Figures

https://immersivemath.com/ila/
39•srean•2h ago•3 comments

Launch HN: Traceforce (YC S26) – Company-wide security monitoring for AI apps

11•XiaHua•1h ago•5 comments

Someone Used AI to Write an Unauthorized Biography of Me

https://www.nytimes.com/2026/07/16/technology/ai-slop-books-biography-amazon.html
19•igonvalue•1h ago•26 comments

56,000 lines of DOOM, in a language I made up

https://betlang.dev/about/
22•ghuntley•1h ago•14 comments

Guide to data tools landscape for developers

https://sinja.io/blog/data-landscape-guide-for-developers
52•OlegWock•3h ago•12 comments

Sony deletes more movies from the accounts of people who ‘bought’ them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
386•nekusar•6h ago•227 comments

How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM

https://www.zhinit.dev/blog/training-a-kick-drum-diffusion-model
33•zhinit•3h ago•25 comments

Ente – Opening Our Books

https://ente.com/open/
167•Sherex•7h ago•63 comments

Let's Build PlanetScale from Scratch: Infrastructure

https://onatm.dev/2026/07/16/homescale-part-1/
103•onatm•6h ago•16 comments

GC shape stenciling in Go generics

https://rednafi.com/go/gc-shape-stenciling/
31•ingve•4d ago•5 comments

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
16•patonw•2h ago•4 comments

Agent-talk: Enabling coding agents to work together

https://github.com/xhluca/agent-talk
14•xhluca•2h ago•4 comments

Cottage Computer Programming (1984)

https://www.atariarchives.org/deli/cottage_computer_programming.php
8•lioeters•4d ago•1 comments

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

17•tmzt•1h ago•2 comments

Show HN: Galois connections for composable numeric casts in Rust

https://github.com/cmk/connections
7•partialsolve•1h ago•1 comments

1,300 Beautiful Wildlife Illustrations from the 19th Century Now Restored

https://www.openculture.com/2026/07/explore-1300-beautiful-wildlife-illustrations-from-the-19th-c...
212•gslin•15h ago•39 comments

Teardown: A Generic 7-Port USB 3.0 Hub That Wasn't

https://goughlui.com/2026/07/09/teardown-a-generic-7-port-usb-3-0-hub-that-wasnt/
179•speckx•4d ago•83 comments

Accidental Anonymity

https://macwright.com/2026/06/24/accidental-anonymity
33•caminanteblanco•2d ago•6 comments

Photos of items from families in different countries with different incomes

https://www.gapminder.org/dollar-street
61•uneven9434•1h ago•24 comments

42% of adults rely on their parents for financial support

https://www.cnbc.com/2026/07/16/42percent-of-adults-rely-on-their-parents-for-financial-supportth...
22•root-parent•1h ago•5 comments