Skip to content

A multi-agent workflow where Research, Copywriter, Art Director, and Manager AI agents collaborate to generate a full marketing campaign brief from a simple product description.

Notifications You must be signed in to change notification settings

syed-waleed-ahmed/Multi-Agent-Workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Multi-Agent Marketing Campaign Creator

Automated workflow using AI agents: Researcher β†’ Copywriter β†’ Art Director β†’ Manager

This project is a multi-agent AI workflow automator that generates a complete marketing campaign brief from a simple product description.
Using Groq’s OpenAI-compatible LLM API, each specialized agent performs a different roleβ€”just like a real marketing team:

  • 🧠 Research Agent – analyzes trends, audience, insights
  • ✍️ Copywriter Agent – writes taglines, messages, headlines, body copy
  • 🎨 Art Director Agent – creates visual concepts & image prompts
  • πŸ“‹ Manager Agent – assembles everything into a structured final brief

This project demonstrates agent orchestration, workflow automation, modular design, and real-world LLM application development.


🧩 Features

βœ” Automated end-to-end AI workflow
βœ” 4 specialized AI agents collaborating sequentially
βœ” Generates:

  • Research summary
  • Positioning angles
  • Tagline + campaign messaging
  • Headlines + ad copy
  • Image prompts (for DALLΒ·E, Stable Diffusion, etc.)
  • Final campaign brief (Markdown)

βœ” Uses Groq LLMs (fast & free-tier friendly)
βœ” Uses OpenAI-compatible API calls
βœ” Modular, readable Python architecture
βœ” CLI interface for interactive use


πŸ“‚ Project Structure

multi_agent_workflow/
β”‚
β”œβ”€β”€ main.py                     # CLI entry point
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ .env                        # Contains GROQ_API_KEY (not pushed to GitHub)
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ config.py               # Settings, model names, API keys
β”‚   β”œβ”€β”€ llm_client.py           # Groq API client
β”‚   β”œβ”€β”€ workflow.py             # Orchestrates all 4 agents
β”‚   β”‚
β”‚   └── agents/
β”‚       β”œβ”€β”€ research_agent.py       # Audience insights & research
β”‚       β”œβ”€β”€ copywriter_agent.py     # Tagline, headlines, messaging, copy
β”‚       β”œβ”€β”€ art_director_agent.py   # Image prompts & visual concepts
β”‚       └── manager_agent.py        # Final campaign brief assembly
β”‚
└── README.md

▢️ Usage

Run the program: python main.py

It will ask for:

  • Product name
  • Product description
  • Target audience
  • Campaign goal
  • Tone
  • Channels (e.g., instagram, tiktok, email)

Example

  • Product name: EcoSip Reusable Bottle
  • Product description: Stylish insulated bottle that keeps drinks cold 24 hours
  • Target audience: young professionals who care about sustainability
  • Campaign goal: drive online sales for summer collection
  • Tone: fresh, energetic, eco-friendly
  • Channels: instagram, tiktok, email

Output Includes

βœ” Research insights βœ” Copywriting content (tagline, headlines, body copy, CTA) βœ” Image prompts (3–5 visual concepts) βœ” A polished final campaign brief

🧠 How the Workflow Works

  • Research Agent: Generates insights, pain points, trends, and positioning angles.
  • Copywriter Agent: Creates messaging including tagline, headlines, and body copy.
  • Art Director Agent:Produces 3–5 detailed prompts for AI image generators.
  • Manager Agent: Combines all previous outputs into a final campaign brief in Markdown.

🎯 Why This Project Matters

This project demonstrates:

  • Multi-agent orchestration
  • Practical workflow automation
  • Prompt engineering for specialized agent roles
  • Modular Python project structure
  • LLM-powered content generation
  • Realistic simulation of a professional marketing workflow
  • Great for showcasing AI engineering, automation, creative pipelines, and multi-agent systems.

πŸ› οΈ Future Enhancements

  • Add JSON schema validation for agent outputs
  • Optional PDF export of final brief
  • Streamlit or Gradio web UI
  • Plugin for automatic image generation (DALLΒ·E, SDXL, Flux)
  • Save outputs to /outputs/ directory

Author

Created by Syed Waleed Ahmed

About

A multi-agent workflow where Research, Copywriter, Art Director, and Manager AI agents collaborate to generate a full marketing campaign brief from a simple product description.

Topics

Resources

Stars

Watchers

Forks

Languages