Michael Truell's Vision for Automated Coding
Table of content
Michael Truell co-founded Anysphere, the company behind Cursor, an AI-first code editor that’s reshaping how software gets built. His stated mission is blunt: automate coding.
Background
Truell studied Computer Science and Math at MIT. Before Cursor, he worked on statistical math research, LLM-driven recommendation systems, and high-throughput drug pipelines. He was also active in competitive programming—a background that shows in Cursor’s focus on raw efficiency and speed.
He co-founded Anysphere with Aman Sanger after running an AI consultancy together. Their insight was simple: not enough people were focused on making AI write code, and the market was massive.
The Cursor Philosophy
Anysphere describes itself as “an applied research lab working on the future of programming.” They’re not building features—they’re building a new way to write software.
Cursor’s approach differs from autocomplete-style copilots. The editor treats AI as a first-class participant in coding, not a suggestion engine. Key principles:
Let agents find their own context. Rather than manually tagging files, Cursor’s agents use semantic search and grep to pull relevant code on demand. Over-specifying context confuses agents about what matters.
Plan before building. Their research shows experienced developers plan before generating code. Cursor’s Plan Mode forces the agent to research the codebase, ask clarifying questions, and wait for approval before writing anything.
Rules over prompts. Instead of repeating instructions, developers create .cursor/rules/ markdown files with persistent context—commands, patterns, and pointers to canonical examples. The agent reads these automatically.
Running Agents for Weeks
The most striking part of Cursor’s research is their work on long-running autonomous agents. They’ve experimented with running coding agents continuously for weeks, with hundreds of agents working on a single codebase.
From their January 2026 research post:
“We pointed it at an ambitious goal: building a web browser from scratch. The agents ran for close to a week, writing over 1 million lines of code across 1,000 files.”
They also ran a three-week migration from Solid to React in Cursor’s own codebase—266,000 lines added, 193,000 deleted.
Their architecture evolved from flat self-coordination (which failed) to a planner-worker hierarchy:
- Planners explore the codebase and create tasks. They can spawn sub-planners, making planning parallel and recursive.
- Workers pick up tasks and grind until completion. No big-picture thinking—just focused execution.
- Judge agents determine whether to continue at cycle end.
The insight: “The best system is often simpler than you’d expect.” They removed their integrator role for quality control because workers handled conflicts themselves.
Key Lessons from Multi-Agent Coding
From hundreds of experiments deploying trillions of tokens:
Model choice matters for long tasks. They found GPT-5.2 models better at extended work—following instructions, avoiding drift, implementing completely. Claude Opus 4.5 yields control too quickly.
Different models for different roles. GPT-5.2 plans better than GPT-5.1-Codex despite the latter being trained specifically for coding.
Prompts matter most. The harness and models matter less than how they prompt agents to coordinate, avoid pathological behaviors, and maintain focus over long periods.
Medium structure wins. Too little and agents conflict, duplicate work, drift. Too much creates fragility.
Impact
Cursor has become the default AI coding tool for many developers. Salesforce reported over 90% of their 20,000 developers now use it. Dropbox accepts more than 1 million lines of agent-generated code monthly.
The company acquired Graphite (the PR workflow tool) in December 2025, signaling expansion beyond the editor into the full software development lifecycle.
Links
- Personal site
- GitHub
- Twitter/X
- Cursor
- Anysphere
- Cursor blog: Scaling long-running autonomous coding
- Cursor blog: Agent best practices
- Latent Space podcast with Aman Sanger
Get updates
New guides, workflows, and AI patterns. No spam.
Thank you! You're on the list.