Show DEV: I built an AI Agent inside VS Code

1
calendar_today agoschedule1 min read
— Originally published at dev.to

Hey everyone,

For the past few months, I’ve been building Kalai Agent, a VS Code extension designed to bring fully agentic AI directly into your editor, bypassing the need to constantly copy-paste code snippets into a browser tab.

It’s finally at a stable v2.1.5, and I’m looking for some brutal engineering feedback on the architecture, security flows, and UX.

The Architecture & Tech Stack

Instead of building a wrapper around a basic chat interface, I wanted something that could safely interact with the local workspace.

  • Frontend: VS Code Webview API with batched streaming to prevent UI thread stuttering.
  • LLM Engine: Proxied Moonshot/Kimi API.
  • Backend: A lightweight Node service managing auth, workspace routing, and pay-as-you-go billing.
  • Capabilities: File-system operations, local terminal command execution, Python/Node script running, and web search capabilities.

Check it out

If you want to take it for a spin, install it directly from the marketplace:
Kalai Agent - Visual Studio Marketplace

If you run into bugs, have notes on the UI, or just think a specific feature is clunky, drop a comment below or email us on culustech@gmail.com. I’m entirely open to critiques!

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelski - Mar 19

I Wrote a Script to Fix Audible's Unreadable PDF Filenames

snapsynapseverified - Apr 20

Your AI Agent Skills Have a Version Control Problem

snapsynapseverified - Apr 22

How I Built a React Portfolio in 7 Days That Landed ₹1.2L in Freelance Work

Dharanidharan - Feb 9

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4
chevron_left
121 Points1 Badges
1Posts
0Comments
2Connections
Software engineer with 5 years of experience designing and shipping full-stack
products, from clien... Show more

Related Jobs

View all jobs →

Commenters (This Week)

4 comments
3 comments
2 comments

Contribute meaningful comments to climb the leaderboard and earn badges!