I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)
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
2
3
4
5
6
7
8
9
10
11
▶
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Why Python is the BEST programming language (Top 10 2024)
Infinite Codes
The Most Fun Programming Language for Beginners!
Infinite Codes
Why Python is the Hottest Programming Language
Infinite Codes
How to delete a repository in GitHub (2024 updated)
Infinite Codes
How to get OpenAI API key / ChatGPT API key (2024 updated)
Infinite Codes
How to clone GitHub Repository (2024 updated)
Infinite Codes
How to Clone GitHub Repository in Visual Studio Code (2024 updated)
Infinite Codes
How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)
Infinite Codes
How to Push Code to GitHub on the Command Line (2024 updated) - with Authentication
Infinite Codes
CrewAI Tutorial: Automate your Life with AI Agents
Infinite Codes
Automate your Life with AI Agents (EASY CrewAI Tutorial)
Infinite Codes
I Automated my Instagram with AI Agents - CrewAI Hierarchical Tutorial (Instagram Automation)
Infinite Codes
How I’d learn Machine Learning & AI in 2024 (if I could start over) -- 7-step Roadmap
Infinite Codes
How to Create an EC2 Instance in AWS in 2024
Infinite Codes
How to connect CrewAI to different LLMs (GPT4o, Groq, Llama3, Ollama) - Tutorial & LLM comparison
Infinite Codes
How to Learn Machine Learning in 2024 (7 step roadmap)
Infinite Codes
How to Use Ollama in 3 minutes - Run LLMs locally for FREE (LLama3 & more)
Infinite Codes
How to get a Groq API key - Run LLMs for FREE (LLama3 etc.)
Infinite Codes
What is Groq? - 30 seconds
Infinite Codes
Perplexity AI Tutorial: Why you don't need Google and ChatGPT anymore
Infinite Codes
All Machine Learning algorithms explained in 17 min
Infinite Codes
How Math makes Machine Learning easy (and how you can learn it)
Infinite Codes
15 Machine Learning Lessons I Wish I Knew Earlier
Infinite Codes
Learn Machine Learning Like a GENIUS and Not Waste Time
Infinite Codes
All Machine Learning Concepts Explained in 22 Minutes
Infinite Codes
All Machine Learning Beginner Mistakes explained in 17 Min
Infinite Codes
Neural Networks in 100 seconds
Infinite Codes
Generative AI in 100 seconds
Infinite Codes
GPTs in 100 seconds
Infinite Codes
22 Machine Learning Projects That Will Make You A God At Data Science
Infinite Codes
Transformers in 100 seconds
Infinite Codes
THIS is Why Machine Learning Is Hard For you
Infinite Codes
Deep Learning in 100 seconds
Infinite Codes
30 Machine Learning Facts Most People Get Wrong
Infinite Codes
Gradient Descent in 100 Seconds
Infinite Codes
Computer Vision in 100 Seconds
Infinite Codes
Reinforcement Learning in 100 Seconds
Infinite Codes
32 Machine Learning Facts That Make No Sense
Infinite Codes
What is Machine Learning? Your 2025 Guide to the AI Revolution
Infinite Codes
More on: Multimodal LLMs
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Hy3 Önizleme API'si Ücretsiz Nasıl Kullanılır?
Dev.to AI
10 Benefits of Learning Generative AI in 2026 (Complete Guide for Beginners & Professionals)
Medium · AI
If You Understand These 5 AI Terms, You’re Ahead of 90% of People
Medium · AI
How I Accidentally Spent $800/Month on LLM Tokens I Didn't Need (And How to Fix It)
Dev.to · Nate Voss
🎓
Tutor Explanation
DeepCamp AI