Engineering brief

Why Agents Fail Across Repos—and How to Fix It

AI Engineer2 min read · saves 18 min

At a glance

Relevance
Practical value
Warnings
None

AI coding agents are repo-bound and forgetful, forcing repeated explanations. A meta harness that unifies dependency graphs and session histories can give agents organizational memory, eliminating the re-explanation tax for multi-repo changes.

It directly addresses the hidden coordination cost of using agents across multi-repo codebases—a major blocker for large teams.

Summary

The real ceiling on AI coding agents isn't model intelligence—it's context fragmentation. Agents see only one repository at a time and forget everything between sessions. Developers become the memory bus, re-explaining changes across every consumer and re-describing past decisions with each new prompt. This inflates token costs and drowns productivity gains.

Polygraph, an agent-agnostic meta harness by Victor Savkin, unifies dependency graphs across all reachable repos (owned and open source) while preserving session state, creating an illusion of single navigable codebase with photographic memory of all interactions, allowing multi-repo changes to be coordinated as a monorepo and seamless session handoff across developers with full agent history.

The immediate implication: the re-explanation tax can be eliminated, and cross-repo agentic workflows become practical. But there are tradeoffs—dependency graph accuracy, CI orchestration complexity, and governance of shared agent traces all require careful management. The approach also introduces an extra layer between developers and agents, which could mask errors or create over-reliance.

For large polyrepo organizations pushing agent adoption, this kind of infrastructure may soon be more valuable than chasing the next model upgrade. It reframes the problem from "better agents" to "better organizational memory for agents," a shift that has implications for tooling budgets, CI/CD architectures, and how teams share development context.

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.