From the free course The Missing Semester of Your CS Education on Lykke

Agentic Coding

Key concepts: Coding Agents · Model Context Protocol (MCP) · Context Window Management · Human-in-the-loop Oversight

Leveraging autonomous AI agents to perform complex development tasks.

Agentic Coding

Overview

Agentic coding represents the next frontier of productivity, where AI models use tools (file systems, shells, compilers) to solve problems autonomously.

Key Concepts

  • Agents vs. Chatbots: Unlike standard LLMs, agents can execute commands and read files to iterate on a solution.
  • Model Context Protocol (MCP): A standard for connecting AI models to external data sources and tools.
  • Strategic Oversight: The developer's role shifts to providing high-level context and reviewing the agent's work to ensure correctness.

Why This Matters

AI agents can handle boilerplate, refactoring, and initial bug investigations, allowing engineers to focus on high-level architecture and complex logic.

Flashcards

  • What distinguishes an 'Agent' from a standard 'Chatbot' in coding?: Agents can autonomously execute actions like reading files, running shell commands, and compiling code, whereas chatbots only generate text.
  • Model Context Protocol (MCP): An open standard that allows AI models to seamlessly connect to external data sources, tools, and local file systems without custom integrations for every tool.
  • Context Window Management: The strategic selection of relevant code snippets and documentation to provide the AI, ensuring it stays within its token limit while having enough info to solve the task.
  • Human-in-the-loop (HITL) Oversight: The practice where a developer reviews, approves, or corrects the agent's proposed changes to ensure security, quality, and architectural alignment.
  • The 'Plan-Act-Observe' Loop: The iterative process where an agent creates a plan, executes a command, observes the output (e.g., a compiler error), and refines its next step based on that feedback.

Study Guide

Agentic Coding Essentials

Agentic coding marks a shift from AI as a passive assistant to AI as an active collaborator. By leveraging tools like terminal access and file system manipulation, agents can perform complex refactors and bug fixes with minimal manual intervention. This requires a shift in the developer's mindset from 'writing code' to 'orchestrating agents'.

The Model Context Protocol (MCP) is the backbone of this ecosystem, providing a standardized way for models to 'see' your database, documentation, and local files. Effective use of these agents relies heavily on context management—feeding the model exactly what it needs to know without overwhelming its memory.

Key Takeaways:

  • Tool Augmentation: Agents use compilers and test runners to verify their own work before presenting it to the user.
  • Standardization: MCP reduces the friction of connecting diverse data sources to different LLM providers.
  • Supervisory Role: Developers focus on high-level design and security audits rather than syntax and boilerplate.
  • Iterative Debugging: Agents can autonomously interpret stack traces and apply fixes in a recursive loop until tests pass.

Infographic

Infographic: Agentic Coding

Source Materials

Study The Missing Semester of Your CS Education on Lykke

This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.

Add the free extensionSign in to open every section

All sections of The Missing Semester of Your CS Education · Browse more course pages

Agentic Coding — The Missing Semester of Your CS Education | Lykke