Latent Space: The AI Engineer Podcast
Latent Space: The AI Engineer Podcast

[One Million AI Engineer Special] How Stanford Teaches AI-Native Engineering — Mihail Eric, Monaco

What do you assign when a coding agent can finish last year’s homework in one prompt? In the second run of Stanford’s CS146S, Mihail Eric brought open-source maintainers into the course. Students have to learn an unfamiliar repo, propose a change, and ... Full show notes and links

Featured Speakers

Latent.Space HostMihail Eric Guest

Topics Discussed

Episode Summary

Executive Summary: Mihail Eric, Stanford instructor and Monaco’s head of AI, discusses how coding agents are reshaping software work and the curriculum of Stanford’s Modern Software Developer course. He argues that engineers need strong foundations, context and verification practices, and hands-on experience with complex codebases—not just prompting. The conversation also examines agent-ready repositories, code review, security, background agents, software factories, and the evolving value of human judgment.

Main Topics: Preparing engineers for AI-native software development: Eric describes redesigning Stanford’s course to teach experienced students how to apply AI tools in real engineering settings. He argues that core software engineering knowledge remains essential, while the expected productivity and capability of entry-level engineers are rising. Coding-agent internals and context engineering: The course starts with building a basic agent harness and examining a production harness, then moves beyond vanilla prompting to structured research, proposals, plans, and testing. The speakers stress that managing context across agents and tasks remains partly an unsolved craft. Open-source work, agent-ready codebases, and mentorship: Students contribute to real AI-focused open-source projects, receiving maintainer feedback and exposure to complex repositories. Eric sees repository structure, documentation, and verifiability as prerequisites for scaling agent use and helping newer engineers develop good software judgment. Code review, background agents, and software factories: As agents generate code faster, review becomes a bottleneck. The discussion considers selective auto-approval, stronger verification, event-triggered background agents, and factories that automate more of development while humans retain responsibility for intent and oversight. Security and operational risk: Autonomous systems and AI-generated code create new attack surfaces and make dependency management, permissions, and security review more important. The speakers caution against assuming models will eliminate vulnerabilities, and distinguish especially sensitive areas such as authentication, authorization, billing, and data storage. Monaco’s AI product and build-versus-buy approach: Eric explains Monaco’s AI-native sales platform, its domain-specific agents and company data systems, and its use of external tools alongside in-house infrastructure. He describes buying tools to learn and building internally when offerings are immature or do not fit the company’s systems.

Key Arguments: AI tools do not replace foundational computer science and software engineering knowledge; engineers need those foundations to make sound architectural and trade-off decisions while delegating more implementation detail to agents. The entry-level bar is rising: students who can use agents effectively, understand systems, and contribute in production environments can be highly valuable, but simply knowing how to prompt is not enough. For complex or unfamiliar codebases, structured context work—research, a proposed approach, a plan, and verification—scales better than a single broad prompt. Agent readiness is a prerequisite for effective multi-agent work. Clear service boundaries, useful documentation, and verifiable behavior help agents operate reliably and make code review more scalable. Code review and intent-setting are emerging constraints as code generation accelerates. Teams need layered verification and judgment about what can be safely automated rather than either reviewing every line manually or allowing unrestricted merges. Security should not be treated as solved by better models. AI can introduce unfamiliar defects, and reduced human awareness of generated code is itself a risk; teams should pay particular attention to critical surfaces and dependencies. Experimentation is a practical way to keep up with rapid change: Eric recommends trying a new tool or workflow on a familiar problem, while the host emphasizes building useful products and evaluating results rather than getting lost in agent experimentation. Companies may both build and buy AI infrastructure. Monaco adopted an external code-review tool after reassessing its quality, while building other systems internally where the available products were not mature or suitable.

Data Points: YouTube channel subscribers: 1 million - The episode opens by celebrating the AIU Code AI Engineer channel reaching this milestone. Stanford course iteration: Second time taught - Eric says the Modern Software Developer course is being taught for the second time and is being refreshed as coding agents advance. Course length: 10 weeks - The host describes the course as a solid 10-week curriculum covering agent internals, context, skills, codebases, review, security, background agents, teams, and factories. Simple coding-agent harness: About 200 lines of code - Eric says a basic conversational coding agent that can edit files can be built with introductory algorithms-level knowledge in roughly 200 lines. Last year’s course assignments: 9 assignments plus a capstone - Eric contrasts the earlier, more pedagogical assignments with this year’s emphasis on open-source contributions and open-ended work. Potential agent-generated pull requests: 30 or more per day - Eric uses this as an example of the volume that can make traditional human code review a bottleneck. Potential share of code driven by agents: 80% - Raised as a hypothetical limit case when discussing how much software production might become agent-driven. Course-development period: About 9–10 months - Eric describes the work to formalize and approve the course before its first offering.

Pivotal Quotes: "You buy to learn and you build to keep." — Mihail Eric: His shorthand for Monaco’s build-versus-buy approach: use external products to learn, then build internally when that is the better long-term fit. "There is a way to do this that actually does scale out to code bases that are millions of lines long. And it's not just the vanilla prompt." — Mihail Eric: Eric summarizes why structured research, proposal, planning, and testing matter when agents work in large repositories. "You just got to try things." — Mihail Eric: Eric’s practical advice for navigating a fast-changing field: experiment with new tools and workflows rather than waiting for settled best practices.

Implications: Engineering education and hiring will increasingly reward systems thinking, agent fluency, verification, security awareness, and demonstrated delivery. Teams should prepare codebases and review processes before scaling agents, while treating automation as evolving practice—not settled science.

🔓 Sign Up for Unlimited Episode Search

About Latent Space: The AI Engineer Podcast

The podcast by and for AI Engineers! In 2025, over 10 million readers and listeners came to Latent Space to hear about news, papers and interviews in Software 3.0. We cover Foundation Models changing every domain in Code Generation, Multimodality, AI Agents, GPU Infra and more, directly from the founders, builders, and thinkers involved in pushing the cutting edge. Striving to give you both the definitive take on the Current Thing down to the first introduction to the tech you'll be using in the next 3 months! We break news and exclusive interviews from OpenAI, Anthropic, Gemini, Meta (Soumith Chintala), Sierra (Bret Taylor), tiny (George Hotz), Databricks/MosaicML (Jon Frankle), Modular (Chris Lattner), Answer.ai (Jeremy Howard), et al. Full show notes always on https://latent.space

View all episodes from Latent Space: The AI Engineer Podcast