Skip to main content

JSON Schema

https://compozy.dev/schemas/agents.json

Parameters

array
required
List of agents available in the workflow.
string
required
Unique identifier for the agent. Must be unique across all agents in your workflow.
string | object
required
Agent implementation reference. Can be specified in three formats:
  • "repo/package" (e.g., "compozy/agents:content-moderator")
  • "repo:package@version" (e.g., "compozy/agents:content-moderator@1.0.0")
  • Object with repo and package fields
string
Path to an external YAML file containing the agent definition. When specified, the agent configuration will be loaded from this file instead of being defined inline.
object
Provider-specific configuration options.
object
Agent-specific configuration parameters defined by the agent’s schema.
array
List of tools available to the agent. See the Tools API Reference for detailed configuration options.
Example
object
Environment variables specific to this agent instance.
object
Memory configuration for the agent. See the Memory API Reference for detailed configuration options.
Example

Action Parameters

array
List of actions the agent can perform.

Output References

any
Agent’s output data, accessible via {{ agents.agent_id.output }}. Example:
object
Error information if agent execution fails. Example: