Product analytics for the AI era

Analytics your agents can run.

Ask Claude Code for last week's funnel and it runs truesight, reads the JSON, and hands back the answer. The /ts skill brings Codex and Cursor in too, to query retention, build cohorts, and stand up whole user journeys, all from the terminal on infrastructure you own.

Open source · hosted beta coming soon.

An agent driving TrueSight · illustrative
you ▸Show me last week's signup funnel, then build a cohort of everyone who dropped before upgrading.
truesight ▸funnels results 3f2a… --from -7d
truesight ▸cohorts create --body @drop-before-upgrade.json
{ "funnel": "Signup → Upgrade",
  "biggest_drop": "Invited Teammate",
  "rate": "39%" }
Cohort “Dropped before upgrading” created · 4,310 users
The agent layer

Drive it from the terminal, or from your agent.

TrueSight ships a real CLI. truesight outputs JSON by default, so you can pipe results into jq, drop them into CI, or hand them to a coding agent. Same commands, no adaptation. Install the /ts skill and your agent already knows your funnels, retention, cohorts, segments and events. Ask in plain language; it runs the commands and hands the numbers back.

Claude CodeCodexCursor
truesight funnels results

Query funnels, retention, cohorts, segments and events, and read structured JSON back. No screen-scraping a dashboard.

truesight journey create

Create, not just read. Agents build segments and funnels, and stand up user journeys from a prompt, then publish them.

--format json

JSON by default; add --format table for humans. Pipe into jq, drop into CI. A tool your agents already know how to call.

truesight skill install

Installs the /ts Claude Code skill, so Claude Code, Codex and Cursor pick up every command with no custom wiring.

Self-hosted, so every query runs against your own ClickHouse. Nothing leaves your infrastructure.

One honest path, end to end.

No black box. Every event follows the same route from SDK to query, and you run all of it. Project metadata lives in PostgreSQL 18; the React dashboard and a separate admin API read from the store.

SDKs + CLI
Web · Kotlin MP · Python+ truesight CLI
Ingestion API
Rust · Axum≤ 100 events / batch
AWS SQS
Durable event queuedecouples ingest & writes
CH-Writer
Batch consumerbulk-writes in order
ClickHouse
Columnar event storededup + retention you set

Fast by construction.

Events ingest through compiled Rust, with no garbage-collector pauses on the write path. Queries run on ClickHouse, a column-oriented engine built to answer analytical questions over enormous event volumes. Quick where it counts, and light on the machines you run it on.

Rust
ClickHouse

A few lines to your first event.

One typed API (init, track, identify) across web, mobile and your backend.

import { init, track, identify } from '@cityflo/truesight-web-sdk' await init({ apiKey, endpoint }) track('Project Created', { plan: 'pro', seats: 5 })identify('user_8f21', { email: 'you@company.com' })
npm install @cityflo/truesight-web-sdk

npm · ESM, CJS & UMD

Or grab the truesight CLI, prebuilt for 5 platforms.

Once events land, the same store powers 20+ views.

Explore them in the dashboard, or let an agent query them for you. Either way, it's one ClickHouse.

Example funnelillustrative data
Example retentionillustrative data

Where do users drop off?

Funnels · Journeys

Do they come back?

Retention · Cohorts

Who are they?

Segments · User profiles

What's happening right now?

Live events · Trends

Did the change work?

A/B tests · Pivots

Put it on a wall

Boards · Campaigns

Engineers own the pipeline; product owns the questions; and agents can run either.

Your data. Your infrastructure.

Encrypted before it leaves the device

AES-256-GCM at rest in every SDK: Web in IndexedDB, Android in the Keystore, iOS in CryptoKit.

Self-hosted, multi-tenant

Run the whole stack on your own infrastructure. Events are isolated by project UUID and never touch a third party.

Built on ClickHouse

A column-oriented store built for analytical queries over large event volumes, with deduplication and retention you control.

MIT-licensed, opening up soon.

When the open-source release is tagged, every line (pipeline, SDKs and CLI) is yours to read, fork and self-host.

GitHub · coming soon

Proven in production

Built at Cityflo, and running in production behind every Cityflo product.

TrueSight is the analytics layer Cityflo itself runs on. The same pipeline, SDKs and CLI you'd self-host power every Cityflo product in production today.

Be first into the hosted beta.

The SDKs and CLI are published; the platform is being prepared for release. Join the waitlist and we'll email you the moment your spot opens.