Skip to content
Projects

chapter-dev-pty-ltd/product-demo-agent-toolkit

View on GitHub

About

A toolkit to make beautiful product videos locally with your own agent.

Design & Media

How these counts are measured

What you can do

  • Human feeling movement and navigation
  • Voiceovers sync naturally to actions
  • Highlight specific DOM elements
  • Smooth camera zoom and panning

Measured star growth

in 24h
0
in 7 days
+32
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Chapter product-demo-agent-toolkit

npm version License: MIT

A toolkit to make beautiful product videos with your own agent

Create product videos that your customers love, with your own AI agent, and let the toolkit handle all of the common issues that agents run into while creating demos.

Asking Claude to film a demo of setting a ticket to Done: your agent records the app with the toolkit, and the finished video lands back in the chat

Quickstart

npx @chapterdev/product-demo-agent-toolkit setup

Now ask your favorite agent to:

Make me a walkthrough video of my product running locally, showcasing the sign up flow.

Why do I need a toolkit?

Although your agent can drive your browser and navigate your product, we've found that it makes certain decisions that just aren't acceptable if you want to send these videos to customers, such as:

  • It moves like a robot. The pointer jumps from place to place, text appears all at once, and nothing pauses for the viewer. The toolkit moves the pointer the way a hand does, types at a person's pace, and gives each result a moment on screen.
  • It doesn't know when the page is ready. It either waits too long, filling the video with dead air, or acts too early, mid-load. The toolkit watches the screen itself, so it waits for what's loading and not a moment longer.
  • Unnatural narratives. Left to itself, an agent makes up scenarios no real user would go through, with made-up data and steps that don't match how your product is used. The toolkit has it explore your app first, then write a script you can read and edit.
  • Voiceovers are out of sync. Narration added afterwards never lines up. Here, the lines are spoken first and every click, keystroke and drag lands on its word.

So we built a toolkit to address these issues and much more.

Tasteful Defaults

The cursors (macOS, black, pink, lime, and any hex colour with an Agent label) and some of the backgrounds (dusk corners, sky, halo, citrus corners, peach dawn and glacier wave)

As well as:

  • Background music that doesn't put your audience to sleep.
  • Frames (browser, rounded borders).
  • Cursor movement that feels like a real human.
  • Real clicking & typing sounds.
  • 1080p at 60fps.

Studio

The studio open in a browser: the video with its timeline of pages, clicks, music and highlights, and a chat where Claude Code changed the cursor to purple without a reshoot

The toolkit also comes loaded with a lightweight editing studio for you to make quick changes to the videos you create. Easily see how configuration changes look without reshooting.

You can also chat with your own local agent and see the changes it makes to the video in real time.

Your agent opens it for you, or open it yourself with product-demo-agent-toolkit studio <video>.

Customizable Config

The toolkit is ready to roll by default, but if you want to customize it, you can do that too! For example:

{
  "backdrop": "/backdrop.png",
  "display": "browser",
  "cursor": { "style": "#2855DB", "size": 1.25, "label": "Agent" },
  "sound": { "click": true, "typing": false },
  "music": { "track": "lofi", "volume": 0.3 }
}
Setting Default Takes
backdrop "sky" One of our 22 backdrops by name (your agent knows them), a hex colour like "#f4f1ea", or your own .jpg, .png or .webp.
display "none" "none", the app on the backdrop as it is, or "browser", in a browser window with an address bar.
window { "width": 1600, "height": 900, "fill": 0.92 } The app's size in the browser, how much of the video it fills, and optionally x and y: its top-left corner in the 1920×1080 video (centred when left out; negative or past the edge lets it hang off).
cursor "black" "black", "pink", "lime", "macos", a hex colour, or your own .svg. Or an object: style, size (0.5 to 3), label, and tip ([x, y], for your own SVG).
sound true Click and typing sounds: true, false, or { "click": true, "typing": false }.
music false "lofi", your own .mp3, .m4a, .aac, .wav, .ogg or .flac, or { "track": "lofi", "volume": 0.4 } (0.25 by default). Looped if the video runs longer, faded out at the end.
voice Jessica, from ElevenLabs Who speaks the voiceover: { "provider": "elevenlabs", "voice": "<voice id>" }, and optionally a "model".
mode "just_do_it" When something is unclear, make the best choice and note it. "ask" stops and asks instead.
keep 5 How many rehearsals and takes of each video to keep.
review false Whether cut also makes the review image.

Each video is a folder of its own in ~/.product-demo/videos, named by a short id, with its film, its takes, its cut and its studio chat. It takes a copy of the default look into its own look.json when it's made, so changing the default never changes a video you've already made. Paths in a look are relative to the file they're in.

Features

  • Human feeling movement and navigation
  • Voiceovers sync naturally to actions
  • Highlight specific DOM elements
  • Smooth camera zoom and panning
  • Tasteful cursors, backdrops and audio defaults
  • Handcrafted skills for how to produce great videos
  • Built-in review infrastructure
  • High definition recording functionality

And much more.

Coming soon

  • Support for Safari and Firefox (currently only Chrome)
  • More tasteful defaults
  • Support for mobile product demos

For AI agents

Asked to make a video with this toolkit? Don't clone this repository: the toolkit runs from its npm package, not from source.

  1. Run npx @chapterdev/product-demo-agent-toolkit setup. It installs the product-demo-agent-toolkit command and the product-demo skill, and prints where the skill went.
  2. Read that skill's SKILL.md and follow it, in the user's project and in this session.

Licence

MIT. The sounds are CC0, credited in library/README.md.

Explore related projects

Loading…