Python: Create a ReAct Agent from Scratch
Alejandro AO - Software & Ai Alejandro AO - Software & Ai
42.9K subscribers
13,193 views
537

 Published On Jul 17, 2024

In this video, we dive deep into building intelligent agents from scratch, without relying on popular frameworks like LangChain or LlamaIndex. Instead, we’ll use pure Python and Groq’s free LLMs, making it accessible for everyone!

Links:
===
Code: https://github.com/alejandro-ao/agent...
Sign up for the waitlist (and get a discounted price 😊): https://course.alejandro-ao.com/
Buy me a coffee... or a beer (thanks!): http://link.alejandro-ao.com/support-me

🔍 Topics covered in this video:
===
- Understanding the ReAct pattern for AI agents
- Utilizing Groq’s LLM to think and choose actions
- Building multi-agent systems from scratch
- Incorporating observations into the prompt in a continuous loop
- Preparing to use advanced tools like LangChain, LlamaIndex, and CrewAI

Timestamps
===
00:00 Intro
1:27 What is an Agent
3:05 What is a React Agent
10:29 Get a Groq API Key
12:41 Init Groq
15:15 Code the Agent Class
22:12 Overview of the System Prompt
27:06 Setup the Agent's Tools
29:20 Run the Agent Manually
38:08 Run the Agent in a Loop
54:59 Outro

Keywords: agents, LLM, OpenAI, multi-agent systems, Groq, CrewAI, AI agents, AI automation, React agent, chain of thought, artificial intelligence, LangChain, LlamaIndex, agentic, teams of AI agents, Anthropic, Llama3

show more

Share/Embed