Components / AI components / Tools & execution
ExecutionExperimental alpha

ChainOfThought

Public, host-reported steps of a run with sources per step.

ChainOfThought preview

Loading example…

Interactions use local sample data.

Usage and props

Report steps the host actually took. Source links render only for http(s) URLs.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

steps · title? · open? · onOpenChange?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard