CertPrep
Case study · fictional company

Tidewater Analytics

An enterprise SaaS company whose in-product assistant answers questions for 600 business tenants, grounded in each tenant's own documents and dashboards, with per-tenant plans and quotas.

The business

Tidewater Analytics, based in Austin, Texas, sells a business-intelligence platform to 600 tenants, from 20-person firms to enterprises with 30,000 users. Its assistant, Tide, answers questions about a tenant's dashboards and uploaded documents, and can create saved reports.

Systems in production

ComponentWhat it does
Tide assistantAgent with tools search_docs, query_metrics, create_report and share_report
RetrievalHybrid index (embeddings plus keyword) over 4.5 million tenant documents, rebuilt nightly
GatewayAuthenticates tenants, enforces plan quotas, routes to the Claude API, logs usage
MCP serversAn internal metrics server, plus a third-party CRM connector that 140 tenants enable

Plans: Starter (200,000 tokens per user per month), Business (1 million) and Enterprise (contracted). Tenants are billed for overage at month end.

Measured baseline

  • Traffic: 9 million requests a month; peaks at 1,800 requests a minute on Monday mornings.
  • Answers with at least one citation: 88%. Groundedness measured on a sample: 91%.
  • p95 total latency: 11 seconds against a target of 8 seconds. Retrieval 1.2 s, reranking 2.4 s, generation 6.5 s.
  • Cache hit rate on the shared system prompt: 22%.
  • Monthly Claude spend: $310,000, growing faster than tenant count.

Recent events

  • One tenant's bulk report job consumed most of the organization's rate limit for two hours on a Monday, and other tenants' requests were rejected.
  • A prompt change shipped to all tenants at once raised the share of answers with a "Next steps" section, but analysts at two large tenants complained that answers now ignored their dashboard filters.
  • The CRM connector's vendor changed a tool's output format overnight; Tide's report creation failed for 140 tenants for six hours.

People

StakeholderCares most about
VP EngineeringReliability across tenants, no noisy neighbors
Head of ProductAnswer quality and adoption by tenant segment
CFOGross margin on Claude spend; overage billing that matches cost
Security leadTenant isolation; no cross-tenant data in answers

Exercises set here