A deleted OpenAI tweet about Code Mode sparked a deep technical discussion on the future of AI agent architecture. In this episode, Dex, Vaibhav Gupta, and Rhys Sullivan unpack the evolution of agent tooling, from structured outputs and custom integrations to MCP servers and Bash-based execution environments. The conversation explores why Bash became the default way for agents to interact with external systems, how it aligns with existing developer workflows, and where its limitations are beginning to show.
The group breaks down what Code Mode actually is and why many developers see it as a potential successor to Bash for complex agent workflows. They discuss execution environments, tool discovery, context engineering, output shaping, type systems, and the challenges of scaling agents beyond a handful of integrations. Along the way, they compare different approaches to tool calling and examine how models can compose APIs, GraphQL endpoints, and external services more effectively through code generation rather than traditional shell commands.
Rhys shares lessons learned from building Executer and explains why the future may be less about individual tools and more about managing large, dynamic tool catalogs. The conversation also covers token efficiency, agent permissions, security concerns, OpenAPI specifications, and the growing need for infrastructure that helps agents interact with thousands of potential actions. Whether you're building coding agents, AI infrastructure, or production AI systems, this episode offers a practical look at where agent execution is heading next.
Timestamps
A Deleted OpenAI Tweet Starts the Debate
Welcome to AI That Works
Meet Reese Sullivan and the Vision Behind Executer
The Deleted OpenAI Code Mode Tweet
The Evolution of Agent Tooling: Structured Outputs → MCP → Bash
What OpenAI's Code Mode Actually Changes
Why Would an AI Write Code Instead of Calling Tools?
If Tools Already Work, Why Execute Arbitrary Code?
Bash's Superpower: Why It Took Over AI Agents
The Real Reason Models Love Bash
The Growing List of Problems With Bash
Permissions, Security, and the Danger of Agent Actions
The Hidden Token Tax of Tool Calls
How Code Mode Solves Context Bloat
Flexibility Beats Hard-Coded Workflows
Why LLMs Are Surprisingly Good Python Developers
Letting Models Write Software Instead of Shell Commands
The Biggest Problem With CLI Output: You Never Know What You'll Get
Why Types and Schemas Matter More Than Prompts
Can You Actually Understand What Your Agent Is Doing?
What Happens When an Agent Has 10,000 Tools?
Do Agents Need Full Context or Just the Right Context?
Why We're Not All Using Code Mode Yet
Reese's Big Takeaway: Stop Thinking About Tools, Start Thinking About Tool Catalogs
Hot Take: CLIs Are for Humans, Not Agents
Final Thoughts
Topics Covered
Code Mode
AI agents
MCP servers
Bash execution environments
Context engineering
Tool calling
OpenAPI specifications
GraphQL integrations
Agent infrastructure
Production AI systems
Token efficiency
Output shaping
Type systems
AI developer tools
#AIThatWorks #AIAgents #AIEngineering #CodeMode #MCP #ModelContextProtocol #ContextEngineering #DeveloperTools #OpenAPI #GraphQL #ArtificialIntelligence #SoftwareEngineering