Skip to main content

Turn AI agent QA runs into shareable slideshows.

Project description

agentclip

Turn your AI agent's QA runs into shareable clips.

PyPI Python CI License: MIT

Your AI agent drives the browser. AgentClip captures the moments that matter, screenshots and captions, and ships you back a single URL anyone can watch.

The product is the artifact (the clip URL) plus the prompt engineering (the bundled skill) that makes generated runs actually good. The backend, MCP plumbing, and CLI are commodity.

Live demo: https://agentclip.dev

Status

Built in May 2026. Early. APIs may shift before a 1.0 tag.

Install

pip install agentclip

That's it. The first time agentclip runs, lazy first-run setup wires the bundled Claude Code skill, downloads browser drivers if you'll need them, and writes a marker so subsequent invocations are instant.

Or run with no install:

uvx agentclip --help

60-second example

Ask your agent in plain English (Claude Code, Claude Desktop, or any MCP-aware client):

QA the signup flow on localhost:3000 and post a clip.

The agent calls slideshow_create, captures screenshots after each meaningful action, calls add_slide with active-voice captions, then set_summary at the end. You get back a share URL plus an edit URL for caption fixes later.

Or use the CLI directly:

agentclip slideshow create --title "Signup QA" --description "fresh-user flow"
agentclip slideshow add <slideshow_id> /tmp/shot1.png --caption "Clicked Sign Up. Form posted."
agentclip slideshow summary <slideshow_id> "Signup passed. One real bug at slide 4."

# Recover or rotate the edit URL later:
agentclip edit-url <share_token>
agentclip rotate <share_token>

MCP install (Claude Desktop, Claude Code, Cursor)

Add to your claude_desktop_config.json (or equivalent):

{
  "mcpServers": {
    "agentclip": {
      "command": "uvx",
      "args": ["agentclip-mcp"]
    }
  }
}

Restart your agent runtime. The four tools below will register automatically.

Tools

Tool Description
slideshow_create Start a clip. Returns id, share URL, and a write_token used for subsequent mutations.
slideshow_add_slide Append a screenshot + caption. The local state store auto-supplies the write_token.
slideshow_update_slide Replace the image and/or caption of a slide already in the clip.
slideshow_set_summary Set the clip's TL;DR, near the end of the run.

Configuration

Env var Purpose Default
AGENTCLIP_BASE_URL Backend URL. Override for self-hosted. https://agentclip.dev
AGENTCLIP_STATE_PATH Write-token cache file. ~/.agentclip/state.json

Layout

  • src/agentclip/sdk.py: AgentClipClient, sync HTTP client over httpx
  • src/agentclip/cli.py: agentclip ... Typer CLI, thin wrapper over the SDK
  • src/agentclip/mcp_server.py: MCP server registering the four tools
  • src/agentclip/state.py: atomic-write ~/.agentclip/state.json for write_tokens
  • src/agentclip/skill/SKILL.md: the bundled agent skill

Self-hosting the backend

Companion repo: ericelizes1/agentclip — the platform monorepo with the Django API and Next.js frontend. Reference deploy is Fly.io apps + Neon Postgres + Cloudflare R2 object storage, with secrets sourced from 1Password; docker compose up --build covers any Docker host. Point AGENTCLIP_BASE_URL at your domain. Full guide at docs.agentclip.dev/self-hosting.

Development

uv sync --all-extras --dev
uv run pytest -q
uv run ruff check .

See CONTRIBUTING.md for the contributor guide. CI runs lint + format + tests across Python 3.11/3.12/3.13 on every PR.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentclip-0.1.0.tar.gz (86.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentclip-0.1.0-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file agentclip-0.1.0.tar.gz.

File metadata

  • Download URL: agentclip-0.1.0.tar.gz
  • Upload date:
  • Size: 86.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Nobara Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentclip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3f780572ac85e7984a8e4a4f6f6f435adaf49591bac087efe9bf4190757dd115
MD5 47cc13d734f28d16877cf4c4bdc05ed9
BLAKE2b-256 f3a79d85030befe59528a21979c8474125b0fdce5c4dd77288f1ea4630877f16

See more details on using hashes here.

File details

Details for the file agentclip-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentclip-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Nobara Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentclip-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c38212a9cb1875b8ea35dcb56dc9e7ab9664677becc0c47a9d65dbaf074fc2e
MD5 1da1b1d95df39c5d975a8ff7c817378b
BLAKE2b-256 5592f95d9a6d4a9c723d5355bcbbd1cbeffb08125ce7a86859557e46b8418675

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page