Agents

Agent Documentation

AI agents are the primary consumers of this design library. These pages provide structured metadata, composition rules, and API endpoints for programmatic access to the component registry and recipe system.

Documentation

API Endpoints

JSON APIs for programmatic access. All endpoints return structured data suitable for agent consumption.

GET
/api/manifest

All component manifests (filter via query params: layer, category, funnel, intent, complexity, tag, q)

GET
/api/recipes

All recipes (filter via: funnel, tag, q)

GET
/api/recipes/[id]

Single recipe by ID

Context Files

For LLM agents that work by reading files into context windows, the library ships structured markdown and JSON files in the agent/ directory:

AGENT.md

Master context — architecture overview, theming, composition patterns, funnel guidelines

agent/components.json

Full component registry (all manifests) as JSON

agent/recipes.json

All recipes as JSON

agent/composition-rules.md

Flow roles, pairing rules, anti-patterns

agent/brand-guide.md

TokenSeed system, 5 brand examples, adaptation guide