# A Genius With Amnesia - Victor Savkin, Nx
<!--
ref: @content/youtube/aie/2026-06-25-a-genius-with-amnesia-victor-savkin-nx
version: 3
updated_at: 2026-10-31T19:20:20.614Z
-->
Victor Savkin (AI Engineer, 2026-06-25): Savkin frames today's coding agent as a genius with two crippling handicaps: it can see roughly 1/1000 of your code — one repo at a time — and it remembers nothing between sessions.
*Synthesized from Victor Savkin on AI Engineer, 2026-06-25.*
Victor Savkin is a co-founder of Nx, the monorepo build-system company, and here he presents Polygraph, an agent-agnostic meta harness Nx built to lift coding agents out of single-repo, single-session confinement.
## Core Thesis
Savkin frames today's coding agent as a genius with two crippling handicaps: it can see roughly 1/1000 of your code — one repo at a time — and it remembers nothing between sessions. Those are a space constraint and a time constraint, and the human ends up serving as both the cross-repo dependency graph and the episodic memory. Both limits are removable: build a unified graph over every repo an organization can reach, capture every agent session as durable relocatable state, and the agent gains reach and recall that no individual developer has.
## Key Insights
- Savkin's worked example counts the cost precisely. Four repos — UI, module one, module two, platform — and a single conceptual change ("change a button") requires **seven separate re-explanations**: the original UI change, explaining it to module one, going back to UI after the published package breaks module one, re-explaining the fix to module one, the same again for module two, wiring it up in platform, and then a week later re-explaining the whole history to a fresh agent chasing a production bug. Only the first explanation is unavoidable.
- The re-explanations are not just developer time, they are token burn. Savkin notes a change across **20 repos means re-explaining things 20 times**, and each explanation is a lossy human transcription of intent the agent already had perfectly at the moment it wrote the code.
- The repo boundary causes silent quality failures, not just friction. In his example, module one's CI *should* have failed on the incompatible UI change but never ran against it, because an agent writes to one repo at a time and cannot validate downstream. Best practices and standards also usually live in other repos, so a repo-bound agent cannot reliably reference them.
- Savkin's picture of the true work graph has two layers: at the bottom a **repository graph** — the artifacts the organization produces plus every open-source repo it depends on, which for a large org is on the order of **a thousand owned repos and tens of thousands of open-source dependencies**; at the top, the graph of every agentic session that created or modified that code. Sessions relate to sessions, repos relate to repos. That combined graph describes both what exists and how it came to be — and it is what the agent should see instead of one session and one fraction of one repo.
- His analogy for how absurd the current setup is: imagine an agent that could see a maximum of one file at a time and look only five messages back. Developers would call that unworkable, yet it is structurally the same constraint one repo up.
- Polygraph builds its graph from what a GitHub user can already reach, without changing a line of code in those repos. It extracts, per project per repo, what the project **produces**, what it **consumes** package-wise, and what **APIs** it produces and consumes, then stitches that metadata into the illusion of one large code base the agent can read and write anywhere. Savkin's personal graph covers roughly **300 repos he owns** plus thousands of open-source repos his projects depend on.
- Pulling repos in is the easy half; Savkin is explicit that making changes is harder. A session spanning 10 repos produces **10 pull requests** with 10 CI runs to coordinate. Polygraph treats all that CI as **one vector** — when module one's CI fails, the harness determines whether module one needs the patch or the UI component itself is incompatible and every consumer needs one.
- The same capture machinery solves the memory problem as a side effect. Because the harness records intent, the repos involved, the PRs, and all agent traces, it can relate work in one repo to work in another and restore any session on any machine.
- Session transfer is the strongest demo: Savkin hands a session to a coworker who has never touched it. On their machine the harness reconstructs the **same repos at the same SHAs**, sets up the agents, and primes each one with the trace captured from his machine — and the coworker can pick a **different agent** than he used (his session ran Claude; theirs runs Codex) while inheriting the same history. He describes it as closer to a Star Trek transporter than to a memory system: the whole state of the session materializes elsewhere.
- Savkin's own default review workflow follows from this. Rather than asking the author questions on a pull request, he resumes their session on his machine — exact state, fully functional, zero setup — and interrogates his own agent about the decisions, because those decisions live in the captured traces.
- Once the graph exists, repo selection stops being manual. Savkin can ask the agent to *find every repo that depends on a particular version of a library and update it*, or describe a blog post and have it identify the most relevant repo from inter-repo relationships and contents.
- Session search closes the consistency loop: asking whether anyone ever added a vector index to a PR collection surfaces relevant prior sessions to load. Savkin's framing of the payoff is that instead of every implementation being bespoke, you can tell the agent to **replicate the approach used in a session by an engineer you respect**. The retrieval is bidirectional — asking for sessions while inside a repo prioritizes sessions relevant to that repo, and asking for repos consults your session for what similar sessions tend to pull in.
- Polygraph is not an agent and does not require its own CLI as the entry point. From inside an existing Claude session, Savkin asks to add the Vitest repository to the session; Polygraph engages, configures it, and checks out the real open-source repo. He prefers this to documentation-retrieval tools like Context7 precisely because having the real code lets the agent go deep enough to find the hard problems.
- The end state Savkin describes is collective rather than personal. Because capture crosses developer boundaries, an agent can hold more context than any single developer — a thousand engineers' sessions all reachable by each of them. He reaches for the Borg as the image: every agent run by every developer contributes to one hive mind.
## Actionable Takeaways
1. Count your re-explanations before you buy any tooling. Take one recent cross-cutting change, trace it repo by repo, and tally how many times the same intent was retyped for a fresh agent — Savkin's four-repo example yields seven, and only the first is inherent to the work.
2. Extract a dependency graph from metadata rather than instrumenting repos. The three fields that carry most of the value are what each project in each repo produces, what it consumes package-wise, and what APIs it produces and consumes — computable from repos you can already read, with no code changes to them.
3. Treat multi-repo CI as a single vector. When one repo's CI fails inside a multi-repo change, the system's job is to attribute the failure — consumer needs a patch, versus the producer being broken and every consumer needing one — not to hand the developer N independent red builds.
4. Capture agent traces, not just diffs. Traces are what make a session resumable on a different machine by a different person with a different agent; PR descriptions and commits alone cannot reconstruct the decisions.
5. Make sessions first-class, addressable objects. Give each a name and a conceptual description that spans repo boundaries, and store the repos, SHAs, PRs, CI state, and agent logs against it, so a later "this broke in production, here's the session" is enough context for a fix with no further human input.
6. Replace the review meeting with session resumption. When a PR raises questions, pull the author's session onto your machine and ask your agent — the decisions are in the traces.
7. Prefer bringing the real dependency source into the session over documentation-lookup tooling when you need depth; Savkin finds deep problems this way that doc retrieval does not surface.
8. Use prior sessions as the consistency mechanism. Point new work at a known-good session by a trusted engineer so implementations converge instead of every repo growing its own bespoke approach.
## Notable Quotes
> "Carmack can only see one small part of your code base, maybe 1/1000 of it. And he remembers nothing he did before." — Victor Savkin
> "The human becomes the memory in this case. That's the time component of the problem." — Victor Savkin
> "Polygraph lets you treat complex multi-repo change as if it was a single repo change." — Victor Savkin
> "It's close to the transporter in Star Trek." — Victor Savkin
> "Every agent can run by every developer contributes to kind of one big this hive mind." — Victor Savkin
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*