Documentation topics
Answer-first, fact-dense knowledge base generated from the platform specification.
- HF Catalog Crawler (MVP-1)
The first active feature is a bounded, resumable crawler of the public Hugging Face Space catalog. It follows the Link rel="next" cursor, stores a canonical record plus an immutable raw snapshot per Space, updates on SHA
- Channels and Widget Runtime
Deployment does not depend on direct iframes. Preferred architecture: Browser → Widget Runtime → scoped session token → Execution API → routers → provider. Provider credentials never reach browser clients. Modes: iframe,
- Composition and Recipes
Recipes are typed DAGs; MVP recipes are acyclic. Node types are capability/operation, transformer and validator. Transformers include PDF→text, image→OCR text, image→URL, audio→transcript, JSON→CSV, resize/crop/format co
- Contract Architecture
A Contract is a machine-readable set of input/output constraints. Provider-native schemas are never discarded; they are stored as immutable provenance snapshots. Compatibility checks transport, semantic type, schema, car
- Domain Model
The domain separates 15 entities so that no single descriptor is overloaded: Provider, Resource, Interface, Operation, Tool, Capability, Contract, Evaluation, Health, Policy, Provenance, Execution, Artifact, Recipe, App,
- Execution Runtime
Execution is a first-class durable entity. State machine: CREATED → POLICY_CHECK → QUEUED → STARTING → RUNNING → STREAMING → SUCCEEDED, with terminals FAILED, CANCELLED, EXPIRED, DENIED. Every execution has a durable ID,
- HF API opportunities
Beyond the catalog endpoint, the owner's token can use HF semantic space search (/api/spaces/semantic-search with ai_category and semanticRelevancyScore), Gradio agents.md and /gradio_api/info for contracts, /gradio_api/
- Mandatory Invariants
Eight invariants are non-negotiable: Tool != Capability; Resource != Interface; Capability Router != Provider Router; discovered != executable; historical contracts are immutable; provider secrets never reach browser; al
- Universal AI Capability Platform
The Universal AI Capability Platform is a provider-neutral capability registry, evaluator, router, execution runtime and composition layer over heterogeneous AI resources (HF Spaces/Models, inference providers, REST/Open
- Provenance and Drift
Every normalized object stores source, source_url, observed_at, source_revision, raw_snapshot, parser_version and normalized_version. A deterministic schema fingerprint detects drift; on change the platform creates a dri
- MVP Roadmap
Delivery is phased P0–P3. P0: repository discipline, canonical domain, PostgreSQL schema/migrations, HF ingestion, Gradio/OpenAPI extraction, contract validation, evaluator, execution gateway, artifact storage, web widge
- Two-Stage Routing
Routing has two stages that are never merged. Stage A, the Capability Router, selects implementations satisfying the semantic goal and contract. Stage B, the Provider Router, selects the concrete provider/endpoint at run
- Security and Trust
Trust tiers are T0 metadata only, T1 schema inspection, T2 sandboxed smoke test, T3 controlled production execution, T4 privileged/private connector. A discovered resource is not executable by default. Policy decisions a
- Site architecture for 2026
The site is a catalog interface, not a brochure. It has a faceted /spaces search page, 501 entity pages under /space/{id}/, indexable category/tag/SDK hubs, and machine-readable endpoints (/api/items.json, /api/index.jso
- VERIFY Items (Unknowns)
The following are explicitly unverified and must not be treated as facts: live provider inventory and exact API limits; license/redistribution state of each resource; channel feasibility per adapter; competitor maturity;