SKILL.md and Zap.md files a human would open, collect inputs declared in frontmatter, and run the pipeline through the same CLI commands available in a terminal. There is no separate “agent mode”; the skill directory is the interface for everyone.
Agent Contract
Every agent working with Zap must follow six rules:Read SKILL.md first
Before taking any action, load the skill’s
SKILL.md. It tells you when this skill is appropriate, what the recipe does, and where the executable frontmatter lives.Treat Zap.md frontmatter as executable recipe metadata
The YAML front matter in
Zap.md is the source of truth for steps, inputs, budget caps, providers, and output format. Do not invent steps that are not declared there.Keep prompts in prompts/*.md
All prompt text belongs in
prompts/ files. Reference them from step definitions rather than inlining prompt strings in code or in the tool call.Use deterministic run_zap or zap run for creator flows
When a user asks to run a known recipe, call
run_zap (or zap run from the CLI). Do not improvise undeclared steps for a production creator flow.Use primitive tools only for creative development or new recipe authoring
generate_image, generate_video, generate_audio, and related primitives are for exploration and new recipe development — not for substituting the deterministic creator path.Root Flow
The standard creator flow follows this sequence:Remote Skill Registry
Zap provides a hosted registry of published skills. Agents and the CLI can query it to discover and pull recipes:zap add <name> to copy a registry skill into your local agent/skills/ directory.
Agent Tools
The following tools are available to the Zap agent underagent/tools/. Each is implemented with defineTool from eve/tools and registered automatically by the Eve runtime.
| Tool | Description |
|---|---|
run_zap | Execute a Zap recipe deterministically from its frontmatter and return run metadata |
save_zap | Save an approved Zap.md recipe as a packaged Eve skill |
stitch_zap | Stitch generated video segments into Zap.mp4 inside the Eve sandbox using ffmpeg |
edit_video | Submit a video edit or ReViz request through the Zap provider router |
generate_image | Submit an image generation or image edit request through the Zap provider router |
generate_video | Submit a video generation or extension request through the Zap provider router |
generate_audio | Submit a voice, music, or SFX request through the Zap provider router |
extract_last_frame | Extract the last frame from a video inside the Eve sandbox using ffmpeg |
upscale_frame | Upscale a frame for ExtendGen conditioning |
get_run_status | Return the current status URL for a Zap run |
Zap Pipeline Grammar
The canonical pipeline follows:Skill directories follow a specific file convention. See agent/skills for the full format, frontmatter field reference, and instructions on adding registry skills.
