What this agent helps you do
A Turbopuffer and PostHog search analytics agent improves search quality by combining retrieval diagnostics with user behavior. Turbopuffer supplies vector and full-text search context, ingestion state, schemas, and query behavior, while PostHog supplies product analytics, events, funnels, replays, and session evidence.
When to use this workflow
Use it for semantic search, marketplace search, knowledge retrieval, support deflection, or any search experience where relevance issues need both system and user evidence.
How Turbopuffer and PostHog give the agent context
Connect both plugins and define the search experience, index, or query class. Turbopuffer should show how retrieval behaves; PostHog should show whether users succeed. Ask the agent to separate backend search issues from UX or instrumentation gaps.
Example starter prompt
Review Turbopuffer search behavior for this index and compare it with PostHog usage data. Prepare a search quality brief with retrieval diagnostics, user evidence, likely causes, recommended fixes, and validation metrics.
Suggested workflow steps
Start with query patterns, ingestion health, schema risks, and result concerns in Turbopuffer. Have the agent inspect PostHog events, funnels, replays, and errors to see whether users reformulate, abandon, or click poor results.
Expected handoff
Ask for user evidence, retrieval diagnostics, likely causes, UX or instrumentation gaps, recommended fixes, and validation metrics.