AutoGen + MemGPT TUTORIAL | Building AI Agents
ฝัง
- เผยแพร่เมื่อ 25 ก.ค. 2024
- Hello and welcome to an explanation and tutorial on building an AI Agent Workforce with AutoGen and MemGPT! We will learn how to set it up so you can build it yourself!
PyCharm Download: www.jetbrains.com/pycharm/dow...
Anaconda Download: www.anaconda.com/download
AutoGen GitHub: github.com/microsoft/autogen
MemGPT GitHub: github.com/cpacker/MemGPT
My GitHub: github.com/tylerprogramming/ai
Chapters:
00:00 Introduction
00:20 What is Context Window?
02:47 Create New Project
04:01 App Code Review
06:08 MemGPT Agent
07:45 Run with AutoGen Agents
08:40 Run with MemGPT Agent
09:49 Outro
If you have any issues, let me know in the comments and I will help you out!
Comment your games or software you build, I can't wait to see what you make!
Awesome bro
Thanks man appreciate it 👍
It will be awesome to show how to do it with a local LLM using LM studio!
Will do! Working on it 👍
I would assume you just start a server and collect to it's API without the need to use an API key?
@sigma_z yup load the model, start the server, then set the api base to the local host from LM studio
This is perfect! I watched your first video, I really like your videos!
I'm not a coder by any means, but you make this so easy to follow along!
Do you know how we would move this into production lets say we created agents that perform a certain workflow and we want to sell them to businesses. I would want it to have a RAG, MemGPT and Autogen agent configuration. Any chance you got time to make a video like that?
Another idea is how can you get an agent to respond to inbound callers for a business,
Thank you for watching them, and I’m glad I can make it easier 😁. I would need to make a video on this because I do think now it’s..”okay how does this become a part of a business.”
@@TylerReedAI Yeah that would be great unique content. Niche it down to something like Real Estate (with interest rates rising etc) a lot of keyword action on that.
Cancel
Reply
Lets GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Let’s GOOOOOOOOOOOO!!!
It would be great if you can provide requirements.txt too as is fastly changing and sometimes this integration breaks due to code changes
I hear ya, and I will start doing this. I definitely understand the integration breaking because of constant updates. Thank you for suggestion
Have you tried running this with a local LLM? It is on my to do list, run it on LM Studio
Not yet, but that’s a video I’m recording to show how to do that :)
Now I want to try to do this and give it something hard to make. I figure after a few iterations and back and forth with QA, the inner thoughts may be pretty rough lol
haha yeah, it will probably take a few iterations and some human input for sure. Yeah maybe at some point or the next time you may want to turn the debug off so you don't see them 🤣. Let me know how your project goes
@@TylerReedAI oh you don't understand, imagine creating a story out of your assistant haha. "Today was a gloomy day and Mike was tasked with what seemed like an impossible project."
This is awesome, thanks. Can you do a video with AutoGen an memgpt with an actual ui?
Hey thank you for watching! And yeah, this was a basic example of how to just get it together, and you mean like creating a simple app?
@@TylerReedAI exactly! An app with a ui that perhaps shows a chart or something other than a chatbot. That seems to be the only ui example that ai instructional content creators use, a chatbot but what about charts and graphs with a toggle to display something selected. Idk, just a thought. Would love to see how it ties into a ui.
guys hv a peek at for example streamlit, you ui this in minutes
great work Tyler !!!
@ruilacerda7469 thank you 👍
Hi , can memgpt agent run with groq llama 3 70 b api ? So far i have not beeb able to do so. Can you help.
That's a good question, I will have to check that out, I am not sure. Have you had any luck finding out?
hi, could you please make an updated video on this topic, the code currently on github isn't working, i assume that's because there is the new version of autogen (0.2.x)
yes I can do that! It gets updated often, and MemGPT not long ago updated the function names and parameters. AutoGen recently had a couple updates as well. So I understand and can do that
I got this error: TypeError: create_autogen_memgpt_agent() got an unexpected keyword argument 'persona_description' . what to do?
Hey! What is your code for that agent? I can check it on my end and see whats going on
@@TylerReedAI I just copy pasted everything in your .py file
Autogen has undergone several upgrades lately. Can you please revisit this solution and compare Autogen with and without MemGPT coder to reflect if this association still has any relevance or not. Thanks!
Hey yes I totally agree, and I have this on my list. There have been a lot of changes and I need to make an update
I cannt see the code as it is too small font and on large monitor your video has low resolution!!!
Thank you for your input, I’ll try to take this into consideration for my next video