Agent API DocsSections and machine-readable references
Agent Setup
MCP and SKILL.md
Expose Restory workflows to agent environments through a local skill and agent-readable command examples.
Skill install
Restory ships an agent skill at `skills/restory-agent/SKILL.md`. Publish it through your skill distribution flow so agents can discover commands and examples.
npx skills add yourorg/restory-agentAgent behavior
The skill instructs agents to discover capabilities, check credits, submit jobs, poll completion, and return result URLs.
MCP direction
The current production surface is API keys plus CLI/skill. An MCP server can wrap the same endpoints with tools such as `restore_photo`, `generate_image`, `generate_video`, and `get_job`.
Safety rules
Agents should never print API keys in user-facing output, should check credits before batches, and should poll jobs instead of assuming synchronous completion.