Introduction to AgentBuilder | Automate your Agents with AutoGen
HTML-код
- Опубликовано: 28 май 2024
- Hello and welcome to an AutoGen Tutorial where we cover AgentBuilder! This allows us to let AutoGen do all the work and create the agents, their behavior and messages, then select which agents to use to perform a task, and finally run them. Let's dive in and see how it's done.
Don't forget to sign up for the newsletter below to give updates in AI, what I'm working on and struggles I've dealt with (which you may have too!):
=========================================================
📰 Newsletter Sign-up: bit.ly/tylerreed
=========================================================
🙋♂️ My GitHub: github.com/tylerprogramming/ai
🥧 PyCharm Download: www.jetbrains.com/pycharm/dow...
🐍 Anaconda Download: www.anaconda.com/download
🤖 AutoGen GitHub: github.com/microsoft/autogen
📖 Chapters:
00:00 Introduction
01:17 Part 1 - Project Setup
06:03 Part 2 - Create Functions
09:06 Part 3 - Write the Logic
12:46 Must Listen! - Docker Update
13:24 Part 4 - Running Example
16:50 My Thoughts
💬 If you have any issues, let me know in the comments and I will help you out!
00:01 Agent Builder automates the creation and selection of agents for specific tasks.
01:46 Setting up system prompts and agent list for AutoGen
03:54 Setting up the AgentBuilder with GPT-4 model and API key
06:05 Creating and managing agents for tasks.
08:18 Setting up AgentBuilder and initiating chat
10:26 Configure the agent model with AgentBuilder
12:29 Clearing agents from cache and running the code
14:30 Demonstration of executing code and creating agents
16:34 AgentBuilder allows for easy automation of tasks using AutoGen
Would love to see a course made where we can follow along making various projects etc. Maybe for skillshare or udemy, if you don't want to use youtube.
I've started an outline for a course! I have a good bit more to learn and research but I want to break it down into a course for others. I think that's a good idea 👍
@@TylerReedAI Great! Please create an idea page where can submit and vote on ideas.
Hi, great video, as usual!
Thank you so much!
Amazing!! Thanks for your time and your explanation!!
Thank you 🙏 I appreciate that
Really cool!
Thank you I think so too 👍
14:12 here’s the comedy of it all 😂: AutoGen runs like a PM at a FANGM company getting a cluster of employees working together on a task a junior programmer can do.
This goes to show you, we only program what we already know
lol 😂 I see your point, and it’s valid but this was a simple use case. And it’s not always can somebody else do it because that answer is yes most of the time. Some of it is how long and can it be helpful alongside a developer.
Just another thought about it 👍
Great video like always! Question: Would using a local model via LM Studio be as simple as adding new model to OAI and updating main.py? I tried and get a typescript error with regards to API_Key (tried sk-1111 and NULL). Just curious as I tested. Thanks
Thank you 🙌 yeah so once you have the server started with LM Studio then update the config to have any string for app key and then a base_url property with the localhost url from LM Studio. Let me know if this doesn’t work
is it dynamic are the agents being created as needed during execution of a task?
the agents will be created first, and then AutoGen chooses which ones are best suitable for the task. We just define the names of all agents we would like it to create
@@TylerReedAI i dont understand the value of this feature, it seems to do the same thing as select next speaker from userproxy for a group chat in autogen
well, I mean I will say I'm not entirely sure yet either of the value, I have my opinions on what I think it could be good for, and that is you can declare a bunch of agents you would like to have (just the names) and then agentbuilder creates agents with system messages that it provides and then AutoGen will choose from that list on what it thinks are best to solve a task.
Select speaker means you would know in advance the agents. But, in other side, maybe it's not a great feature. I hope it matures more and we shall see
Love the idea, though I can't quite get it to work. I'm still trying but currently stuck at this error, though I do have my OpenAI API key in the config list file from follwoing the video and copying the github
[autogen.oai.client: 02-09 01:00:20] {351} WARNING - openai client was provided with an empty config_list, which may not be intended.
Thank you, I think the idea will mature more and become better. Okay so you clones the project, installed the libraries and replaced the api key with yours and you are getting an empty config list error? I will look into possible reasons why, sorry for the issue
I'm playing catchup. How relevant is this video after autogen studio?
Where did you get the couch in background? Wayfair?
Nah on FB Marketplace
Lots of potential here!
Edit: first
I agree, I think the more it matures the more we will understand how it can be helpful