> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inklyai.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# interactive-demo

> Interactive product demos that live in your repo. Record a real product flow, turn it into a click-through walkthrough, and publish it anywhere.

`interactive-demo` makes interactive product demos that live in your repo. Record a real product flow, turn it into a click-through walkthrough, and publish it as a link or embed. Your agent can capture the flow, write the copy, and maintain the plain files as your product changes.

> [!NOTE]
>
> `interactive-demo` is an open-source tool, separate from the hosted Inkly demo agent the rest of these docs cover. It makes click-through demos as plain files in your repo. You host them yourself, or publish them to `interactive-demo.inklyai.dev` with one command.

[interactive-demo launch video](https://www.youtube.com/embed/Mus1gXwJIJU)

## Try it

This demo was made with `interactive-demo`, about `interactive-demo`. Click through it, or [open it on its own page](https://interactive-demo.inklyai.dev/p/AMrDQaVQfiHtHbkRhcI9Ew).

[interactive-demo showcase](https://interactive-demo.inklyai.dev/p/AMrDQaVQfiHtHbkRhcI9Ew?embed=inline)

> [card] [GitHub](https://github.com/inkly-ai/interactive-demo)
>
> The source, MIT licensed.

> [card] [npm](https://www.npmjs.com/package/@inkly-org/interactive-demo-cli)
>
> `@inkly-org/interactive-demo-cli`

## What you get

A demo is screenshots or short clips of your real product with hotspots on top. A viewer clicks through it at their own pace.

* **Your agent does the work.** The [agent skill](https://docs.inklyai.dev/open-source/agent-skill.md) teaches Claude Code, Codex, or another agent the whole loop: scaffold, capture, write the copy, validate, publish. Ask for "a demo of our onboarding flow" and review the result.
* **Plain files in your repo.** A demo is a `demo.config.json` and an `assets/` folder. There is no manifest to keep in step. Your agent edits it like any other file, the diff is reviewable, and when the product changes the agent can re-capture the screens and fix the copy.
* **Two ways to capture.** From the terminal, `capture start` opens Chrome and every click becomes a step. Or record in your own browser with the [Chrome extension](https://docs.inklyai.dev/open-source/capture.md#the-chrome-extension) and import the zip.
* **An editor for people.** `dev` serves a [local editor](https://docs.inklyai.dev/open-source/editor.md) that writes straight back to the same files: hotspots, zoom, blur, covers, voiceover.
* **One command to a link, or host it yourself.** `publish` puts the demo online and prints its URL. `build` writes a self-contained folder for any static host. The embed snippets are identical either way. Only the origin differs.
* **A React component too.** Render `<Demo>` and `<DemoModal>` inside your own React app.

## Start here

> [card] [Quickstart](https://docs.inklyai.dev/open-source/quickstart.md)
>
> Scaffold a project, capture your product, and ship a link.

> [card] [Use your agent](https://docs.inklyai.dev/open-source/agent-skill.md)
>
> Install the skill and ask for a demo.

> [card] [Capture](https://docs.inklyai.dev/open-source/capture.md)
>
> Record from the CLI or the Chrome extension.

> [card] [Share and embed](https://docs.inklyai.dev/open-source/embedding.md)
>
> Send a link, frame the page, or render it in React.

## Packages

| Package | npm | What it is |
| - | - | - |
| `packages/cli` | `@inkly-org/interactive-demo-cli` | `init`, `dev`, `capture`, `validate`, `build`, `embed`, `login`, `publish` |
| `packages/runtime` | `@inkly-org/interactive-demo` | The React player, the demo schema, and the self-contained `player.js` |
| `packages/editor` | not published | The local editor, built into the CLI and served by `dev` |

## Requirements

* **Node.js 20 or newer.**
* **Google Chrome or Chromium** for `capture`. It is found automatically, or pass `--browser`.
* **`ffmpeg` on `PATH`** for video steps only. Without it, every step is a still.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.