Setup
Install and authenticate once on the machine your agent runs on:Tell your agent about it
Add a note to your project’s agent instructions (CLAUDE.md, Cursor rules, etc.):
Why this works well for agents
- Self-describing schemas.
agenthook tools(backed byGET /api/v1/tools) prints every argument, type, default, and enum — the agent never has to guess or memorize the API. - Local pre-validation. The CLI checks everything deterministically checkable — enum values, prompt length caps, references without the
owns_referencesattestation — before any network call, and fails with a message the agent can read and self-correct from. No credits are spent on malformed requests. - Submit–poll handled for you.
runblocks until the media is ready and prints the URL — one command, one result, no polling loop for the agent to write. - Searchable memory.
agenthook list --search "..."full-text-searches past runs (prompt, enhanced prompt, transcript), so an agent can reuse yesterday’s video instead of paying to regenerate it.
No CLI? Use HTTP directly
Everything the CLI does is plain REST — agents that only speak HTTP can hit the API directly:GET /api/v1/runs/{run_id} until completed. See the Quickstart for the full flow.
Coming later
- MCP server — the same three tools over the Model Context Protocol, for MCP-native clients.
- Skill pack — installable agent skills that wrap the CLI with usage guidance.
GET /api/v1/tools, same as the CLI — one schema source, no drift.