Visual Studio Code orchestrated agents

 


Let’s be honest: my history with coding is basically a tragic comedy. I’ve always struggled with languages—I’ve got Finnish and English down, but apparently, Python just refused to join the chat. I tried learning in school, and let's just say the computer and I mutually decided to go our separate ways.

But now? I’m absolutely buzzing. With these AI agents, I’ve gone from 'tech-illiterate' to 'conductor of a digital orchestra.' I’m not saying I’m suddenly a software engineer—let’s not get crazy—but I am successfully tricking my agents into building things that actually work. It’s like magic, but with more syntax errors and slightly less wand-waving.

Building an Agent Orchestrator in VS Code

I’ve been experimenting with taking coding automation to the next level, and the result is pretty cool: I’ve built an orchestrator agent for VS Code that manages its own team of sub-agents.

The idea isn’t just to rely on one "all-knowing" AI, but to embrace a collaborative, team-based approach. Here’s a quick look at how it works:

The Orchestrator: This is the "brains" of the operation. When I give it a task, it breaks the project down into smaller, manageable chunks and delegates them to the right sub-agents.

The Sub-Agents: These are the specialists. I have one focused on writing the code, another dedicated to running tests, and a third handling the documentation.

Instead of banging my head against the wall trying to craft the perfect "one-shot" prompt, I can now simply delegate the heavy lifting to my agent team. It makes the whole development process feel way smoother and keeps things a lot more organized.



How is this possible?

First, install following applications and/or create accounts:

When you have done previous steps open VS Code and install Github Copilot Chat from VS Code extensions.



Then install agents. Searching the internet you can find plenty of agents, but this is a easy approarch: Ultralight Orchestration. Orchestrator is the "Master" agent and it get's help from helper agents like Planner, Designer and Coder, so install all of those.



After you have installed the agents, you can start coding, but first, open a folder where your code is located (or create a new empty one).



When folder is opened, select Orchestrator agent from your agent menu, and start coding.



Example prompt: Create an HTML homepage for a 10-year-old kid. Use your imagination.

If you are wondering my agents in the picture, I have a paid GitHub Copilot license that includes a few agents, but you don’t need it for testing. A free Github Copilot account is enough.

By using this prompt agent will create a HTML code to the (empty) folder that you opened. You can browse the file and open it locally with your browser. If you are not happy for the first result, ask agent to fix it.

If you are not happy with how the orchestrator performs and would like to improve it, copy the agent files to a separate folder, open them in VS Code, and ask the orchestrator agent to investigate potential failures and improve your agents.

You can find your agents from here:



Agents building other agents? Sounds fancy, but it’s true!

Popular posts from this blog

Checking Agent Version in Copilot Studio

Multilingual support for Copilot Studio agent