KnowledgeCoding agent

Repo map

A compact table of contents of the codebase, so the agent knows where to look.

What it is
A ranked summary of files, classes and function signatures (built from the syntax tree), sized to fit a token budget, refreshed as files change.
When to use it
  • Repos bigger than a few files
When to skip it
  • Pasting the whole repo into context
Why (the trade-off)
Most wrong fixes start with editing the wrong place. A map makes the right file findable in one step.
Where it sits
Knowledge layer, part of the context given each turn.
What it needs first
What can be added to it
Nothing builds on it directly.
Effect of adding it
  • cost ↑
  • latency —
  • reliability ↑
  • safety —
Risks it handles
  • Fixes the wrong thing · partial
Learn first (AI Engineering)
Free and open-source implementations