I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)

Infinite Codes · Beginner ·🧠 Large Language Models ·1y ago
Automate your Social Media with AI Agents - CrewAI Hierarchical Crew Tutorial (Instagram Automation) In the last video, I showed you the power of AI Agents by introducing you to the powerful new tool Crew AI, which gets rid of most of ChatGPT's limitations by creating crews of autonomous AI Agents. As requested by many of you, this video goes into a more complex task for our crew: Instagram Automation! More specifically, automatically generating a Social Media Ad campaign for Instagram. This included Product research and competitor analysis, the development of a full ad campaign for instagram, generating three optoins for instagram posts including images. I am creating two separate crews for this: A hierarchical crew with a Manager LLM that takes care of the Product Research and Competitor Analysis, Develops the Ad Campaign Strategy and the three post ideas. The second crew - a sequential crew - is designing three photographs to go along with these three posts. I will describe the crew setup in detail and take you through all of my code, before running the script with you and looking at the results together. I played around with local LLMs (Ollama) but ended up going with OpenAI's GPT-3.5-turbo in the end, because it gave much better results. If you have foundational Python skills, are able to clone a repository from github and know how to use ChatGPT, you should be able to follow along. Resources: CrewAI website: https://www.crewai.com/ Joao’s CrewAI github repo: https://github.com/joaomdmoura/crewAI Example crews and templates: https://github.com/joaomdmoura/crewAI-examples To follow along just clone the crewai-examples repo and make a copy of the Instagram post folde and change the files in there. You will need an OpenAI API key (https://platform.openai.com/) and a SerperDev API key (https://serper.dev/) to run this crew. To install crewAI & tools: pip install crewai pip install 'crewai[tools]' Use Artificial Intelligence and AI Agents to automate w
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Infinite Codes · Infinite Codes · 12 of 39

1 Why Python is the BEST programming language (Top 10 2024)
Why Python is the BEST programming language (Top 10 2024)
Infinite Codes
2 The Most Fun Programming Language for Beginners!
The Most Fun Programming Language for Beginners!
Infinite Codes
3 Why Python is the Hottest Programming Language
Why Python is the Hottest Programming Language
Infinite Codes
4 How to delete a repository in GitHub (2024 updated)
How to delete a repository in GitHub (2024 updated)
Infinite Codes
5 How to get OpenAI API key / ChatGPT API key (2024 updated)
How to get OpenAI API key / ChatGPT API key (2024 updated)
Infinite Codes
6 How to clone GitHub Repository (2024 updated)
How to clone GitHub Repository (2024 updated)
Infinite Codes
7 How to Clone GitHub Repository in Visual Studio Code (2024 updated)
How to Clone GitHub Repository in Visual Studio Code (2024 updated)
Infinite Codes
8 How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)
How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)
Infinite Codes
9 How to Push Code to GitHub on the Command Line (2024 updated) - with Authentication
How to Push Code to GitHub on the Command Line (2024 updated) - with Authentication
Infinite Codes
10 CrewAI Tutorial: Automate your Life with AI Agents
CrewAI Tutorial: Automate your Life with AI Agents
Infinite Codes
11 Automate your Life with AI Agents (EASY CrewAI Tutorial)
Automate your Life with AI Agents (EASY CrewAI Tutorial)
Infinite Codes
I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)
I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)
Infinite Codes
13 How I’d learn Machine Learning & AI in 2024 (if I could start over) -- 7-step Roadmap
How I’d learn Machine Learning & AI in 2024 (if I could start over) -- 7-step Roadmap
Infinite Codes
14 How to Create an EC2 Instance in AWS in 2024
How to Create an EC2 Instance in AWS in 2024
Infinite Codes
15 How to connect CrewAI to different LLMs (GPT4o, Groq, Llama3, Ollama) - Tutorial & LLM comparison
How to connect CrewAI to different LLMs (GPT4o, Groq, Llama3, Ollama) - Tutorial & LLM comparison
Infinite Codes
16 How to Learn Machine Learning in 2024 (7 step roadmap)
How to Learn Machine Learning in 2024 (7 step roadmap)
Infinite Codes
17 How to Use Ollama in 3 minutes -  Run LLMs locally for FREE (LLama3 & more)
How to Use Ollama in 3 minutes - Run LLMs locally for FREE (LLama3 & more)
Infinite Codes
18 How to get a Groq API key - Run LLMs for FREE (LLama3 etc.)
How to get a Groq API key - Run LLMs for FREE (LLama3 etc.)
Infinite Codes
19 What is Groq? - 30 seconds
What is Groq? - 30 seconds
Infinite Codes
20 Perplexity AI Tutorial: Why you don't need Google and ChatGPT anymore
Perplexity AI Tutorial: Why you don't need Google and ChatGPT anymore
Infinite Codes
21 All Machine Learning algorithms explained in 17 min
All Machine Learning algorithms explained in 17 min
Infinite Codes
22 How Math makes Machine Learning easy (and how you can learn it)
How Math makes Machine Learning easy (and how you can learn it)
Infinite Codes
23 15 Machine Learning Lessons I Wish I Knew Earlier
15 Machine Learning Lessons I Wish I Knew Earlier
Infinite Codes
24 Learn Machine Learning Like a GENIUS and Not Waste Time
Learn Machine Learning Like a GENIUS and Not Waste Time
Infinite Codes
25 All Machine Learning Concepts Explained in 22 Minutes
All Machine Learning Concepts Explained in 22 Minutes
Infinite Codes
26 All Machine Learning Beginner Mistakes explained in 17 Min
All Machine Learning Beginner Mistakes explained in 17 Min
Infinite Codes
27 Neural Networks in 100 seconds
Neural Networks in 100 seconds
Infinite Codes
28 Generative AI in 100 seconds
Generative AI in 100 seconds
Infinite Codes
29 GPTs in 100 seconds
GPTs in 100 seconds
Infinite Codes
30 22 Machine Learning Projects That Will Make You A God At Data Science
22 Machine Learning Projects That Will Make You A God At Data Science
Infinite Codes
31 Transformers in 100 seconds
Transformers in 100 seconds
Infinite Codes
32 THIS is Why Machine Learning Is Hard For you
THIS is Why Machine Learning Is Hard For you
Infinite Codes
33 Deep Learning in 100 seconds
Deep Learning in 100 seconds
Infinite Codes
34 30 Machine Learning Facts Most People Get Wrong
30 Machine Learning Facts Most People Get Wrong
Infinite Codes
35 Gradient Descent in 100 Seconds
Gradient Descent in 100 Seconds
Infinite Codes
36 Computer Vision in 100 Seconds
Computer Vision in 100 Seconds
Infinite Codes
37 Reinforcement Learning in 100 Seconds
Reinforcement Learning in 100 Seconds
Infinite Codes
38 32 Machine Learning Facts That Make No Sense
32 Machine Learning Facts That Make No Sense
Infinite Codes
39 What is Machine Learning? Your 2025 Guide to the AI Revolution
What is Machine Learning? Your 2025 Guide to the AI Revolution
Infinite Codes

Related AI Lessons

Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →