Skip to content

๐Ÿ“Š Analytics Agent Specification

๐Ÿ“Œ Purpose

The Analytics Agent is responsible for designing analytics pipelines, managing event taxonomies, instrumenting analytics tracking, generating actionable insights from usage data, performing funnel analysis, and producing feature adoption reports across the ConnectSoft platform.

It ensures the platform has a rigorous, consistent, and actionable analytics foundation that powers data-driven decisions across growth, marketing, customer success, and product development.

๐Ÿงพ Growth without analytics is blind. This agent provides the eyes and measurement backbone that every data-driven decision depends on.


๐ŸŽฏ Primary Goals

Goal Description
๐Ÿ“Š Design analytics pipelines Define data collection, transformation, and storage pipelines for product analytics
๐Ÿท๏ธ Manage event taxonomy Maintain a consistent, governed event naming convention and property schema
๐Ÿ”ง Instrument analytics tracking Generate tracking code and configuration for product events across editions
๐Ÿ“ˆ Generate usage insights Analyze usage data to produce actionable reports on engagement, adoption, and retention
๐Ÿ” Perform funnel analysis Map and measure conversion funnels from awareness through activation and retention
๐Ÿ“ฆ Track feature adoption Monitor per-feature usage rates across personas, editions, and cohorts

๐Ÿง  Core Role in the Factory

The Analytics Agent sits within the Growth, Marketing, and Customer Success cluster as the measurement and insight engine. It provides the quantitative foundation that Growth Strategist, Customer Success, Onboarding, and A/B Testing agents depend on for data-informed decisions.


๐Ÿงฉ Position in the Growth, Marketing & Customer Success Cluster

Layer Cluster Description
๐Ÿ“Š Measurement Layer Growth, Marketing & Customer Success Provides analytics instrumentation and insight generation
๐Ÿ”— Data Foundation Supplies quantitative data to all growth and success agents
๐Ÿ“ˆ Insight Generator Transforms raw usage data into actionable reports and signals
flowchart TD
    DEPLOY[๐Ÿš€ Feature Deployed] -->|feature_deployed| ANALYTICS[๐Ÿ“Š Analytics Agent]
    SESSIONS[๐Ÿ“ก User Sessions] -->|user_session_data_aggregated| ANALYTICS
    ABT[๐Ÿงช A/B Testing Agent] -->|experiment_completed| ANALYTICS
    ANALYTICS --> GSA[๐Ÿ“ Growth Strategist Agent]
    ANALYTICS --> CSA[๐Ÿค Customer Success Agent]
    ANALYTICS --> OBS[๐Ÿ”ญ Observability Engineer Agent]
    ANALYTICS --> PB[๐Ÿ‘ค Persona Builder Agent]
    ANALYTICS --> ABT_OUT[๐Ÿงช A/B Testing Agent]
Hold "Alt" / "Option" to enable pan & zoom

โšก Triggering Events

Event Description
feature_deployed A new feature or module is deployed, requiring analytics instrumentation
user_session_data_aggregated Periodic aggregation of user session data is ready for analysis
experiment_completed An A/B test has concluded and requires analytics-driven outcome evaluation
funnel_regression_detected A significant drop in a conversion funnel stage triggers diagnostic analysis
analytics_taxonomy_review_scheduled Periodic review of event taxonomy for consistency and completeness

๐Ÿ“‹ Responsibilities and Deliverables

๐Ÿงฐ Key Responsibilities

Responsibility Description
๐Ÿ“Š Analytics Pipeline Design Define data collection endpoints, ETL processes, and storage schemas for product analytics
๐Ÿท๏ธ Event Taxonomy Management Maintain a governed event catalog with naming conventions, required properties, and validation rules
๐Ÿ”ง Instrumentation Generation Produce tracking code snippets, SDK configuration, and event schemas for frontend and backend
๐Ÿ“ˆ Insight Generation Analyze aggregated usage data to produce reports on engagement, adoption, retention, and churn
๐Ÿ” Funnel Analysis Define, measure, and diagnose conversion funnels across the user journey
๐Ÿ“ฆ Feature Usage Reporting Generate per-feature adoption reports segmented by persona, edition, and cohort
๐Ÿงช Experiment Analytics Provide statistical analysis for A/B test outcomes including significance, uplift, and confidence
๐Ÿง  Signal Routing Route analytical signals to Growth Strategist, Customer Success, and Persona Builder agents

๐Ÿ“ค Deliverables

Deliverable Type Description
๐Ÿ“Š analytics-report Structured insight report with metrics, trends, and actionable recommendations
๐Ÿ” funnel-analysis Conversion funnel visualization with stage-by-stage metrics and drop-off diagnostics
๐Ÿ“ฆ feature-usage-report Per-feature adoption metrics segmented by persona, edition, and time period
๐Ÿท๏ธ event-taxonomy.yaml Governed event catalog with naming, properties, and validation rules
๐Ÿ”ง instrumentation-config Tracking code snippets and SDK configuration for analytics events

๐Ÿ“˜ Example Output: Analytics Report

report_id: analytics-2026-q1-appointments
report_type: feature-usage-report
period: 2026-01-01 to 2026-03-31
edition: pro
module: AppointmentService

metrics:
  total_appointments_created: 145200
  unique_users: 3420
  avg_appointments_per_user: 42.5
  feature_adoption_rate: 78.3%
  mobile_vs_desktop_ratio: 0.62

funnel:
  - stage: landing_page_view
    count: 18500
    conversion: 100%
  - stage: signup_started
    count: 7200
    conversion: 38.9%
  - stage: onboarding_completed
    count: 4100
    conversion: 56.9%
  - stage: first_appointment_created
    count: 3420
    conversion: 83.4%

insights:
  - "Signup-to-onboarding drop-off is 43.1% โ€” onboarding complexity is the primary bottleneck"
  - "Mobile users create 35% more appointments than desktop users"
  - "Pro edition adoption rate is 12% higher than Lite for scheduling features"

recommendations:
  - target: onboarding_agent
    action: "Simplify onboarding flow โ€” reduce steps from 7 to 4"
  - target: growth_strategist_agent
    action: "Prioritize mobile-first onboarding experiment"

๐Ÿ“˜ Example Output: Event Taxonomy

taxonomy_version: "2.1.0"
events:
  - name: appointment.created
    category: feature_usage
    properties:
      - name: appointment_id
        type: string
        required: true
      - name: user_id
        type: string
        required: true
      - name: edition_id
        type: string
        required: true
      - name: source
        type: enum
        values: [web, mobile, api]
        required: true
      - name: is_recurring
        type: boolean
        required: false
    description: "Fired when a user creates a new appointment"
    module: AppointmentService

  - name: onboarding.step_completed
    category: lifecycle
    properties:
      - name: step_number
        type: integer
        required: true
      - name: step_name
        type: string
        required: true
      - name: duration_seconds
        type: number
        required: false
    description: "Fired when a user completes an onboarding step"
    module: OnboardingService

๐Ÿค Collaboration Interfaces

๐Ÿ”— Upstream Agents (Inputs)

Agent Input Provided
Customer Success Agent User lifecycle signals, CSAT/NPS data, churn indicators
Observability Engineer Agent Infrastructure metrics, error rates, performance data
A/B Testing Agent Experiment definitions, variant assignments, raw test data
DevOps Engineer Agent Deployment events, feature flag states, release metadata

๐Ÿ“ค Downstream Agents (Outputs Consumed By)

Agent Output Consumed
Growth Strategist Agent Funnel analyses, feature usage reports, and conversion metrics for strategy generation
Customer Success Agent Engagement drop signals, activation metrics, and retention analytics
Persona Builder Agent Behavioral analytics for persona enrichment and drift detection
A/B Testing Agent Statistical analysis of experiment outcomes and significance calculations
Onboarding Agent Onboarding funnel metrics and step-by-step drop-off analysis

๐Ÿ“Š Collaboration Flow

flowchart TD
    CSA_IN[๐Ÿค Customer Success] --> ANALYTICS[๐Ÿ“Š Analytics Agent]
    OBS[๐Ÿ”ญ Observability Engineer] --> ANALYTICS
    ABT_IN[๐Ÿงช A/B Testing] --> ANALYTICS
    DEVOPS[โš™๏ธ DevOps Engineer] --> ANALYTICS

    ANALYTICS --> GSA[๐Ÿ“ Growth Strategist]
    ANALYTICS --> CSA_OUT[๐Ÿค Customer Success]
    ANALYTICS --> PB[๐Ÿ‘ค Persona Builder]
    ANALYTICS --> ABT_OUT[๐Ÿงช A/B Testing]
    ANALYTICS --> OBA[๐Ÿงญ Onboarding Agent]
    ANALYTICS --> KM[๐Ÿง  Knowledge Management]
Hold "Alt" / "Option" to enable pan & zoom

๐Ÿง  Memory and Knowledge

๐Ÿ“š Pre-Embedded Knowledge

Domain Description
๐Ÿ“Š Analytics frameworks AARRR pirate metrics, cohort analysis, RFM scoring, product analytics best practices
๐Ÿท๏ธ Event taxonomy standards Segment, Amplitude, and Mixpanel naming conventions adapted for ConnectSoft
๐Ÿ” Statistical methods Hypothesis testing, confidence intervals, Bayesian analysis for experiment evaluation
๐Ÿ“ˆ Funnel modeling Multi-step funnel construction, drop-off diagnosis, and optimization patterns
๐Ÿงฉ ConnectSoft product model Module structure, edition capabilities, and feature-to-KPI mappings

๐Ÿง  Short-Term Memory

Capability Description
๐Ÿ“ Active analysis context Current dataset and report being generated with parameters and filters
๐Ÿ” Funnel definition state Active funnel stages being measured with intermediate metrics
๐Ÿงช Experiment evaluation context Current A/B test being analyzed with variant data and statistical calculations

๐Ÿง  Long-Term Memory

Memory Type Storage Purpose
๐Ÿ“Š Report archive analytics-reports/ + Vector DB Historical reports for trend analysis and comparison
๐Ÿท๏ธ Event taxonomy event-taxonomy.yaml Governed event catalog as the single source of truth
๐Ÿ“ˆ Funnel baselines funnel-baselines.yaml Historical funnel performance for regression detection
๐Ÿงฉ Feature metrics feature-metrics-index.yaml Per-feature adoption metrics over time for trend analysis

โœ… Validation

๐Ÿงช Validation Checks

Check Description
๐Ÿ“Š Data completeness Reports must include all required metrics with no null values for critical fields
๐Ÿท๏ธ Taxonomy compliance All instrumented events must conform to the governed event taxonomy
๐Ÿ” Statistical validity Experiment analyses must include significance level, confidence interval, and sample size
๐Ÿ“ˆ Funnel consistency Funnel stages must be sequential and conversion rates must be monotonically decreasing
๐Ÿงฉ Edition segmentation Reports must be segmented by edition when multiple editions are in scope

๐Ÿ” Retry and Correction

Scenario Correction
Incomplete data in report Request data backfill from Observability or re-aggregate from raw events
Taxonomy violation in instrumentation Flag non-compliant events and generate corrective instrumentation config
Statistically insignificant experiment result Recommend extending experiment duration or increasing sample size
Funnel anomaly detected Cross-validate with raw event data and infrastructure health metrics

๐Ÿ“Š Observability Hooks

Event Trigger Payload
AnalyticsReportGenerated New analytics report published reportId, reportType, period, editionId, traceId
FunnelRegressionDetected Significant funnel drop-off detected funnelId, stage, dropPercent, traceId
TaxonomyUpdated Event taxonomy modified version, eventsAdded, eventsDeprecated, traceId
ExperimentAnalyzed A/B test statistical analysis completed experimentId, winningVariant, uplift, significance, traceId
FeatureAdoptionAlert Feature adoption falls below threshold featureId, adoptionRate, editionId, traceId

๐Ÿงพ Summary and Positioning

The Analytics Agent is the measurement intelligence engine of the ConnectSoft platform, ensuring every growth decision is:

  • ๐Ÿ“Š Data-grounded with rigorous analytics pipelines and structured reports
  • ๐Ÿท๏ธ Taxonomy-governed with consistent event naming and property schemas
  • ๐Ÿ” Funnel-aware with conversion analysis and regression detection
  • ๐Ÿ“ฆ Feature-tracked with per-feature adoption metrics across editions and personas
  • ๐Ÿงช Experiment-ready with statistical analysis for A/B test evaluation
  • ๐Ÿ“ˆ Insight-driven with actionable recommendations routed to downstream agents

๐Ÿงฉ Position in the ConnectSoft Platform

flowchart TD
    PRODUCT_DATA[๐Ÿ“ก Product Data] --> ANALYTICS[๐Ÿ“Š Analytics Agent]
    ANALYTICS --> INSIGHTS[๐Ÿ’ก Actionable Insights]
    INSIGHTS --> GROWTH[๐Ÿ“ˆ Growth Agents]
    INSIGHTS --> SUCCESS[๐Ÿค Customer Success]
    INSIGHTS --> EXPERIMENTATION[๐Ÿงช Experimentation]
    ANALYTICS --> KM[๐Ÿง  Knowledge Management]
Hold "Alt" / "Option" to enable pan & zoom

Without this agent, decisions are opinion-based. With it, every growth strategy, onboarding flow, and feature investment is backed by rigorous, timely, and actionable data.