惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
D
Docker
N
Netflix TechBlog - Medium
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
博客园_首页
量子位
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
云风的 BLOG
云风的 BLOG
Microsoft Azure Blog
Microsoft Azure Blog
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
D
DataBreaches.Net
I
InfoQ
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
H
Help Net Security
V
V2EX

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
My AI agent kept blind-reading my files. So I built a loc...
Jaswanth · 2026-05-16 · via DEV Community

Jaswanth

Hey DEV community 👋,

As a solo dev, I’ve been relying heavily on AI coding agents lately (Claude Code, Cursor, etc.). They're amazing, but my token bills have been getting ridiculous, and the agent's context window inevitably turns into a clogged mess after a few turns.

Digging into it, I realized the biggest culprit is file reads.
When an agent wants to explore a codebase, it usually reads full files blindly. It doesn't actually "know" the structure or the blast radius of what it's touching until it reads 500 lines of irrelevant code.

I looked at existing context tools like Graphify and RTK, but they either rely on post-hoc compression (compressing the output after the agent has already wasted the read) or they use an external LLM to do the reasoning. I wanted something deterministic, entirely local, and pre-hoc.

So, for the past few weeks, I’ve been building unerr.

Token Savings Component Analysis

What it actually does

It's a local intelligence CLI that sits between your AI agent and your repo via the Model Context Protocol (MCP).

Instead of letting the agent do a raw, naive file read, unerr intercepts it. When you run it, it indexes your repo in a few seconds, building an AST graph using Tree-sitter and an embedded local database (CozoDB).

When your agent needs to understand a file, unerr serves it the exact structural entities, callers, and dependencies—completely bypassing the need to send your code to another LLM to figure out the graph. It literally just gives the agent "eyes."

Why I'm posting here (I need your help)

Because I built this solo, I am currently terrified of the classic "Works on My Machine" curse.

Since unerr deals with local databases, AST parsers, and specific agent environments, I am almost certain there are edge cases I've missed on different operating systems and Node setups.

Before I push this out to the wider world, I’d love for some of you to try breaking it. I'm looking for brutally honest feedback on a few things:

  1. The Cold Install: Does npm install -g @unerr-ai/unerr actually work cleanly on your OS/environment?
  2. The File Reads: Is the pre-hoc file read optimization actually grabbing the right context for your specific codebase?
  3. Expectation Mismatches: Does the agent actually feel "smarter" and faster, or does the tool get in the way?

You can test it out by running: https://www.npmjs.com/package/@unerr-ai/unerr

npm install -g @unerr-ai/unerr

Enter fullscreen mode Exit fullscreen mode

(No cloud, no accounts, no API keys needed. The intelligence runs entirely locally).

If you hit a bug, get a weird error log, or if the agent just ignores it, please drop it in the comments. I will be glued to my keyboard squashing bugs all weekend!

Thanks for reading!

Token savings observed

Reasoning Quality Observed

Memory