Self-Improving Agents are the future, let’s build one artwork

Self-Improving Agents are the future, let’s build one

David Ondrej

November 26, 2026

0:00

David Ondrej

In this module, I'll teach you how to build self-improving AI agents with the help of Autogen Studio and my cat. Now, Autogen Studio is a new AI agent interface developed by Microsoft. Now, this tool is great because it does not require any coding to build teams of agents. To set it up, you need to run a few commands. However, right here, I have a fresh MacBook with nothing installed on it. So I'll show you step by step how to install Python, how to set up VS code. Just follow along what I'm doing, and by the end of the video, you will know how to build self-improving AI agents. The first thing we need is to install VS code. And if you get stuck at any point, use chat.gbt. So when you're on VS code, select your version. It's gonna download. And the next thing we need is Python. Python environments allow you to separate your projects. Normally managing them is quite difficult. Conda makes this super easy. conda.io and do it directly. So click on MiniConda, choose your installer, save that. VS code, open with, archive, you have to unzip it. For Conda, go to your downloads, click on MiniConda and click on open, and just click through this, go through all the steps. I literally just did this, but OBS corrupted my footage. So if you're on Mac, just search for terminal. If you're on Windows, press Windows plus R and type CMD. Let's say I didn't know that, right? How do I open the terminal on Windows? Use chadgbt if you get stuck at any point, right? So now that we're in the terminal, type Conda dash dash version. It should say something. Conda 24, meaning we successfully have Conda installed. Beautiful. Now, as for VS Code, we have to go to our applications and open up VS Code from the apps. Now, inside of VS Code, you have to do one more thing. Press Shift, Command or Control and P. It will open this. You have to type in shell command, install code to path and click on this. To create a new Python environment with Conda, just type the following, Conda create dash n and then your environment name. I'm just going to name it tutorial. You can do anything you want. And then we have to set up the Python version. Microsoft recommends 3.11, so I'm going to do that. Python equals 3.11 and hit Enter. This will start creating our new Python environment. Hit Enter again, and we will use this to install the Autogen Studio package. By the way, anytime you want to have your terminal more organized, just type clear and hit Enter. I'm going to do Conda env list, and this command shows us all of the environments I have. Type Conda, activate tutorial, enter. And as you can see on the left, we have tutorial activated. Beautiful. Let's open up a blank folder. So empty folder with nothing inside, create a new file, main.py. Now that we finally have working VS Code and working Conda, we need to install the Autogen Studio package. And this is super simple. Just type in pip install autogen studio and hit Enter. This will install everything Autogen needs. Let's do clear again. Now there is one last command we have to run before we get the beautiful Autogen Studio interface where we can build agents without coding. To do that, go to VS Code, click on terminal and do new terminal. You should also see the same name of your environment as you do in Conda. If you don't see the same name, just go on to the bottom right, click on the version. This will pop up all the different environments. So choose the one, so like Autogen. And then when you start a new terminal, it should be in that environment. The last command we have to run, autogen studio ui –port 8081 –appdir folder. By the way, all of these commands will be linked below the module. So if you are inside the community, just go below the module and access them. If you're not inside the community, I highly recommend you join, because we have a lot of great materials inside. Now to open Autogen Studio, do command and click, or control click, and there it is. Beautiful. And now we can build agents that have the ability to self-improve. Skills, this is basically tools that the agents can call. So this piece of code will generate an image using Dali3, so we can give this to our agent, and it can generate images. And we can have 10, 20, 30 tools like this, and give them to our agents, and make them more useful. But what's even better, and this is what I'm gonna show you how to do, is we can build a team of agents that can actually create their own tools and self-improve in that way. Model, this is just a language model, right? We have GPT-4, Zephyr 7B, we can have Mistral, Gemini, Claude 3, any model we want. Agents, now this is where we build our agents. Here's an example, we give it a name, a description, human input, whether we want human in the loop, system message, temperature, and we can give it skills. So very, very highly customizable. And workflows, this is the beauty of Autogen. This is what sets it apart from other agent framework tools, is you can build complex workflows of the agents working together and creating something that JGPD alone definitely can't create. To start with, we have to connect our model because I want to be using GPT for Turbo, which is the best model from OpenAI. To do that, just type in OpenAI platform, and here, click on login, and login with the same account you use for JGPD. Again, the URL is platform.openai.com.

Read the other 25 minutes of this episode here.

$15 gets you this episode and 99 more. Credits never expire. After checkout, one link brings you back here to read it.

Not what you expected? Full refund within 14 days.

Thousands of transcripts fetched by people building searchable podcast archives

Fetch transcripts with code

The same credits work from a script or an AI agent. The demo key returns a sample episode in full, no card needed:

request
curl -H "x-api-key: pt_demo" \
  https://spoken.md/transcripts/1000651996090

Markdown with the speakers named, for your notes, your knowledge base, or anything that makes HTTP calls.

From $0.10 per transcript. No subscription. Credits never expire. Prices exclude VAT, added at checkout for EU customers. Not what you expected? Email us within 14 days with 20 or fewer credits used and we refund the pack in full.

Using your own key:

request
curl -H "x-api-key: YOUR_KEY" \
  https://spoken.md/transcripts/1000804285033