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
Component Registry
Searchable, filterable table of every component with full manifest metadata. Filter by tier, layer, funnel stage, complexity, intent, and tags.
Composition Rules
How to combine components into interaction flows. Flow roles, pairing rules, patterns per funnel stage, and anti-patterns.
Query API
Programmatic interface for discovering and composing components: queryByFunnel/Intent/Tag/Layer, suggestFlow, findPairs (symmetric), getCompositionGraph, and deprecated/supersededBy steering.
API Endpoints
JSON APIs for programmatic access. All endpoints return structured data suitable for agent consumption.
/api/manifestAll component manifests (filter via query params: layer, category, funnel, intent, complexity, tag, q)
/api/recipesAll recipes (filter via: funnel, tag, q)
/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.mdMaster context — architecture overview, theming, composition patterns, funnel guidelines
agent/components.jsonFull component registry (all manifests) as JSON
agent/recipes.jsonAll recipes as JSON
agent/composition-rules.mdFlow roles, pairing rules, anti-patterns
agent/brand-guide.mdTokenSeed system, 5 brand examples, adaptation guide