๐ 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
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
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 .