Key Moments

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

Latent Space PodcastLatent Space Podcast
Science & Technology5 min read121 min video
Nov 8, 2026|4,750 views|54|4
Save to Pod
TL;DR

Stanford's AI-native engineering course is rapidly evolving, with students now contributing to open-source projects instead of just theoretical assignments, raising the bar for new engineers.

Key Insights

1

Stanford's CS146S course, 'Modern Software Developer,' has evolved from a broad tour of AI in the SDLC to focusing on solidifying principles like context engineering and design architecture.

2

Students in the course are no longer just consumers; a significant part of the curriculum involves contributing to open-source projects, requiring them to understand unfamiliar repos and explain their proposed changes to maintainers.

3

The course structure includes a deep dive into the internals of coding agents, allowing students to build their own basic agent and understand advanced concepts like context engineering, tool design, and skills.

4

Agent-ready codebases are a crucial focus, emphasizing how to design repositories that are easily ingested and consumed by AI agents, with considerations for documentation and verifiability.

5

Security is a key module, addressing new attack vectors introduced by AI-generated code and emphasizing dependency tracking and supply chain management.

6

The concept of a 'software factory' is explored, where AI agents build and maintain software, with discussions on where human involvement remains crucial, primarily in defining intent and review processes.

The AI engineer's elevated bar

Mihail Eric, who teaches Stanford's 'Modern Software Developer' course (CS146S) and leads AI at Monaco, emphasizes a significantly higher bar for entry-level engineers due to AI advancements. The course, now in its second iteration, aims to equip students to be highly productive assets to any company, moving beyond traditional foundational software engineering principles to incorporate AI-native development practices. While core CS fundamentals remain important, the focus shifts to leveraging AI for implementation details, allowing humans to concentrate on higher-level problem-solving and strategic thinking. This increased productivity expectation means that a new graduate might need to perform at a near-senior level from day one.

From assignments to open-source contributions

A major shift in the course from its first iteration to the current one is the move away from purely pedagogical assignments to active contributions to open-source projects. Eric found that last year's assignments were too easily completed with AI tools, and students were already heavily reliant on coding agents. This year, students engage with complex, unfamiliar codebases from open-source maintainers. Their task is to understand these repositories, propose changes, and present them to the maintainers. This hands-on experience aims to uplevel students by exposing them to large-scale codebases, good software design principles, and direct mentorship, bridging the gap between AI-savvy juniors and experienced seniors.

Understanding the AI agent's inner workings

The curriculum dedicates significant time to the internals of coding agents. Week one focuses on building a basic coding agent from scratch, demystifying the technology. Subsequent weeks delve into advanced concepts like context engineering, which involves carefully structuring the information provided to an agent to improve its performance, especially in large codebases. The course also covers tool design and MCP (model-centric programming), emphasizing effective strategies for interacting with and leveraging AI models. Students explore skills, which are formalized procedures for agents to automate actions, and understand how to extend single-purpose tools into more complex, automated workflows.

Designing for AI: Agent-ready codebases

A dedicated week (week five) focuses on 'agent-ready codebases.' This concept is crucial for integrating AI agents effectively into software development workflows, particularly for large-scale projects. The goal is to prepare code repositories so they can be easily ingested and consumed by AI. This involves thoughtful design, clear documentation, and ensuring verifiability. Principles like service level boundaries and maintainable structures are key. This focus acts as a building block for subsequent topics like background agents and software factories, as a well-structured and understandable codebase is foundational for complex, agent-driven development.

Navigating the evolving landscape of AI tools

The course navigates the rapidly changing ecosystem of AI development tools. While not endorsing specific tools, it introduces concepts and frameworks like Claude Code, its open-source counterpart, and discusses the evolution of system prompts and their increasing integration into model weights rather than just harness configurations. Students learn about context engineering, with frameworks like RPI (Research, Proposal, Implementation, Test) being introduced as scalable methods for interacting with large codebases. The discussion on context engineering highlights the challenges of multi-agent communication and context sharing, emphasizing the art and science of managing information flow.

Security and the AI frontier

Security is addressed as a critical component, especially given the rise of AI-generated code and new attack vectors. The course emphasizes the importance of dependency tracking and supply chain management, cautioning against arbitrary installations of packages. The discussion explores the trade-offs between building everything in-house for maximum security versus leveraging open-source components, where community scrutiny can help identify vulnerabilities faster. The complexities of AI introducing new types of bugs and the reduced human awareness of generated code are highlighted, stressing the need for robust security practices, particularly around data storage, billing, and authentication.

The 'software factory' and the future of roles

The concept of a 'software factory' – an automated system that builds and deploys software – is a central theme. The course examines where human involvement remains critical in such systems, primarily in defining 'intent' (specifications) and performing 'review.' The discussion extends to the evolving roles of engineers, with the rise of 'platform engineers' who manage critical infrastructure, cloud, DevX, and security operations. The future likely involves increasing levels of abstraction, with individuals needing to understand holistic systems and make strategic judgments, even as AI handles more of the implementation details. The idea of 'manager of agents' or similar roles emerges, requiring an understanding of product requirements, technical constraints, and the ability to adjudicate between them.

Monaco's AI-native approach

Mihail Eric also shares insights from his role as Head of AI at Monaco, a startup building an all-in-one sales platform powered by native AI agents. Monaco has developed its own agent harness tailored for sales use cases and internal tools like 'Monocoder' for scaling engineering product development. They follow a 'buy to learn, build to keep' philosophy, leveraging external tools initially and building in-house for core functionalities where mature offerings are lacking. Their focus on an all-in-one platform and codifying their go-to-market expertise into the product highlights a strategic approach to vertical AI, starting with user needs and then refining the underlying models.

AI-Native Engineering Best Practices

Practical takeaways from this episode

Do This

Have a strong foundation in core software engineering and algorithms (prerequisites for advanced AI courses).
Engage in careful context engineering and thoughtful design/architecture for complex tasks, moving beyond vanilla prompting.
Formalize repeatable actions into agent skills (procedures) for automation and efficiency.
Customize agents using configuration files (agent.md, cloud.md, hooks) and understand agent-ready codebases.
Actively contribute to open-source projects to gain real-world experience and mentorship.
Experiment for at least 10 minutes a day with new tools or frameworks to stay on top of rapid changes.
Build internal tools and platforms (like agent harnesses) to learn and control core capabilities.
Focus on holistic systems thinking, understanding how individual engineering parts tie into the broader product lifecycle.
Set ambitious goals, aiming for impactful projects beyond simple app generation, like building fundamental tools (e.g., a browser).

Avoid This

Rely solely on vanilla prompting; invest in more involved context engineering techniques for large codebases.
Blindly use AI code review tools without understanding their trade-offs, verbosity, and utility.
Neglect security; be mindful of new attack vectors in autonomous systems and the sloppiness of AI-generated code.
Arbitrarily hit `npm install`; track dependencies carefully and consider building in-house for critical components.
Assume models will fix all security issues; models can introduce different bugs, and human oversight is crucial.
Overcomplicate skill management; prune unused skills and ensure triggers are well-defined to avoid unintended execution.
Be an absolutist in build vs. buy decisions; leverage vendors for learning and build in-house for mature, core needs.
Ignore foundational DevOps and CI/CD issues; these often bottleneck AI adoption more than a lack of AI tools.
Underestimate the 'people problem' in AI adoption; organizational politics and team dynamics are critical to success.

Common Questions

The Stanford CS146S course, 'The Modern Software Developer,' is taught by Adjunct Professor Mihail Eric. It focuses on AI-native development practices, equipping students with skills for complex coding agent tasks and real-world production environments. Mihail Eric is also the Head of AI at Monaco, bringing practitioner experience to the curriculum.

Topics

Mentioned in this video

Software & Apps
MITM Proxy

A tool used to intercept requests and responses to look under the hood of AI coding agents like Claude Code.

Linear

A task management tool that has evolved to become a coding agent company, holding a 'source of truth' for tasks and specs.

Code Graphite

An AI code review tool that existed before it was acquired, part of the landscape of tools evaluated by Monaco.

AWS IAM

A fundamental concept that students should learn to understand basic security and permissioning, as it can be prompted once the language is understood.

Night Shift

A Greylock-backed company doing a good job in broadly background agents.

Wiz

A cybersecurity company that, along with Snyk, is cited as one of the only successful security companies in the last five years from a VC perspective.

Codex

An AI coding assistant that primarily operates as a desktop application, moving away from CLI interaction.

Claude

An AI model, mentioned as part of educational programs for students, suggesting widespread usage.

Gas Town

A very involved system built by Steve Yegge, perhaps ahead of its time, that illustrates the 'psychosis' of AI development when not accountable to real products.

Cursor

An AI coding tool mentioned as being popular among Stanford students and part of educational programs.

Factory

A company involved in providing additional credits for students and early on the concept of agent readiness in codebases.

Warp

A coding agent and software factory product that is an OSS partner, involving students in building and contributing to its factory.

Claude Code

An AI coding agent that has gained significant popularity, known for its focus on simplicity and use of powerful tools like SQL and Bash.

EVE

An open-source software (OSS) partner that students will build with as part of their contributions to the OSS program.

Devin

An AI code review tool that Monaco uses and has found valuable, developed by Cognition AI.

Rust

A programming language suggested by Malta from Vercel as a more secure and faster alternative to C++ for critical software.

Opus

A powerful AI model that significantly advanced the capabilities of autonomous agents and influenced curriculum changes.

Parallel

An early adopter vendor used by Monaco for enrichment data and general search.

Bash

A powerful Swiss Army knife tool that Claude Code effectively leverages for its capabilities.

SQL

A powerful Swiss Army knife tool that Claude Code effectively leverages for its capabilities.

Exa

A vendor used by Monaco for enrichment data, alongside Parallel.

LangChain

An AI framework that published many blogs about good context engineering and managing precious context windows in earlier agent models.

Grockbot

A consumer-facing tool that is actually powered by Cursor under the hood, raising questions about codebase integration for power users.

Coder

The platform on which Monaco's internal background agent platform, Monicoder, is built, designed for isolating development environments and scaling multi-agents.

Harvey

An AI legal assistant mentioned in the context of vertical AI companies considering building their own models due to cost considerations with frontier models.

HAL 9000

Monaco's internal Slack bot, an AI-powered tool serving purposes for customer success, QA, and sales, with different personalities depending on the user.

OpenRouter

A successful model gateway that focuses solely on model routing, challenging the idea that gateways should also handle ops and observability.

Sweetbench

An undergraduate project from Princeton, cited as an example of a valuable benchmark that can lead to significant opportunities.

Augment

A company that has posted about the design of their AI code review system.

Companies
Amplitude

A company that has posted about the design of their AI code review system.

Monaco

A buzzy startup where Mihail Eric serves as Head of AI, implementing AI-native development practices.

Vercel

A company mentioned for its strong design engineers and where a former student from the course found a job working on app generation from design sketches.

Arise

A company that handles ops and observability, contrasting with OpenRouter's focus on model routing only.

Walmart

An example of a large enterprise client where Resolve's AI SRE solutions would be valuable due to complex service level dependencies.

Cognition

A company providing AI tools, mentioned as being involved in providing credits for students and having a good code review product (Devin).

Salesforce

A large enterprise sales platform that Monaco aims to differentiate from by focusing on early-stage startups with an all-in-one AI-native solution.

Snyk

A cybersecurity company that, along with Wiz, is cited as one of the only successful security companies in the last five years from a VC perspective.

Aviator

The company of Ankit, a guest writer for Latent Space who published an article on 'killing the AI review.'

Amazon

A company mentioned in the context of 'job zero is security,' a principle stated by Andy Jassy.

Abnormal Security

A company mentioned by the host when questioning the claim about successful security companies.

Ford

An example of a large enterprise client where Resolve's AI SRE solutions would be valuable due to complex service level dependencies.

Sam Group

An interesting security company that existed before agents and augmented its offering into the agent space.

Brex

A company where former members of Sam's world-class Go-to-Market team, now at Monaco, previously worked.

Ellipsus

A YC company that developed an AI code review tool, mentioned as part of the market evaluation by Monaco.

Anthropic

An AI company suspected by the speaker to favor the 'death' of agent skills due to perceived sloppiness in skill creation and management.

Resolve

An AI SRE company doing well, particularly in the enterprise space with complex service dependencies, and previously created a sandbox assignment for Mihail Eric's class.

Google

Mentioned as the company whose spreadsheets early-stage startups might use for tracking pipeline before adopting a platform like Monaco.

OpenAI

A company that published a blog post about building an internal tool with zero lines of manually written code, illustrating harness engineering and the software factory concept.

LinkedIn

A platform where changes in job status serve as a good signal for sales outreach, detected by Monaco's systems.

Cloudflare

A 'legacy' or bigger company that has done a fantastic job with content around AI-SDLC and the design of their AI code review system.

Code Rabbit

An AI code review tool, mentioned as one of the many tried by Monaco before settling on Devin.

More from Latent Space

View all 278 summaries

Ask anything from this episode.

Save it, chat with it, and connect it to Claude or ChatGPT. Get cited answers from the actual content — and build your own knowledge base of every podcast and video you care about.

Get Started Free