Show HN: Ratel, give agents unlimited tools and skills without context bloat (github.com)
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
14 comments
[ 5.7 ms ] story [ 33.0 ms ] thread