frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I Cut my Agent Tokens By 50%

4•iohotspot•6h ago
This started by watching the built-in tool calls in Claude code. We noticed that a LOT of the time was being spent searching for lines of code with regex. This approach makes sense when you are working in an unknown environment, but we all work inside of some codebase structure and tracking. This took us down the rabbit hole of codebase indexing and led to us building Indexio. Indexio was built to eliminate the time and tokens agents waste rediscovering a codebase. Regex calls return lots of data each time to the context window which causes bloat over time with items that don't really matter. Since codebase work container mostly static files indexing them and quickly getting to data for discovery is what we were trying to solve.

Indexio index's the codebase to its internal DB and then returns what is needed via MCP when asked. We ran into some fun issues when trying to force the session to use a tool call for lookups so there is some aggressive tool call logic which attempts to override built-in lookup tools. If something isn't in the index it will just fallback to regex lookups.

The whole system is a single binary written in Rust for performance. In our real world testing we are seeing about 50%-60% reduction in token usage compared to the built-in tools, and near instant lookup times compared to multiple seconds for each regex lookup. One place that indexio does come up shorter than then regex is when looking up symbols. We found that most of the agent's work was done looking at strings of words rather than symbols, but if you have a workflow that is heavy in this specific situation just know it may not fit.

We opened sourced everything and would love to hear feedback. Huge Shout out to CocoIndex who gave us the inspiration for this idea.

https://github.com/IOServicesLabs/indexio

Comments

iohotspot•6h ago
Happy to discuss any feedback here. Will be around for a couple of hours.
cudder•6h ago
I cut a lot of my tokens just by installing a language server plugin. What does this offer over that?
iohotspot•4h ago
LSP's would be better at handling symbols like we said in the post. This covers the 90% of the rest of the larger context lookups that are currently being hit with grep and read calls.

Show HN: Skills Hub, a desktop app for managing AI agent skills

https://github.com/qufei1993/skills-hub
5•qufei1993•48m ago•1 comments

Show HN: BetterWispr – Free, open-source dictation for Mac

https://betterwispr.com/
168•kartik017•15h ago•95 comments

Show HN: If MIT OCW Was Like Cable TV

https://rahulch.site/mitocwtv/
3•iKidA•1h ago•0 comments

Show HN: BraiNOTES, handwritten notes on your lecture PDFs in a browser tab

https://github.com/swimmingbrain/brainotes
18•swimmingbrain•4h ago•0 comments

Show HN: Plimsoll, a self-hosted sandbox for code your AI agent writes

https://github.com/plimsollmark/plimsoll
12•cagster•3h ago•2 comments

Show HN: LLMxRay an open-source observability tool for LLMs

https://github.com/LogneBudo/llmxray
4•lognebudo•6h ago•0 comments

Show HN: Preloop – GitHub Actions locally in microvms and SSH/pause failures

https://github.com/preloopdev/preloop
4•Bnjoroge•3h ago•0 comments

Show HN: SecuBuzz – Factual 60-word cybersecurity briefs and CISA zero-day radar

https://secubuzz.com/
2•nisarg-soni•4h ago•0 comments

Show HN: Seodata.dev (1.1) Free search data for AI agents

https://www.seodata.dev/
2•alentodorov•4h ago•0 comments

Show HN: Shpyrd – A new type of cloud for AI era

https://www.shpyrd.io
7•patricknegri•4h ago•20 comments

Show HN: Cachety – Watermark ID documents in the browser, nothing is uploaded

https://cachety.com
3•aminmoradi•5h ago•0 comments

Show HN: Rhci – A Small GHCi in Ruby

https://github.com/beleon/rhci
3•rowbin•6h ago•0 comments

Show HN: Moodi – A tiny 3D character for your app's loading states

https://www.getmoodi.dev
3•itsk0rn3l•6h ago•0 comments

Show HN: Diffle, a keyboard-centric diff viewer with LSP support

https://github.com/moritzwilksch/diffle
66•mwil1000•3d ago•12 comments

Show HN: Doiter – Language where pointers and stack frames are Docker containers

https://github.com/simvux/doiter
5•simvux•6h ago•1 comments

Show HN: I Cut my Agent Tokens By 50%

4•iohotspot•6h ago•3 comments

Show HN: A Chromium browser you drive with HTTP requests (no Selenium)

https://github.com/techxcelerate/browser-mini
3•nitikshkumar•6h ago•1 comments

Show HN: Inside-out analytics for product-led teams

https://www.invarhq.com/
2•vicngan05•7h ago•0 comments

Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes

https://hangul.ink/blog/hangul-day
89•jbaudanza•2d ago•16 comments

Show HN: Proton Drive for Linux

https://oss.lsantos.dev/proton-drive-linux-fs/
119•khaosdoctor•3d ago•44 comments

Show HN: HarmoNova: A modern, customizable Hacker News reader for Chrome

https://github.com/chaosmanage/harmonova
3•chaosmanage•8h ago•6 comments

Show HN: Kindlefall a 3D ARPG in the browser, built with Three.js

https://kindlefall.com/play/
2•djbiccboii•8h ago•1 comments

Show HN: The rarest tech books and docs you've probably never read

https://readrare.com/
179•miletus•2d ago•66 comments

Show HN: Let your AI agents paint big arrows, boxes and text on your screen

https://github.com/franzenzenhofer/big-arrow-on-the-screen
414•franze•2d ago•195 comments

Show HN: Carrier-Explode: iPhone, Pixel and Galaxy carrier settings decoded

https://carrierexplode.com/
424•simplyalec•2d ago•55 comments

Show HN: OpenClear – Self-hosted check and ACH fraud screening for small banks

https://github.com/chaffed/OpenClear
4•villson•11h ago•0 comments

Show HN: Let's Encrypt on an HP LaserJet M553, Renewed from a Proxmox Container

https://blog.ryjones.org/2026/10/09/hp-letsencrypt
4•RyJones•11h ago•0 comments

Show HN: Quaesito: a self-hosted app for quiz nights with friends

https://github.com/ggirelli/quaesito
3•ggirelli•13h ago•2 comments

Show HN: GrogLog, a Free Drink Tracker

https://groglog.io
2•antihero•13h ago•0 comments

Show HN: THX-01 – Open-source decision model, free API, 60M+ tokens processed

https://twitter.com/reversedoofz/status/2109228322752471304
3•lebagetdefrance•6h ago•0 comments