Skip to content
GitHub (opens in a new tab)

Assistant start

An assistant's start page: a greeting with the key figures, prompts that send, and the connected apps answers come from.

Install

Not exported from agentic-ds-kit. add copies the source into your app (components/patterns/assistant-start/) with this contract beside it, and the app-shell example it renders into components/patterns/app-shell/ (kept if you already have it). You own the copies: pass your nav through shell, replace the greeting, figures, prompts and apps, wire onSend, onReconnect and onAsk, and keep the must lines.

npx agentic-ds-kit add assistant-start

Also copies app-shell beside it, which this pattern builds on (kept if you already have it).

Usage

import { AssistantStartPattern } from "@/components/patterns/assistant-start";

<AssistantStartPattern state="ready" onSend={send} onReconnect={reconnect} />

What a copy keeps

The contract’s must lines: the kit look and accessibility. Ask before breaking one.

  • Use kit components from agentic-ds-kit for anything the kit has; no local cousins (composers, prompt chips, app rows, status pills)
  • Semantic tokens only (agentic-ds-kit/tokens.css); no raw hex, no primitive --color-* ramps
  • At most one appearance="solid" mode="primary" Button per view: Chat's Send
  • Do not restyle kit components; change them through their props, slots, and tokens
  • Render the page content inside a main landmark; SideNav is the nav landmark when wide and sits in a kit Drawer, opened by a named Menu Button, when narrow
  • The assistant is one kit Chat with embedded, composerLabel and suggestionLayout grid; suggestions are ChatSuggestion objects, not a local grid of buttons, and the composer is Chat's, not a local input
  • Each app's status is a Badge word, never colour alone; a failed reconnect says in words what answers skip
  • While data loads, pass Chat loading and put aria-busy on the Card with Skeleton rows

Defaults you can change

  • Demo is Northwind's billing assistant for Maya Chen: October MRR, overdue invoices, next run, four prompts with icons
  • Connected apps: Stripe (Connected) and QuickBooks (Sign-in expired, Reconnect)
  • Card size sm, flush, with Ask (outline neutral, MessageCircle) as its header action and a flush ListView
  • Below --grid-breakpoint-md the column keeps the 24 inset, the intro and figures shorten, the Card drops its description, and the app rows are ListView size lg with Reconnect QuickBooks full width under its row

Built from

  • Component
    →

    Chat

    Assistant panel with a header, a thread, and a composer.

  • Component
    →

    Drawer

    Edge panel for secondary tasks.

  • Component
    →

    SideNav

    Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).

  • Component
    →

    Card

    Framed tile with optional header, body, and footer actions.