Skip to Content

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.

AgentRole
OrchestratorMarketing Director β€” coordinates agents, routes tasks, manages workflows
Campaign ManagerCampaign creation, A/B testing, budget allocation, creative compliance, bid optimization across Google/Meta/LinkedIn/TikTok Ads
Campaign AnalystCampaign metrics analysis, ROI calculation, conversion tracking
Report GeneratorPerformance reports, executive summaries, CSV/PDF export
Audience InsightsSegment analysis, cohort identification, behavioral analysis
Content AgentContent creation, management, and optimization
SEO AgentSearch engine optimization analysis and recommendations
Personalization AgentCombines CDP user profiles + PIM product data + campaign context to generate per-user content variants in real time
Compliance AgentRegulatory 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:

  1. Brief received β€” a CampaignBrief is submitted.
  2. Creative requested / received β€” the pipeline requests creative assets from isA_Creative over NATS.
  3. Audience built β€” the CDP adapter builds the target audience segment.
  4. Products enriched β€” the PIM adapter attaches product data for the campaign’s product_ids.
  5. Personalized β€” the Personalization Agent generates per-user content variants from the combined CDP + PIM + campaign context.
  6. Compliance checked β€” the Compliance Agent runs a guardian veto over the assembled campaign.
  7. 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.
  8. Launched β€” the Campaign Manager launches the campaign across the target ad platforms.
  9. 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

PlatformAPI TypeAuth MethodRate LimitData Sync
Google AdsRESTOAuth 2.015k/day15 min
Facebook AdsGraph APIOAuth 2.0200/hr15 min
LinkedIn AdsRESTOAuth 2.0100/min30 min
Google AnalyticsRESTOAuth 2.050k/day15 min
HubSpotRESTAPI Key100/10sReal-time
SalesforceRESTOAuth 2.0100k/day30 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 --reload

The service exposes a health check at http://localhost:18792/health.

Tech Stack

ToolPurpose
Python 3.11+Language
FastAPIAPI service
isA Agent SDKAgent framework (SwarmOrchestrator)
PostgreSQLCampaign data, analytics storage
RedisCache, sessions
QdrantVector embeddings for content/audience
NATSInter-agent messaging
MinIOReport 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 development

Roadmap

VersionTargetFeatures
v0.1.0 (MVP)Q1 2026Basic campaign analysis, performance reports, segment analysis, orchestrator routing
v0.2.0Q2 2026Conversion tracking, executive summaries, PDF export, cohort analysis, multi-step workflows
v1.0.0Q3 2026Full feature set, advanced attribution, targeting recommendations, A2A protocol integration