cd /news/ai-agents/show-hn-ratel-give-agents-unlimited-… · home topics ai-agents article
[ARTICLE · art-62391] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

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

Giacomo and Roberto launched Ratel, an open-source library that dynamically loads only relevant tools and skills for AI agents per turn, reducing context bloat and token costs by up to 81% in production. The library supports keyword and semantic retrieval, is framework-agnostic, and is available for TypeScript and Python.

read1 min views1 publishedJul 16, 2026

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 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 URL: [https://news.ycombinator.com/item?id=48936491](https://news.ycombinator.com/item?id=48936491)

Points: 4

── more in #ai-agents 4 stories · sorted by recency
── more on @ratel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-ratel-give-a…] indexed:0 read:1min 2026-07-16 ·