More The Pragmatic Engineer episodes

Building Codex with Tibo Sottiaux thumbnail

Building Codex with Tibo Sottiaux

Published 9 Sept 2026

Duration: 01:13:21

"Explores Codex's AI-powered coding assistant development, Rust's role, open-source benefits, AI's impact on software workflows, and the future of AI-assisted problem-solving."

Episode Description

Brought to You By:* turbopuffer - a vector and full-text search engine built on object storage. It's fast, cheap, and extremely scalable* Antithesis -...

Overview

The podcast discusses the development and integration of Codex into ChatGPT, highlighting the technical challenges of merging two distinct systems - one local and one cloud-based - while ensuring scalability for hundreds of millions of users. The engineering team chose Rust for Codex's core due to its performance, security, and long-term scalability, prioritizing robustness over development speed. A key design principle was maintaining a clear separation between the agent's core logic and the product interface to support future innovation.

The conversation explores the evolution of AI-assisted software development, including the shift from manual coding to using AI agents for tasks like refactoring, testing, and long-running problem solving. Tools like Codex now enable engineers to set high-level goals and delegate execution, with newer models increasingly capable of handling extended tasks without external guidance. The integration of Codex into ChatGPT has created a unified, permissive environment where users can perform complex operations such as training models or installing software, supported by a harness that provides guardrails and improves reliability.

OpenAI's culture emphasizes small, empowered teams, rapid iteration, and deep alignment between research and product development. The team focuses on building tools that enhance efficiency and scalability, using automation to handle correctness, security, and maintenance. As AI models improve, the role of human engineers is shifting toward defining system invariants, architecture, and intent, while AI handles low-level implementation. The long-term vision includes a proactive, deeply personalized AI that operates seamlessly across devices and workflows, minimizing configuration and maximizing utility.

What If

  • What if you rebuilt your core tool in a more robust language now?

    • Move: Audit your current codebase and identify one critical module to rebuild in Rust for better performance, safety, and long-term maintainability - especially if it handles data, concurrency, or security.
    • Why Now?: AI agents are increasing code output and system complexity; weak foundations will break under scale. Rust's compile-time guarantees reduce runtime errors and technical debt just as automation accelerates development.
    • Expected Upside: Fewer crashes, easier debugging, and faster iteration at scale. You'll future-proof your product against AI-driven load and attract developers who value reliability and performance.
  • What if you open-sourced your agent's harness to accelerate real-world testing and community innovation?

    • Move: Release your CLI, SDK, or agent runtime as MIT-licensed open-source, inviting contributions and letting users run it against diverse models and workflows.
    • Why Now?: AI tools are converging, and closed harnesses limit feedback. Open-sourcing builds trust, surfaces edge cases faster, and turns users into co-developers - just as Codex used community input to refine its agent.
    • Expected Upside: Faster iteration through public bug reports and PRs, stronger user loyalty, and differentiation from closed competitors. You may even attract talent or partnerships from active contributors.
  • What if you shifted from manual code reviews to AI-powered validation with human oversight for architecture only?

    • Move: Integrate an AI code reviewer (like Codex or a fine-tuned model) into your CI/CD pipeline to automatically flag logic errors, security flaws, and style violations - reserving human reviews for design and contracts.
    • Why Now?: AI now exceeds humans in detecting certain bugs and dependencies. As solo operators scale, manual reviews become bottlenecks. Automating correctness frees you to focus on high-leverage decisions.
    • Expected Upside: 5 - 10x faster feedback cycles, fewer production bugs, and more time spent on product strategy. You'll maintain quality while accelerating shipping speed, mimicking OpenAI's evidence-based, automated workflow.

Takeaway

  • Choose Rust for performance-critical components when building scalable, secure systems - especially for AI agents or infrastructure - despite slower initial development, to ensure long-term maintainability and efficiency.
  • Adopt a strict separation between core logic (agent) and interface layers in your architecture to enable independent evolution, reduce technical debt, and support future innovation without tight coupling.
  • Open-source your tooling early, including CLI, SDK, and server components, to accelerate feedback, attract community contributions, and co-develop solutions with real-world usage insights.
  • Design your system to support multiple AI models (not just one provider) to avoid vendor lock-in, increase user flexibility, and gain comparative performance insights across different backends.
  • Automate correctness and security checks using tools that simulate hostile environments or perform fuzz testing, reducing reliance on manual code reviews and catching bugs before deployment.

Recent Episodes of The Pragmatic Engineer

29 Oct 2026 Software engineering at Google & CS education with Titus Winters

"Critiques CS education, advocating for AI-informed, practical curricula focused on problem-solving, teamwork, and real-world development, while examining Google's engineering practices, productivity challenges, and the need for deterministic tools in AI-driven software engineering."

21 Oct 2026 The revised rules of engineering management with Will Larson

"Engineering management is evolving, with outdated 2010s practices giving way to business-focused problem-solving, AI-driven role shifts, and adaptable leadership that prioritizes high-ownership teams and reskilling for long-term success."

7 Oct 2026 Building resilient systems with Sam Newman

Recommended: Good Engineering Decisions

"Microservices are a last-resort architecture requiring careful state management, while resilient systems depend on robustness, rebound, extensibility, and adaptability, with AI augmenting but not replacing human oversight in development."

30 Sept 2026 Distributed databases with Peter Mattis

"Software engineer and Cockroach Labs co-founder Peter Mattis discussed his career in database design, distributed systems, AI's impact on development, and the evolution of his leadership role, stressing rigorous testing, security, and the transformative potential of AI in coding."

23 Sept 2026 Design Engineering with Maggie Appleton

"Explores the evolving role of design engineers, blending engineering and design principles, analog tools, AI, and interdisciplinary collaboration to shape intuitive, culturally aware digital experiences."

More The Pragmatic Engineer episodes