One Prompt is NOT enough: Using AutoGen to code a Multi-Agent Postgres AI Tool

IndyDevDan October 9, 2023
Video Thumbnail
IndyDevDan Logo

IndyDevDan

@indydevdan

About

On this channel we think, plan, and build. Right now on the channel, we're on the path to evolve into Agentic engineers. Engineers that build software that works for them while they sleep. Here are principles of my engineering philosophy and ideologies this channel holds as facts. - Avoid hype, focus on real valuable tools, technology and products. - Build real products. There are enough news, hype, trend channels. Let's make something real. - Listen to feedback but always think for yourself. - Use the best technology for the job period full stop. - Keep learning, forever. - Do what you share. I don't share anything on this channel I'm not betting on with my time, energy and money. - Cancel out the noise and focus on the signal of value creation. - Great things happen in the flow. Look for it everyday. I'm not the perfect programmer, designer, or creator but to succeed you don't have to be perfect, you just have to try, over and over in success or failure.

Video Description

There's only so much you can do with a single prompt. There comes a point in time where you can only do so much with prompt engineering before you hit a wall. Thankfully the code bros at Microsoft have been cooking up AUTOGEN. A simple way to build prompts that work together to solve a problem. AKA a multi-agent framework for problem solving. In this video we enhance our AI charged Postgres Data Analytics agent backed by GPT-4 and we make it MULTI-AGENT. By splitting up our BI analytics tool into separate agents we can assign individual roles as if our AI was a small working software data analytics company. We build a data analytics agent, a Sr Data Analytics agent, and a Product Manager Agent. Each agent has a specific role and we can assign them special functions that only they can run. Of course, we utilize our favorite AI pair programming assistant AIDER to generate a first pass of our code in no time with the help of a couple prompt engineering techniques. We build in python and use poetry as our dependency manager. Our goal is to move closer to the future of AI engineering and build a fully functional AI powered data analytics tool with ZERO code. Agentic software is likely the future, so let's stay on the edge of AI engineering and build a multi-agent data analytics tool with AutoGen. 👍 THE CODEBASE https://github.com/disler/multi-agent-postgres-data-analytics/tree/v2-using-autogen-to-build-our-multi-agent-tool ✅ Watch Part One - building a Postgres Data Analytics Agent From Scratch https://youtu.be/jmDMusirPKA 🤖💻 AI Engineering Resources Microsoft's Autogen: https://microsoft.github.io/autogen/ Autogen group chat example: https://github.com/microsoft/autogen/blob/main/notebook/agentchat_groupchat_research.ipynb AIDER: https://aider.chat/ Free Postgres Hosting With Neon: https://neon.tech/ 🤖 ZERO Touch coding with AIDER? https://youtu.be/MPYFPvxfGZs 📘 Chapters 00:00 One MAJOR Problem 00:45 Okay so what is AutoGen? 02:00 Make our app Multi-Agent with AutoGen 05:00 Defining our agents 06:10 Let AI Code for you with AIDER 08:30 Half way there let's clean it up 14:04 Our Multi-Agent Analytics App is Born 18:40 Is AutoGen The Future of AI Engineering? 20:30 AutoGen Pros 21:54 AutoGen Cons 23:10 My take and what's next 🐛 tags #dataanalytics #agentic #promptengineering

You May Also Like

Essential AI & Postgres Tools

AI-recommended products based on this video

Loading...
Dent Puller, Car Dent Puller 3 Pack, Paintless Dent Repair Kit with Suction Cups - Auto Body Repair Tool for Dents, Objects Moving

Dent Puller, Car Dent Puller 3 Pack, Paintless Dent Repair Kit with Suction Cups - Auto Body Repair Tool for Dents, Objects Moving

(15)
$19.99
FREE delivery Wed, Mar 18 on your first order
Loading...
EastLink 50-Inch Drain Snake Hair Drain Clog Remover, Anti-Break Steel Sink Snake Drain Hair Removal Tool with Nylon Layer, Flexible Shower Snake for Unclogging Bathtub Drain & Bathroom Sink, 3 Pack

EastLink 50-Inch Drain Snake Hair Drain Clog Remover, Anti-Break Steel Sink Snake Drain Hair Removal Tool with Nylon Layer, Flexible Shower Snake for Unclogging Bathtub Drain & Bathroom Sink, 3 Pack

(30)
$13.99
FREE delivery Fri, Feb 6 on your first order
500+ bought in past month
Loading...
Whitebite Pro Professional Teeth Whitening Kit for Sensitive Teeth | LED Light Accelerator | 4 Whitening Gels (35% Carbamide Peroxide) & 2 Remineralizing Gels | Professional Dental-Grade | Enamel Safe

Whitebite Pro Professional Teeth Whitening Kit for Sensitive Teeth | LED Light Accelerator | 4 Whitening Gels (35% Carbamide Peroxide) & 2 Remineralizing Gels | Professional Dental-Grade | Enamel Safe

(99)
$33.99
FREE delivery Mon, Nov 17 on your first order
Loading...
Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device, Écouteurs traducteurs Anglais-français, Clear Voice Translation Headphones with Charging Case for Travel & Learning Global Recycled Standard

Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device, Écouteurs traducteurs Anglais-français, Clear Voice Translation Headphones with Charging Case for Travel & Learning Global Recycled Standard

(78)
$99.99
FREE delivery Thu, Apr 9
100+ bought in past month
Loading...
Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device,Écouteurs traducteurs Anglais-français, Clear Voice Translation with Charging Case for Travel & Learning Global Recycled Standard

Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device,Écouteurs traducteurs Anglais-français, Clear Voice Translation with Charging Case for Travel & Learning Global Recycled Standard

(77)
$49.97
FREE delivery Fri, Feb 27
Loading...
Acer Nitro V 16 AI Gaming Laptop, 16" WUXGA 180Hz Display, AMD Ryzen 5 240, GeForce RTX 5050, 16GB DDR5, 512GB SSD, Backlit Keyboard, Copilot, Wi-Fi 6E, Win 11, Black, 1TB Docking Station Set

Acer Nitro V 16 AI Gaming Laptop, 16" WUXGA 180Hz Display, AMD Ryzen 5 240, GeForce RTX 5050, 16GB DDR5, 512GB SSD, Backlit Keyboard, Copilot, Wi-Fi 6E, Win 11, Black, 1TB Docking Station Set

(40)
$1,399.00
FREE delivery Feb 24 - Mar 5