Fig. 02 · Support systems / SDK

Supo

AI support that knows when to bring a person into the conversation.

My role
Stable customer identity in the widget SDK; agent notifications in the chat flow
Stack
TypeScript, Next.js, AI SDK, PostgreSQL, Ably
Status
Alpha

§ 01

The problem

Most support bots fail the same way: they keep answering after they’ve stopped helping. The customer asks for a person, gets transferred, and explains everything again to someone who can’t see what the bot said.

Supo starts from the other end. The AI handles what product knowledge can answer, and when it can’t, the conversation changes hands — same thread, same history, new responder.

§ 02

System drawing

Conversation · AI → human, same threadDwg SP-002
  1. T+0Customer askswidget · stable identity
  2. T+1Knowledge retrievedproduct context
  3. T+2Reply streamsAI SDK
  4. T+3Human takes overagent notified · Ably
Keep the context. Change the responder.

§ 03

How it came together

Scroll to step through · Mine = my work

  1. Stage 1

    A widget that answers

    The widget mounts on a host page and returns a model reply.

    + widget mounts on the host page+ message → model reply
    Support
  2. Stage 2

    Answers come from product knowledge

    Replies are grounded in the product’s own knowledge and stream as they are generated.

    - generic model reply+ retrieve product knowledge, then stream
    Support
  3. Stage 3Mine

    A person can take over

    Stable identity plus real-time notifications make the AI-to-human handoff possible without losing the thread.

    + stable customer identity in the SDK+ notify an agent on handoff
    Support
  4. Stage 4

    Hosts choose how much UI they own

    The SDK ships as a React component and as a headless client.

    + React entry point+ headless entry point
    Entry points

§ 04

Decision log

  1. D-01

    The thread survives the handoff

    A human agent joins the existing conversation instead of starting a new ticket, so the customer never repeats themselves.

  2. D-02

    Identity before intelligence

    The widget SDK keeps a stable customer identity, so a returning visitor reconnects to their own conversation rather than opening a blank one.

  3. D-03

    Notify people in real time

    When a conversation needs a person, an agent hears about it immediately over a real-time channel, and the customer is told someone is coming.

  4. D-04

    Two entry points

    A React component for hosts that want a drop-in widget, and a headless client for hosts that want to own every pixel.

§ 05

What I built

  • Stable customer identitypublished widget SDK
  • Agent notificationschat handoff flow