Skip to main content
Pass skills in the config.skills parameter when executing agents:

Multiple Skills

Pass multiple skills in the config.skills array:

Inline Skills

Instead of referencing a server-stored skill by name, you can send the skill bundle directly in the request as a base64-encoded zip. The Python SDK provides AgentSkill.from_directory to build an inline AgentSkill from a local directory in one call:
AgentSkill.from_directory zips the directory, base64-encodes it, and reads the name and description from the SKILL.md frontmatter automatically. It returns an AgentSkill with type="inline" ready for use. See Skill Structure — Inline Skill Bundles for details on bundle contents and the Reference for AgentSkill inline fields.

Batch Execution

Agent execution currently supports batch mode only.
  • Batch (batch=True): Returns immediately with a prediction ID. Poll for results. Suitable for both short tasks and long-running tasks like video analysis.
  • Synchronous (batch=False): Not currently supported. Use batch=True and poll for results.