In a report published on November 21, 2026, QbitAI described a talk by Lauren Tan at AI Engineer CODE about how her team works with coding agents on Grok Bot. Tan, who previously worked at Cursor, framed the challenge as turning a low-trust agent workflow into one where the codebase and its checks make mistakes easier to catch.
Tan said she submitted 3,000 pull requests in October 2026. According to her figures, the Grok Bot team submitted 11,000 that month—more than 350 a day on average—while its pull-request withdrawal rate was about 0.5%. Those figures describe volume and withdrawals; they do not, on their own, measure code quality.
Put constraints in the codebase
Tan’s “inverted trust pyramid” places code design, APIs, architecture and refactoring at the broad top. Below those come deterministic checks such as lint rules, types, compiler errors and automated tests. Runtime and formal verification follow; natural-language guidance in files such as AGENTS.md sits near the bottom. Her advice is to invest first in code and checks rather than adding another instruction whenever an agent makes a mistake.
She cited an experience at Cursor involving an Electron client built with both VS Code’s imperative programming style and React’s declarative style. In her account, agents repeatedly patched architectural conflicts with timers such as setTimeout and requestAnimationFrame. Repeated timer creation and disposal contributed to garbage collection and sluggishness, while explanatory comments encouraged later agents to copy the patches. Tan said she now prohibits roughly 99% of code comments in Grok Bot and instead uses lint errors to point agents toward underlying problems. That is her team’s practice, not a general rule that comments should be removed from other projects.
Another tactic is to remove error-prone choices from product code. Tan described Dune, the team’s client framework, as a way to enforce architectural constraints. The team bans React’s useEffect in product code, she said, permitting it only within specific Dune framework APIs. When an agent repeatedly misuses a reference or API, her preferred response is a lint rule, a type constraint or an API redesign, followed by cleanup of existing instances—not simply a new sentence in AGENTS.md.
Give agents a way to check their work
Tan said the team has shifted much of its review effort toward verification artifacts, including screenshots, recordings, state diagrams and formal-verification results. Agents can run the application and use debugging tools such as the Chrome DevTools Protocol. A user-oriented map of the application helps them identify interface elements; reusable command-line tools and drivers give them consistent actions for verification.
She also said the team had recently begun introducing TLA+ for checking system-state constraints and Lean for proofs about particular algorithms. Bombadil is used for property-based UI testing, which checks stated properties across inputs and states rather than only a fixed sequence of expected results. Tan estimated that roughly 70% of her own token use goes toward verification, and said she knows other developers with a similar split.
For new Grok Bot releases, Tan described an automated workflow that starts a Cursor project and has cloud agents operate the application to look for bugs. She said the agents can open repair pull requests and, in some cases, merge them. She reported spending six months building the workflow and said most product code the team now merges no longer receives an in-depth human code review. These are Tan’s descriptions of her team’s process, not independently established results for other engineering teams.