Skip to content

Custom Agent Builder

When native blueprints don’t fit your exact workflow, you can build Custom Agents with granular permissions and specific LLM backends.

Custom Agent Configuration Schema

{
"name": "support-triage-agent",
"description": "Reviews inbound enterprise support requests and queries Postgres before escalating",
"model": "gpt-4o",
"execution_profile": "standard",
"system_prompt": "You are an enterprise support triage specialist. Always look up user account tier in Postgres before responding.",
"tool_whitelist": [
"SQL_QUERY",
"SLACK_POST"
],
"memory_scopes": ["workspace", "project"]
}

Model Routing Options

Select from enterprise model providers per agent:

  • gpt-4o: Default for complex multi-step reasoning and tool calling.
  • claude-3-5-sonnet: Optimized for long-form document writing and coding tasks.
  • gpt-4o-mini: Fast, cost-efficient for classification and simple triage.
  • gemini-1.5-pro: High-context window analysis for massive document ingestion.

Creating a Custom Agent via API

Terminal window
curl -X POST https://api.zonrad.com/platform/v1/agents \
-H "Authorization: Bearer zon_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "sql-reporter",
"description": "Runs read-only analytics queries",
"model": "gpt-4o",
"execution_profile": "standard",
"system_prompt": "Generate safe SELECT queries and present summary tables.",
"tool_whitelist": ["SQL_QUERY"]
}'