Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building an AI Agent for Zed Editor Using Agent Client Protocol in 15 Lines

Chris Hay via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a local AI coding agent that integrates with the Zed editor using the Agent Client Protocol (ACP) in this 19-minute tutorial. Discover how ACP standardizes AI coding agents similar to how LSP standardized language tooling, and explore the simplicity of creating custom agents that communicate with Zed over stdio. Build a minimal 15-line Python echo agent from scratch and run it instantly using uvx without any installation requirements. Examine the ACP specification and protocol overview to understand how agents connect to editors. Extend your knowledge by integrating advanced language models including the Kimi K2 thinking model through the Kimi CLI and Claude Code. Access the complete source code through the provided GitHub repositories and follow along with timestamped chapters covering everything from basic Zed agent setup to implementing custom LLM agents with thinking capabilities.

Syllabus

00:00 - intro
00:23 - zed
00:35 - zed agents
00:45 - claude code in zed
02:31 - custom zed agents
03:37 - build your custom echo agent
05:30 - using acp cli with your agent
06:19 - hook your agent upto zed
07:57 - protocol overview
11:14 - custom llm agent in zed
14:30 - kimi cli
15:30 - kimi cli and acpt
16:30 - kimi k2 thinking in zed

Taught by

Chris Hay

Reviews

Start your review of Building an AI Agent for Zed Editor Using Agent Client Protocol in 15 Lines

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.