Extreme AI Programming · Chapter 14 · Part Three: How We Built It
Why We Built Memex
One team's implementation of everything above, offered as an example rather than a prescription.
Because I lead the company behind Memex AI, you should consider my perspective accordingly. Nevertheless, the core challenge remains identical whether you adopt our solution or not.
Creating a commercial product was never our initial goal; we focused on operating as an AI-native organisation, and Memex naturally emerged after two years of putting that commitment into practice.
We built it because we lived the problem
When we applied these tools internally, we initially expected code quality to be the primary obstacle in AI-assisted engineering. We quickly realised this was a misconception. Modern agents produce high-quality code when they can clearly see what needs to be built. The real challenge is providing accurate context, a difficulty that compounded as our reliance on agents grew, since they exacerbated the underlying issue rather than resolving it.
Our operational setbacks aligned precisely with the challenges detailed in the chapter on bottlenecks. Every week brought recurring issues: tasks executed against outdated system architectures, conflicting private decisions, and documentation that accurately reflected only past implementations.
Evaluating our process through Goldratt's framework revealed that neither authoring nor reviewing code was the primary constraint. Instead, the true bottleneck was capturing architectural and design decisions, seamlessly delivering them to both engineers and agents, and maintaining accurate institutional knowledge as the codebase evolved. To eliminate this friction, we developed Memex as essential internal tooling for our daily operations before making it publicly accessible.
What Memex is
Memex is the map of decisions I argued for in the punch-card chapter, made real, with the tooling to keep it current and let agents act on it without wandering.
The map encompasses five distinct components. While the earlier specification details an individual piece of work through six record types, this map provides the overarching context for every specification. First, strategy articulates the high-level objective and core rationale behind every downstream choice, capturing the true intent that Epics often aimed for but never fully contained. Second, decisions serve as first-class records featuring stable identifiers, clear statuses, evaluated options, chosen directions, and documented trade-offs. Third, work items form a structured dependency graph rather than a simple backlog, explicitly tracking blockers so the system can identify exactly what is actionable at any given moment. Fourth, standards define foundational software development rules across all strategies, acting as the mandatory baseline agents load before writing code and verify before shipping. Finally, the system integrates humans directly into the graph as key domain owners rather than arbitrary reviewers, enabling it to route specific decisions based on individual expertise and historical context.
The folder-of-documents model falls short precisely where the map excels, unlocked by two essential capabilities.
The first is drift detection. Once rules are structured objects linked to the code they govern, a machine can notice when the two parts diverge: an agent can flag when the code no longer matches a standard, and a resolved decision can flag the standards it touches for review. Knowledge stays current through mechanisms rather than heroism, and heroism was never a reliable supply.
Second, decision capture without cognitive burden. Halting a fluid exchange to complete structured paperwork with an agent breaks momentum. Instead, Memex passively distils choices directly from live dialogue and presents them as decision bundles for subsequent approval or rejection, making decision logging as frictionless as reviewing a git diff.
As the core framework for the specify-build-verify cycle, Memex prevents specifications from entering the build phase until it resolves all underlying decisions. Rather than overwhelming an agent with the entire knowledge base, it delivers the exact subset of the knowledge graph required for the task at hand. Furthermore, it determines completion objectively by passing test suites rather than subjective assessment.
Memex is not a standalone development tool; it's a foundational orchestration layer that coding tools read from and update. Delivered via an MCP server, it lets any agent, Claude Code, Cursor, Copilot, or a custom solution, interface seamlessly with a unified graph, eliminating vendor lock-in so you can switch agents while keeping your map.
The belief underneath it
Our roles in software are evolving, but our humanity isn't; a principle that continually shapes how we build our product.
Memex’s primitives delegate extraordinary tasks to the agent, freeing you to focus sharply on uniquely human work. The agent has no stake in the outcome or the discernment to reject a design that meets every technical requirement yet remains fundamentally flawed. You remain the chef: you make vital decisions, approve releases, and set system-wide standards. The agent is simply the sharpest knife in your kitchen, but the dish remains entirely yours.