AdVocate is an AI-powered platform that automates the creation of marketing research and advertisements using Claude AI, LangGraph, and Stable Diffusion. It employs specialized AI agents to streamline market analysis, strategy development, and content generation.
graph TD
A[User Input] --> B[Research Agent]
B --> C[Market Analysis]
B --> D[Competitor Research]
C --> E[Marketing Agent]
D --> E
E --> F[Strategy Development]
E --> G[Audience Profiling]
F --> H[Ad Generator Agent]
G --> H
H --> I[Content Generation]
H --> J[Image Generation]
I --> K[Final Campaign]
J --> K
subgraph "Core Technologies"
L[Claude AI]
M[LangGraph]
N[Stable Diffusion]
end
- Automated Market Research: Conducts in-depth market research and generates insightful reports using Claude AI
- AI-Driven Marketing Strategies: Develops comprehensive marketing strategies using LangGraph for workflow orchestration
- Ad Content Generation: Creates engaging ad content and generates visuals using Stable Diffusion
- Conducts automated market research using Claude AI
- Generates research questions
- Analyzes market data
- Produces structured reports
- Analyzes brand voice and market positioning
- Creates detailed audience profiles
- Generates campaign ideas using LangGraph
- Develops data-driven marketing strategies
- Creates compelling ad content
- Generates optimized image prompts
- Processes campaign requirements
- Creates visual assets using Stable Diffusion
The solution uses a modular architecture with three main agents orchestrated by LangGraph:
-
Research Phase
- Research Agent utilizes Claude AI for market analysis
- Generates comprehensive market insights
- Identifies key market opportunities and trends
-
Strategy Phase
- Marketing Agent processes research data
- Develops targeted marketing strategies
- Creates audience-specific campaign plans
-
Generation Phase
- Ad Generator creates content using Claude AI
- Generates visuals with Stable Diffusion
- Combines elements into cohesive campaigns
-
Clone the repository:
git clone [https://github.com/JNK234/AdVocate---AI-Ad-Generator.git](https://github.com/JNK234/AdVocate-Agentic-Ad-Generator.git) cd AdVocate-Agentic-Ad-Generator
-
Configure the environment:
cp .env.template .env
Edit the
.env
file with your API credentials. -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
- Python 3.8+
- Claude API access
- Stable Diffusion
- Streamlit
- LangGraph
- LangChain
├── ad_generation_app.py # Main application file
├── app.py # Streamlit web interface
├── campaign_generator.py # Campaign generation logic
├── main.py # Main execution script
├── models/ # AI models and data storage
│ └── vectorstore/ # Vector storage configurations
├── src/ # Source code directory
├── agents/ # AI agent implementations
│ ├── research/ # Market research agent
│ ├── marketing/ # Strategy development agent
│ └── AdGen/ # Ad generation agent
├── config/ # Configuration settings
└── core/ # Core functionalities