Context-Aware Coding: Give AI Agents the Right Context
From IBM Technology · · 6 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
Learn more about Agentic Coding here → https://ibm.biz/~YeRLqinv2
A good prompt isn't enough for good AI code. Legare Kerrison explains how context helps AI coding agents understand your repository, dependencies, tests, and intent. Learn how to give agents the right context without overwhelming them.
00:00 – Give AI Coding Agents Better Context 00:37 – See Why One Prompt Isn't Enough 01:23 – Give Agents the Right Code & Repository Structure 02:17 – Ground AI Coding with Dependency Versions 02:43 – Use Tests as an Agent Feedback Loop 03:00 – Add Documentation & Developer Intent 03:42 – Let AI Agents Ask for Missing Context 04:02 – Interview, Explore & Plan Before Coding 04:58 – Avoid Overloading the AI Context Window 05:45 – Keep Agentic Coding Context Focused
AI news moves fast. Sign up for a monthly newsletter for AI updates from IBM → https://ibm.biz/~G97V5h6dy
AI was used in the creation of the transcript and metadata for this video.
#aicodingagent #agenticcoding #aicoding #aiagents --------------------------------------------------------------------------------------------------------- Find us on YouTube: 🔵 IBM Technology: https://www.youtube.com/@IBMTechnology 🔵 IBM: https://www.youtube.com/@IBM 🔵 IBM Developer: https://youtube.com/@IBMDeveloperAdvocates