API Reference
Learn about the parameters and definitions of agents in Compozy.
JSON Schema
Parameters
List of agents available in the workflow.
Unique identifier for the agent. Must be unique across all agents in your workflow.
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
andpackage
fields
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.
Provider-specific configuration options.
Agent-specific configuration parameters defined by the agent’s schema.
List of tools available to the agent. See the Tools API Reference for detailed configuration options.
Environment variables specific to this agent instance.
Memory configuration for the agent. See the Memory API Reference for detailed configuration options.
Action Parameters
List of actions the agent can perform.
Output References
Agent’s output data, accessible via {{ agents.agent_id.output }}
. Example:
Error information if agent execution fails. Example: