Back to Copilotkit

Interactive flows

showcase/shell-docs/src/content/docs/channels/interactive/index.mdx

1.64.1725 B
Original Source

These build on the UI library. Set up JSX and know how thread.post(<Card/>), callbacks, and component registration work first, then come back here for the flows where a component drives the conversation.

Two patterns:

<Cards> <Card title="Human-in-the-loop" href="/channels/interactive/human-in-the-loop" description="The agent posts an approve or cancel card and waits for the click before continuing." /> <Card title="Reactions" href="/channels/interactive/reactions" description="Run code when a user reacts to a specific card you posted." /> <Card title="Modals" href="/channels/interactive/modals" description="Open a form dialog, collect fields, and handle the submission." /> </Cards>