Agents
Get a factory agent
Fetch a single factory agent fully rendered: the function files to scaffold (an index.ts that declares the agent with defineAgent and its skills with defineTool) plus the secrets it needs. This is what npx zavudev agents pull <id> writes to disk before npx zavudev deploy.
get/v1/agent-templates/{templateId}
Path parameters
templateIdstring required
Response
Rendered factory agent.
Example response
{
"template": {
"id": "fermi",
"defaultSlug": "fermi",
"files": [
{
"path": "index.ts"
}
],
"requiredSecrets": [
{
"key": "SENDER_ID"
}
]
}
}