AI-Powered Marketing Brief Enhancement Platform
CampaignMind transforms incomplete marketing briefs into comprehensive, data-driven campaign strategies using agentic AI agents with multi-step reasoning and real-time competitive intelligence.
CampaignMind is a production-ready multi-agent AI system that analyzes marketing campaign briefs and enriches them with:
- Trend Intelligence - Current digital & social marketing trends
- Competitive Analysis - Real-time competitor campaign research
- Market Landscape - Strategic positioning and whitespace opportunities
- Strategic Insights - Actionable recommendations synthesized from all data sources
Unlike standard RAG (Retrieval-Augmented Generation) systems, CampaignMind uses Agentic RAG:
| Standard RAG | Agentic RAG (CampaignMind) |
|---|---|
| Single-shot query | Multi-step search strategies |
| Fixed process | Adaptive reasoning & planning |
| One data source | RAG + Web Search + Scraping |
| No self-correction | Quality evaluation & retry logic |
| Generic outputs | Context-aware, professional analysis |
Each agent uses sophisticated multi-step reasoning:
-
๐งพ Brief Analysis & Metadata Gating
- Identifies gaps and determines enhancement strategy and forces required metadata confirmation before running specialist agents\
-
Choosing the execution mode
- Works in interactive or autonomous mode
-
๐ Specialist Agent Pipeline
- Trend Agent: Searches RAG โ Web โ Google Trends API for current data
- Case Intelligence Agent: Finds competitor campaigns via RAG โ Web โ Scraping
- Market Landscape Agent: Analyzes competitive positioning with real-time research
- Insight Generator: Synthesizes all findings into strategic recommendations
- Creator Agent: Generate hero ad concept ideas, tagline options and week by week calendar
-
๐๏ธ ThreeโPanel UI
- Agents Team (left)
- User Chat (center)
- Agents Chat (right)
-
๐ค Guest & Auth Modes
- Guest mode with browser storage
- Supabase-authenticated mode for persistence
- Next.js (App Router)
- TypeScript
- Tailwind CSS
- Vercel (deployment)
- Python 3.11
- FastAPI
- Uvicorn
- Pydantic
- Render (deployment)
- Gemini API (OpenAIโcompatible endpoint)
- Local Vector DB for RAG
- Optional agentic tools: web search, scraping, trends
- Supabase (Postgres + Auth)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Frontend (Next.js + Vercel) โ
โ - Threeโpanel UI โ
โ - Brief input + workflow control โ
โโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ
โ HTTPS
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Backend (FastAPI + Render) โ
โ - /api/v1/conversations โ
โ - /api/v1/brief-analyze โ
โ - Agent orchestration โ
โ - RAG + Web tools โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ โ
โผ โผ
Supabase (DB/Auth) Gemini API
- Metadataโgated workflow before agent execution
- Stepโbyโstep or autonomous orchestration
- Structured outputs for UI rendering
- RAG + web search for enriched insights
- Guest mode persistence (IndexedDB + localStorage)
- Structured prompts per agent role
- JSON/Markdown output control
- Guidance routing based on brief completeness
- Chunked knowledge base
- Vector similarity search for context injection
- Dedicated roles for trends, cases, market, synthesis, creative
- Pipeline control with metadata and mode selection
- Multiโagent pipeline with stepโlevel outputs
- Onโdemand execution in interactive mode
- Stateless API design
- Supabaseโbacked persistence for authenticated users
- Required metadata enforcement
- Clear error handling and fallbacks
- Brief Analyzer
- Metadata Confirmation
- Trend Agent
- Case Intelligence Agent
- Market Landscape Agent
- Insight Generator
- Creator Agent
- CORS errors: ensure
FRONTEND_URL/FRONTEND_URLSmatch deployed frontend domain - Supabase 500: check
SUPABASE_SERVICE_KEY - Cold start delays: Render free tier sleeps
- User workspaces + multiโproject management
- Saved campaign libraries
- Multiโlanguage output support
- Team collaboration + sharing
ยฉ 2026 Su Phyu Sin Htet and Hein Thu Aung. All Rights Reserved.
This CampaignMind project was collaboratively developed by Su Phyu Sin Htet and Hein Thu Aung.
It is protected as original intellectual property.
You may view, read, and cite this repository for educational or research purposes only.
Any reproduction, redistribution, modification, or commercial use of this project, its source code,
trained models, or design assets without prior written consent from both authors is strictly prohibited.
For collaboration or licensing discussions, please contact the authors directly.
- Microsoft AutoGen - Agent orchestration framework
- Google Gemini - LLM capabilities
- ChromaDB - Vector database
- Supabase - Database and authentication
- FastAPI - Modern Python web framework
- Brief Analysis: ~3-5 seconds
- Single Agent (Standard RAG): ~6-10 seconds
- Single Agent (Agentic RAG): ~12-22 seconds
- All 5 Agents (Parallel): ~55-85 seconds
- Quality Score Improvement: 60% โ 94%+
| Metric | Standard RAG | Agentic RAG |
|---|---|---|
| Avg Quality Score | 0.45 | 0.94 |
| Data Freshness | Static | Real-time |
| Competitor Coverage | 2-3 | 5-10 |
| Quantitative Data | Rare | Consistent |
| Self-Correction | None | Automatic |
You can test the project on this link
Project Maintainer: Su Phyu Sin Htet
GitHub: @suphyusinhtet
Email: suphyusinhtet@gmail.com