Yes, currently. v0.1 only supports PostHog (HogQL queries). v0.2 will add Mixpanel/Amplitude/GA4 adapters.
Yes, for AI agent work. Codex/Gemini CLIs are optional — pipeline auto-falls back to single-agent.
Yes for the data pipeline (Phase 1, 4, 7). No for the AI agent phases (2, 3) — those need an LLM in the loop.
Set POSTHOG_HOST=https://eu.i.posthog.com in .env.
funnel-optimize creates them in PostHog automatically. You need to add the useExperiment() (or equivalent) hook on your frontend.
- Without Triple-Agent: 5-10 minutes
- With Triple-Agent (claude+codex+gemini): 15-30 minutes (agents run in parallel, 30-min timeout each)
The collection window is configured per-project (DAU-derived) in automation.experiment_window_days. Winners apply as soon as min_sample_size + p<significance_level is met — earlier than the window if the data is decisive.
- They're A/B test platforms. funnel-optimize is an A/B test designer + decision automator that uses one of them (currently PostHog) as the underlying platform.
- They give you a UI to define experiments. funnel-optimize proposes the experiments based on data analysis + accumulated learning.
The pipeline is data-driven, so yes — Discovery mode probes your PostHog catalog and asks about your KPIs/DAU regardless of vertical. Patterns and target rates do differ across verticals; treat the defaults in funnel-config.example.json as a starting point.
Yes:
"multi_agent": {
"enabled": false,
"agents": ["claude"]
}- Check
.funnel-state/state.jsonfor active flag - Check PostHog → Feature Flags for active status
- Check
evaluation-result.jsonfor last decision - Run manual
--killto disable:node scripts/funnel-automation/evaluate-experiment.mjs --kill
- Build validation runs after every code change. Failure → auto-rollback.
- Security scanner blocks eval/innerHTML/external fetch.
- Guardrails block dark patterns (fake urgency/social proof).
- File whitelist (
allowed_files) prevents AI from touching auth/payment/business logic.
PRs welcome — see CONTRIBUTING.md. Especially needed: data source adapters, framework examples, better Discovery prompts.