Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Agentic AI Engineering for Large Legacy Projects
New
Rating: 4.7 out of 5(19 ratings)
26 students

Agentic AI Engineering for Large Legacy Projects

Agentic AI and context engineering for legacy and enterprise codebases: rules, skills, MCP, spec-driven development
Last updated 11/2026
English
English [Auto],

What you'll learn

  • Understand the three levels of AI coding assistance (Assisted, Augmented, Agentic) and how each one actually maps onto the full software development lifecycle
  • Manage an AI agent's context window deliberately, with a real context budget, instead of dumping your whole codebase into every prompt
  • Build a Memory Bank and a documentation hierarchy that gives an AI agent instant, reliable context on any large, brownfield, or legacy project
  • Design a rule hierarchy (global, project, module, file-level) and write role-based, negative-constraint rules that actually stop AI hallucination on custom and
  • Know when to reach for Agent Skills, subagents, or MCP servers, and how to evaluate an MCP server safely before connecting it to a real codebase
  • Apply spec-driven development to refactor legacy code safely, using patterns like Strangler Fig, Branch by Abstraction, and Expand-Contract
  • Recognize and avoid the most common, costly AI coding pitfalls: confidently wrong code, architectural drift, over-engineering, and hallucinated APIs

Course content

4 sections • 48 lectures • 1h 27m total length
  • Introduction0:47
  • About Author1:02

Requirements

  • Experience writing and maintaining production code, in any language or stack
  • A code editor with an AI coding assistant enabled (Cursor, GitHub Copilot, Claude Code, Windsurf, or similar); no specific tool is required
  • No prior AI/ML background needed; this is an engineering practice course, not a machine learning course

Description

Every AI coding tool promises the same thing: write a prompt, get working code. Then you point it at a real Enterprise project, ten thousand files, five years of history, conventions nobody ever wrote down, and it just guesses. Confidently. Wrong.

This course is a practical, three-section system for making AI coding agents actually work on large, brownfield, and legacy codebases, built from real training I've delivered to engineering teams, including Fortune 500 clients.

Section 1: Agentic Engineering & Context Management
What agentic engineering actually is, and how it differs from just prompting a chat window. You'll see how AI spans the full software development lifecycle at each of its three levels (Assisted, Augmented, Agentic), why naive AI use falls apart on large and legacy projects specifically, and how to treat your context window as a real, limited budget instead of a bottomless bucket. This section ends with Context Engineering as a discipline: the Memory Bank pattern and a full documentation hierarchy that gives any AI agent instant, reliable project context.

Section 2: Rules, Agent Skills & MCP
The tools that actually shape how an AI agent behaves. You'll learn to design a rule hierarchy that scales from a whole codebase down to a single file pattern, describe a legacy architecture so AI stops proposing incompatible fixes, write role-based rules and negative constraints that cut hallucination dramatically, and know exactly when a plain rule is enough, when you need an Agent Skill, and when only an MCP server will do, including how to evaluate one safely before connecting it to production.

Section 3: Spec-Driven Development
How to move from ad-hoc prompting to a disciplined, spec-first workflow for refactoring and shipping changes safely on a codebase you didn't write. Covers safe refactoring patterns (Strangler Fig, Branch by Abstraction, Feature Flags, Expand-Contract), the spec-driven development cycle itself, and how tools like OpenSpec and BMAD structure that workflow in practice.

No hype, no toy demos. Just what actually works on the codebase you already have.

Who this course is for:

  • Software engineers and tech leads working on large, brownfield, or legacy Enterprise codebases who want AI agents to actually help instead of hallucinating
  • Engineering managers and architects deciding how to roll out AI coding tools across a real, messy production codebase, not a greenfield demo
  • Anyone who has tried "vibe coding" on a serious project, hit a wall, and wants a real system instead