Measure, fix and prove activation for AI agents

Your agent passes every eval and most users still quit before their first successful task. FirstFlow shows you where they fail, fixes it inside the chat, and hands you the receipts.

[Works with any AI agent stack]

Get started

[The blank box]

The empty text box.Where retention dies.

No menus to explore. No buttons to discover. Users type one thing, get one mediocre answer, and leave — never learning your agent could have done the whole job.

01This is your onboarding, currently.

Replit
OpenAI
Anthropic
Activepieces
LangChain

Works with any AI agent stack

Vercel

[How it works]

Stop maintaining.Start self-improving.

We read every conversation, surface what's frustrating users and driving churn.

Your agent's chat

01 MeasureFour turns, no file. The trace says success.

Evals — what Firstflow sees

topicdata export
task_completion12
user_friction74
agent_confusion41
response_quality55
user_satisfaction23

Activation score: 31 — and falling.

From intents to self-improvementon autopilot

Your analytics stack was built for pages and clicks.

FirstFlow understands conversations — and acts on them, right inside the chat.

What Firstflow does

Activation that adapts as fast as you ship.

One layer, inside the conversation. Your onboarding shouldn’t break when your product does Firstflow keeps it running.

In-chat onboarding

Checklists, tours, and guidance delivered by your agent, inside the conversation. The user never gets pulled out of the chat.

In-chat surveys

Ask the right question at the right moment. NPS, CSAT, or custom. Capture answers without a single popup.

Announcements

Ship product updates where users already are. Contextual, in-chat digests instead of email no one opens.

Contextual guides

Your agent reads where the user is and surfaces the right guidance at the right moment. No scripted flows, no guesswork.

Conversation analytics

Every session is classified by topic, intent, and sentiment with ratings, drop-off, and time-to-first-value.

User retention tracking

See which users are activating, where they drop off, and what turns a first session into a habit.

[One SDK, every experience]

Every in-chat experience, from one layer.

Integrations

Drop it in with one line

Works with Next.js, React, Vue, NestJS, OpenAI, and Anthropic. Install the SDK on the frontend, wrap your LLM on the backend, and every call streams into Analytics & Sessions.

Install the SDK

Add the Firstflow client to your project.

Next.jsnpm install @firstflow/nextjs
app/chat/page.tsx
1"use client";
2import { useRef } from "react";
3import { FirstflowProvider, FirstflowWidget } from "@firstflow/nextjs";
4
5export default function ChatPage({ user, sessionId }) {
6 const composerRef = useRef(null);
7
8 return (
9 <FirstflowProvider
10 publishableKey={process.env.NEXT_PUBLIC_FIRSTFLOW_PUBLISHABLE_KEY!}
11 agentId="agt_8Kd2xQ"
12 conversationId={sessionId}
13 user={{ id: user.id, traits: { plan: user.plan } }}
14 >
15 <FirstflowWidget composerRef={composerRef} />
16 <Composer ref={composerRef} />
17 </FirstflowProvider>
18 );
19}

Open source. Self-hosted. Yours.

Run the whole platform dashboard, API, and SDKs on your own infrastructure, with every conversation in your own database. Or skip the ops and use FirstFlow Cloud. Same code, no lock-in.

StarYour own databaseNo vendor lock-in

One import, and your agent starts onboarding, measuring, and retaining users today.

FAQ

Firstflow is an onboarding and activation layer built for AI agent products. Instead of static tooltips or generic walkthroughs, it delivers personalized onboarding, surveys, announcements, issue reporting, and feedback directly inside the chat where your users already interact with your agent.

Traditional tools overlay popups, modals, and banners on top of your UI that interrupt the user. Firstflow works inside the conversation: your agent guides users, collects feedback, announces features, and handles issue reports all within the chat they already trust. No context switching, no extra UI chrome.

Teams building AI agent products a support agent, a coding assistant, a sales copilot, or any chat-based AI. If your users interact with an agent, Firstflow helps you onboard them, collect insights, and drive activation without building it all from scratch.

Firstflow detects attributes like role, plan, and behavior to customize the flow. A Product Manager sees a different first-run experience than a Developer each user gets a checklist, capability recommendations, and guidance tailored to how they'll actually use your agent.

Most teams are live in an hour. Firstflow provides a lightweight SDK that sits alongside your existing agent framework. You define flows, surveys, and announcements in the dashboard, and the agent delivers them automatically based on your targeting rules. No rearchitecture required.

Yes. Firstflow tracks completion rates, drop-off points, survey responses, feedback sentiment, and time-to-first-value per user segment so you can see which flows drive activation and where to optimize, all from a single dashboard.

Every session is classified by topic, intent, and sentiment, with session ratings, drop-off, and time-to-first-value. You see not just that users onboarded, but how they're actually using your agent, so you can act on real conversation data.

Yes. Firstflow is open source. Run the whole platform, the dashboard, API, and SDKs, on your own infrastructure with your own database, or use Firstflow Cloud. It's the same SDK either way, with no vendor lock-in.