Live friction detection
Repeated retries, vague prompts, abandoned tasks, angry replies. Flagged the moment they happen.
FirstFlow reads every session, finds where users get lost, guides them back in real time. No deploy. No PR. The fix happens inside the conversation
[Runtime for self-improving AI agents]
Get startedFirstFlow reads every session, finds where users get lost, guides them back in real time. No deploy. No PR. The fix happens inside the conversation
[Runtime for self-improving AI agents]
Get started[]
No one knows what to type at beginning of the conversation
01 — This is your onboarding, currently
[]
Behavioral detectors that flag what's happening in your sessions — with the exact quote that triggered them.
User threatening to cancel or asking to export data
User rephrasing the same request, going in circles
User asking for something the agent can't do
Hallucinated facts, contradicted itself mid-conversation
Signals › Signals
Behavioral detectors that auto-flag user & agent patterns — with the exact quotes that triggered them.
User expressing frustration with the product, threatening to cancel or downgrade, or asking how to export their data.
Conversations matching churn signal
I need to export all my conversations before I cancel
sess_a8f3k2m9
how do I download everything and close my account?
sess_p22n8w4x
this isn't worth $49/mo — I'm done after this month
sess_k91d3v7q
What Firstflow does
One layer, inside the conversation. Your onboarding shouldn’t break when your product does Firstflow keeps it running.
Repeated retries, vague prompts, abandoned tasks, angry replies. Flagged the moment they happen.
Your agent steps in when a user is stuck: explains, shows an example, or just does the task for them.
How many users got rescued, which guides did it, how much faster they hit their first win.
See which first sessions turn into habits, and which save made the difference.
Checklists and first-run guidance, delivered by your agent. No popups.
Ask questions and ship updates inside the conversation users already trust.
Ready?
Get started[One SDK, every experience]
Integrations
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.
npm install @firstflow/nextjs1"use client";2import { useRef } from "react";3import { FirstflowProvider, FirstflowWidget } from "@firstflow/nextjs";45export default function ChatPage({ user, sessionId }) {6const composerRef = useRef(null);78return (9<FirstflowProvider10publishableKey={process.env.NEXT_PUBLIC_FIRSTFLOW_PUBLISHABLE_KEY!}11agentId="agt_8Kd2xQ"12conversationId={sessionId}13user={{ id: user.id, traits: { plan: user.plan } }}14>15<FirstflowWidget composerRef={composerRef} />16<Composer ref={composerRef} />17</FirstflowProvider>18);19}
Self-host dashboard, API, and SDKs every conversation in your database. Or use FirstFlow Cloud. Same code, no lock-in.
One import, and your agent starts onboarding, measuring, and retaining users today.
FirstFlow is a runtime that reads every AI agent conversation in real time, flags where users get stuck or where the agent fails, and guides the user back inside the same chat. No popups, no PR, no waiting for the next deploy. It also surfaces signals: churn risk, confusion loops, hallucinations, hidden feature requests, each tied to the exact quote that triggered it.
Traditional tools overlay popups, modals, and tooltips on top of a UI, built for pages and buttons. AI agents don't have those. FirstFlow doesn't overlay anything: it reads the conversation itself, in real time, and intervenes inside the chat when a user stalls, gets confused, or misses something the agent could've done. The fix happens in the same message thread, not in a separate onboarding layer.
Teams shipping a chat-based AI product, a support agent, a coding assistant, a sales copilot, or any LLM-powered product where users type instead of click. If some of your users quit before getting value, FirstFlow shows you exactly where and why, and acts on it inside the session.
Every conversation runs through a set of behavioral detectors: churn signals, confusion loops, hallucinated answers, competitor mentions, hidden feature requests, and more. Each detection comes with the exact quote that triggered it, so you're reading the moment it happened, not a sentiment score.
Most teams are live in under an hour. Install the frontend SDK, wrap your LLM call on the backend, and every session starts streaming into FirstFlow. No rearchitecture, no separate flow builder to learn first.
Every session is read for topic, intent, friction, and the specific signals it triggers. You see where users stall, what they ask for that your agent can't do, and where the agent itself fails, not just that activation dropped, but the exact turn where it happened.
Yes. FirstFlow is open source. Run the whole platform, dashboard, API, and SDKs, on your own infrastructure with your own database, or use FirstFlow Cloud and skip the ops. Same SDK either way, no vendor lock-in.