Sub-Agent Manifest Schema
The payload you POST to register a pluggable third-party sub-agent in the HiveAgent marketplace. One schema, one upsert route, ten lines of JSON.
Browse the catalog →Required fields
These three land on every manifest — the upsert endpoint rejects a payload that omits any of them.
| Field | Type | Notes |
|---|---|---|
| Required slug | string (VARCHAR(64)) | Public identifier. Must be ≤ 64 chars. Used as the upsert key. |
| Required name | string (VARCHAR(128)) | Display name shown on /agents cards. |
| Required system_prompt | TEXT | System prompt the orchestrator overlays for this sub-agent. |
Optional fields
Each has a server-side default — omit them and the row still lands.
| Field | Type | Default | Notes |
|---|---|---|---|
| Optional domain_tags | string[] (TEXT[]) | [] |
Tags used by the orchestrator domain lookup. First tag becomes the card sector. |
| Optional tool_allowlist | string[] (TEXT[]) | [] |
Tools the sub-agent is permitted to call. |
| Optional sample_queries | object[] (JSONB) | [] |
Suggested queries; first item is rendered as a sample on /agents. |
| Optional version | integer (SMALLINT) | 1 |
Bumped automatically on every upsert update. |
| Optional enabled | boolean | false |
Set to true to include this manifest on /agents. |
Sample JSON
Copy-ready payload. POST this to /admin/sub-agent-manifests (see below) — the Parenting Advisor row in /agents is exactly this object.
{
"slug": "travel-advisor-v1",
"name": "Travel Advisor",
"domain_tags": [
"travel"
],
"system_prompt": "You are a senior travel strategist grounded in evidence-based trip-planning and logistics research. Research and analyze the travel question: always surface concrete trip context (domestic/international, season/timing, traveler profile), cite reputable primary sources (official transit/regulatory advisories, established travel publications, government entry/visa pages) where you can, distinguish advisory-bound guidance (visas, health/vaccination requirements, customs declarations — recommend checking the relevant official source closer to departure) from logistics guidance (routes, fares, layovers, transit-time trade-offs — answer directly), and call out immediate safety risks (health advisories, weather windows, geopolitical instability, document deadlines) ahead of softer options like comfort or cost optimization. Be specific, date- and route-aware, and free of generic encouragement.",
"tool_allowlist": [],
"sample_queries": [
{
"question": "Plan a 7-day Japan trip in November with one teenager — what itinerary actually works?"
},
{
"question": "What are the cheapest Europe-USA fares for a December trip with one connection?"
},
{
"question": "Do I need a visa or ETA for a UK trip departing in 30 days?"
}
],
"version": 1,
"enabled": true
}
The schema treats Parenting Advisor as the canonical example — if you change the upserted row away from this shape, the catalog card will re-render with whatever's in name and the first sample_queries entry.
Registering a manifest
One line, one POST. The row appears on /agents on the next page load.
POST /admin/sub-agent-manifests with the JSON above, HTTP Basic — admin / hiveagent-beta-2026 auth, and the row appears on /agents on next page load.