← Back to home

Agent Manifest — Demo Reference

The Agent_Manifest is the JSON data structure that describes a single AI agent in AgentHub. This page documents the demo field subset (17 fields) used by the showcase. The Zod schema in src/entities/agent/model/manifest.schema.ts is the single source of truth; the Listing and ListingStatus TypeScript types are inferred from it.

Demo field subset (17 fields)

Searchable fields (case-insensitive, Req 2.2): name, tagline, and tags.

#FieldTypeSemantics
1idstring (non-empty)Unique identifier; used in the /agents/[id] route.
2namestring (non-empty)Display name. Searchable.
3taglinestring (non-empty)Short one-line summary. Searchable.
4descriptionstring (non-empty)Longer description shown on the detail page.
5authorstring (non-empty)Publisher / author, shown on the detail page.
6platformenumThe platform the agent runs on.
7install_urlstring (URL)Target of the Open/Install action when the agent is live.
8icon_urlstring (URL) | nullIcon sourced from the originating platform. Null when unavailable — no fallback avatar is shown.
9categoriesstring[] (≥1)Category facet source; ≥5 distinct values across the seed.
10tagsstring[]Free-form tags. Searchable.
11capabilitiesstring[]Capability list shown on the detail page.
12pricing_modelenumCommercial model.
13statusenumModeration/availability state.
14click_countint ≥ 0Click counter; sort-by-clicks is deferred.
15created_atISO datetime stringCreation timestamp (manifest fidelity).
16updated_atISO datetime stringLast-updated timestamp shown on the detail page.
17source_idstring (non-empty)Importer that produced this record (e.g. seed, mcp-registry, poe). Used for source attribution and bulk suppression.

Enumeration values

Platform

web
cli
api
desktop
mobile
mcp
browser-extension

The seed exercises ≥4 distinct platform values (Req 5.2).

Pricing model

free
freemium
paid
subscription

Listing status

live
suspended
broken

Listing status and Lost_Agents

The status field is the headline of the demo — the moderation/availability state of a listing, surfaced by the status facet and status badges.

StatusCard / detail badgeCard treatmentOpen / Install actionBroken indicator
live"Live"normalenabled — links to install_urlnone
suspended"Suspended"muted / dimmeddisablednone
broken"Broken"muted / dimmeddisabled"Link no longer reachable"

Validation behaviour

The data-access layer (src/entities/agent/lib/data.ts) runs agentManifestSchema.safeParse on every seed record at module load:

A malformed seed file degrades gracefully — only offending records drop out — so the demo never crashes during a presentation because of one bad record (Requirements 5.5, 5.6).

Relationship to the full manifest

This is a demo subset. The full AgentHub Agent Manifest v0.1 (SRS v0.1) defines additional fields, relationships, and constraints — version history, richer pricing and platform metadata — that are out of scope for the showcase. The ingestion pipeline (MCP Registry, HuggingFace Spaces, GPT Store, Poe, Replit) and deduplication are fully implemented and tracked in docs/backlog.md.