Urgent.News

What's breaking now, across thousands of outlets.

Tech

How i give my coding agent a map of the repo with Empryo

i built Empryo solo because i was tired of explaining the same repo to my coding agent. where things live, what calls what, which files usually need to change together. then a new session starts and i'm doing it again. Token usage bothered me too. A few prompts can involve a lot of reading, retries, and tool results. The prompt you type is only a small part of what the model processes. So i…

The author created Empryo to eliminate the repetitive task of explaining their codebase to their coding agent. Empryo provides a visual map of the repository, showing file locations, symbols, and imports. This map updates as the code changes, giving the agent a useful reference point. The agent sees the map while working, helping it navigate the code and understand dependencies.

When a change is needed, such as renaming a method and updating its callers, the map highlights the relevant files and connections. The author emphasizes the importance of keeping the map current, as outdated information can lead the agent to the wrong place. Empryo also allows users to select different models for different tasks, with the option to reuse cached input for efficiency.

However, the cost of a cheaper model may not always result in lower overall expenses, as some tasks require higher-quality output. The author suggests testing different setups by comparing agents using the same commit and a small task with a checkable result, recording metrics like correctness, exploration, rework, usage, and time spent.

Ultimately, the aim is to provide better project awareness for coding agents, with interfaces that make the work easier to follow, especially in large repositories.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Tuesday 15 September →