Skip to main content

Register an Agent

Creates a new agent entry in the registry.

POST /api/v1/registry — 🌐 Public

Request Body

FieldTypeRequiredDescription
idstringUnique agent identifier
namestringDisplay name
descriptionstringWhat this agent does
urlstringService endpoint URL
owner_idstringOwner's user ID
versionstringSemver version (default: 1.0.0)
protocolVersionstringA2A protocol version (default: 0.2.9)
preferredTransportstringTransport protocol (default: JSONRPC)
tagsstring[]Searchable tags
iconUrlstringURL to agent icon
documentationUrlstringURL to agent docs
skillsSkill[]List of agent skills

Examples

curl -X POST https://nasiko.dev/api/v1/registry \
-H "Content-Type: application/json" \
-d '{
"id": "agent-abc123",
"name": "Weather Agent",
"description": "Fetches current weather for any city",
"url": "https://weather-agent.example.com",
"owner_id": "user-xyz789",
"version": "1.0.0",
"tags": ["weather", "data"]
}'

Response

Status: 201 Created

{
"data": {
"id": "agent-abc123",
"name": "Weather Agent",
"description": "Fetches current weather for any city",
"url": "https://weather-agent.example.com",
"version": "1.0.0",
"owner_id": "user-xyz789",
"tags": ["weather", "data"],
"created_at": "2026-03-06T10:00:00Z"
},
"status_code": 201,
"message": "Agent created successfully"
}