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

## Executive summary

This session, featuring Mihail Eric (Stanford/Monaco), details the shift toward 'AI-Native Engineering' and the evolution of the Software Development Life Cycle (SDLC) driven by autonomous coding agents. The curriculum emphasizes moving beyond simple prompting to advanced techniques like context engineering, multi-agent management, and building robust, agent-ready codebases. Key architectural challenges discussed include managing the new bottlenecks in code review, securing complex dependencies, and scaling background agent tasks within CI/CD pipelines.

## Key takeaways

- The Shift to Deep Principles in AI Engineering: The focus of modern development education is shifting from a broad survey of AI's impact on the SDLC to mastering deep principles, such as careful context engineering and thinking through design and architecture for complex tasks. The goal is to train engineers to be highly productive members of the workforce, even when the code is largely generated by agents.
- Open-Source Contributions and Mentorship: To combat the potential gap between senior engineers and juniors in the age of agents, the course emphasizes having students contribute directly to major open-source, AI-focused repositories. This allows students to interact with professional maintainers and build mental models of good software design at scale.
- New Bottlenecks in the SDLC: As coding agents increase velocity, the bottlenecks are shifting. Key areas requiring human attention include code review (1:20:37), security and dependency tracking (1:20:37), and managing the complexity of background agents and event-driven tasks (1:05:24).
- The 'Buy to Learn, Build to Keep' Philosophy: Monaco's approach highlights a strategic principle: 'You buy to learn, and you build to keep.' While adopting best-in-class external tools (like Devon for code review), the company builds proprietary internal platforms (like Monicoder) to maintain control and adapt to specific domain needs.

## Technical details

- Agent Architecture and Harnesses: The modern coding agent is viewed as a 'harness'—a structured system (often requiring under 200 lines of code) that orchestrates LLM calls. This harness includes multiple components like system prompts, plan prompts, and compaction prompts, allowing for sophisticated, multi-step reasoning beyond vanilla prompting.
- Context Engineering: Effective context management for large codebases requires structured processes like Research, Proposal, Spec, and Implementation (RPI). This is crucial for ensuring agents can ingest and understand millions of lines of code, moving beyond simple, single-turn prompts.
- Multi-Agent Management: When fanning out work to multiple sub-agents, the challenge is maintaining context consistency. This requires careful management of context inheritance and consolidation (compaction) to prevent agents from making mistakes based on incomplete or conflicting information.
- Background Agents and CI/CD: Agents are increasingly used for event-driven tasks (e.g., running on triggers in a codebase or during CI/CD). This involves building systems that monitor logs and analytics for live production, moving beyond traditional IDE-based interactions.

## Practical implications

- Focus on mastering foundational software engineering principles and trade-offs, as these skills are less susceptible to automation.
- Develop proficiency in structured problem-solving frameworks (like RPI) to manage context when working with massive codebases.
- Understand the difference between 'buying' (using external tools like Devon) and 'building' (creating internal platforms) to maintain core competitive advantages.
- Prioritize skills in dependency tracking and supply chain management to secure complex, multi-service architectures.

## Topics

AI Engineering, Software Development Life Cycle (SDLC), Coding Agents, Context Engineering, Build Systems, CI/CD, Open Source Development, AI Engineer CODE Summit, AI Engineer on YouTube, Claude Code, Devon, Linear

Source: https://www.youtube.com/watch?v=dpY7YzZo4kE
