isA Marketing
Multi-agent marketing platform with 8 specialized AI agents for automated campaign management, analytics, content, SEO, personalization, and compliance β plus CDP/PIM integrations and an autonomous brief-to-launch pipeline.
Overview
isA Marketing is an intelligent multi-agent system that automates marketing workflows end-to-end: campaign creation and management, analytics and reporting, audience insights, content and SEO optimization, real-time personalization, and compliance monitoring. Through natural language interaction, users can request any of these without needing technical expertise in data analysis or ad-platform APIs.
The platform runs as a single-container architecture where all agents operate in-process via the SwarmOrchestrator pipeline with shared state, communicating through NATS messaging and backed by PostgreSQL, Redis, Qdrant, and MinIO from the isA Cloud infrastructure.
| Agent | Role |
|---|---|
| Orchestrator | Marketing Director β coordinates agents, routes tasks, manages workflows |
| Campaign Manager | Campaign creation, A/B testing, budget allocation, creative compliance, bid optimization across Google/Meta/LinkedIn/TikTok Ads |
| Campaign Analyst | Campaign metrics analysis, ROI calculation, conversion tracking |
| Report Generator | Performance reports, executive summaries, CSV/PDF export |
| Audience Insights | Segment analysis, cohort identification, behavioral analysis |
| Content Agent | Content creation, management, and optimization |
| SEO Agent | Search engine optimization analysis and recommendations |
| Personalization Agent | Combines CDP user profiles + PIM product data + campaign context to generate per-user content variants in real time |
| Compliance Agent | Regulatory compliance monitoring and enforcement |
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Marketing Platform β
β API (Port 18792) β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Orchestrator (Marketing Director) β
β Decision engine β’ A2A adapter β’ Shared state β
βββ¬βββββ¬ββββββ¬βββββββ¬βββββββ¬βββββββ¬βββββββ¬ββββββββ¬βββββββββ
β β β β β β β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βCampββCampββReportββAudi.ββCont.ββ SEO ββPersonββComplianceβ
βMgr ββAnlstββGen. ββInsigββAgentββAgentββalize ββ Agent β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β β β β β β β
βββββββ΄ββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββ΄βββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CDP / PIM Adapters (see below) + isA_Creative β
β Segment β’ RudderStack β’ Akeneo/Pimcore/Salsify β’ NATS β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β External Integrations β
β Google Ads β’ Facebook Ads β’ LinkedIn Ads β
β Google Analytics β’ HubSpot β’ Salesforce β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Infrastructure (isA Cloud) β
β PostgreSQL β’ Redis β’ Qdrant β’ NATS β’ MinIO β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββCDP and PIM Integrations
isA Marketing integrates with customer-data platforms (CDP) and product-information-management systems (PIM) through an adapter pattern, so a provider can be swapped without touching agent logic:
- CDP adapter β audience/event data in, campaign targeting out. Supported providers: a local placeholder (for development), Segment, and RudderStack. The CDP event bridge publishes provider webhook events onto NATS for the rest of the platform to consume.
- PIM adapter β product catalog data in, enriched campaign/personalization content out. Supported providers: a local placeholder, Akeneo, Pimcore, and Salsify. The PIM webhook bridge (
POST /webhooks/pim) verifies Akeneo Events API callbacks and republishes them as NATS events.
Both adapters default to the placeholder provider for local development and swap to a real provider via configuration β no agent code changes needed.
Autonomous Brief-to-Launch Pipeline
A campaign brief (objective, target audience, product IDs, channels, budget, content types) can be run through a 12-stage, resumable pipeline that takes it from brief to a live, monitored campaign:
- Brief received β a
CampaignBriefis submitted. - Creative requested / received β the pipeline requests creative assets from isA_Creative over NATS.
- Audience built β the CDP adapter builds the target audience segment.
- Products enriched β the PIM adapter attaches product data for the campaignβs
product_ids. - Personalized β the Personalization Agent generates per-user content variants from the combined CDP + PIM + campaign context.
- Compliance checked β the Compliance Agent runs a guardian veto over the assembled campaign.
- Approval pending / approved β a human approval gate, with configurable auto-approve thresholds (e.g. budget under a limit, audience under a size) and mandatory review for new channels or high-risk campaigns.
- Launched β the Campaign Manager launches the campaign across the target ad platforms.
- Monitoring / completed β ongoing performance monitoring with a feedback loop back into the pipeline.
Each stage is idempotent and the pipeline can resume from any point (e.g. after a transient failure or while waiting on human approval).
Brand Configuration
Service branding is wired through isa_common.BrandConfig, so per-edition brand values (name, logo, copy) propagate to this service the same way they do across the rest of the isA platform.
Key Features
Campaign Analytics
- Campaign metrics analysis and ROI calculation
- Conversion tracking and attribution modeling
- Campaign comparison and benchmarking
- Performance trend analysis
Report Generation
- Automated performance reports
- Executive summaries with AI-powered insights
- Multiple export formats (CSV, PDF)
- Standardized metrics and calculations
Audience Insights
- Segment analysis and profiling
- Cohort identification
- Behavioral analysis and targeting recommendations
- Cross-channel audience mapping
Content Management
- Content creation assistance and optimization
- Content performance tracking
- Cross-channel content coordination
SEO Optimization
- Search engine optimization analysis
- Keyword and ranking recommendations
- Technical SEO auditing
Compliance Monitoring
- Regulatory compliance checks
- Policy enforcement across campaigns
- Audit trail and reporting
Platform Integrations
| Platform | API Type | Auth Method | Rate Limit | Data Sync |
|---|---|---|---|---|
| Google Ads | REST | OAuth 2.0 | 15k/day | 15 min |
| Facebook Ads | Graph API | OAuth 2.0 | 200/hr | 15 min |
| LinkedIn Ads | REST | OAuth 2.0 | 100/min | 30 min |
| Google Analytics | REST | OAuth 2.0 | 50k/day | 15 min |
| HubSpot | REST | API Key | 100/10s | Real-time |
| Salesforce | REST | OAuth 2.0 | 100k/day | 30 min |
Quick Start
# Clone the repository
git clone https://github.com/xenoISA/isA_Marketing.git
cd isA_Marketing
# Install dependencies
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
# Ensure isA Cloud infrastructure is running (PostgreSQL, Redis, Qdrant, NATS, MinIO)
# Start with Docker Compose
docker-compose up -d
# Or run directly
uvicorn src.orchestrator.main:app --port 18792 --reloadThe service exposes a health check at http://localhost:18792/health.
Tech Stack
| Tool | Purpose |
|---|---|
| Python 3.11+ | Language |
| FastAPI | API service |
| isA Agent SDK | Agent framework (SwarmOrchestrator) |
| PostgreSQL | Campaign data, analytics storage |
| Redis | Cache, sessions |
| Qdrant | Vector embeddings for content/audience |
| NATS | Inter-agent messaging |
| MinIO | Report and media storage |
Project Structure
isA_Marketing/
βββ src/
β βββ api/ # FastAPI routes
β βββ orchestrator/ # Marketing Director, decision engine, A2A adapter
β βββ campaign_analyst/ # Campaign metrics and ROI analysis
β βββ campaign_manager/ # Campaign lifecycle management
β βββ report_generator/ # Report creation and export
β βββ audience_insights/ # Segment and cohort analysis
β βββ content_agent/ # Content management and optimization
β βββ seo_agent/ # SEO analysis and recommendations
β βββ personalization_agent/ # Real-time per-user content variants (CDP + PIM + context)
β βββ compliance_agent/ # Regulatory compliance monitoring
β βββ core/
β βββ services/ # CDP/PIM adapters + event bridges, autonomous_pipeline.py
βββ tests/ # Test pyramid (unit, component, integration, api, smoke)
βββ config/ # Service configuration (vibe.yaml)
βββ deployment/ # Environment configs, requirements
βββ docs/ # Internal project documentation, PRD, design docs
βββ k8s/ # Kubernetes manifests
βββ Dockerfile # Container build
βββ docker-compose.yml # Local developmentRoadmap
| Version | Target | Features |
|---|---|---|
| v0.1.0 (MVP) | Q1 2026 | Basic campaign analysis, performance reports, segment analysis, orchestrator routing |
| v0.2.0 | Q2 2026 | Conversion tracking, executive summaries, PDF export, cohort analysis, multi-step workflows |
| v1.0.0 | Q3 2026 | Full feature set, advanced attribution, targeting recommendations, A2A protocol integration |