Getting Started
VhyxSeal is a semantic contract layer for web UI. This guide walks you from zero to a live manifest in under three minutes.
Requirements
| Node.js | ≥ 18.0.0 |
| TypeScript | ≥ 5.0 (recommended) |
| React | ≥ 18 (for @vhyxseal/react) |
Installation
Install only the packages you need. Start with @vhyxseal/core and add adapters as your project grows.
Your First Contract
VhyxSeal has four adoption levels. Each adds more precision for agents. Start at Level 0 — add detail incrementally as your needs grow.
Level 0 — Zero Effort
Use standard HTML and ARIA. VhyxSeal infers the contract automatically. Agents get something useful immediately — no extra code required.
Level 0 — Inferred
Level 1 — Single Intent Prop
Add one intent prop. VhyxSeal looks up the intent in its built-in vocabulary and fills in safety level, confirmation requirements, and reversibility automatically.
Level 1 — Intent vocabulary
Level 2 — Partial Contract
Override specific fields. Everything you do not specify still comes from the intent vocabulary defaults. The agent gets a complete contract — you only wrote the parts that differ.
Level 2 — Partial overrides
Level 3 — Full Contract
Define the complete contract once outside JSX. Frozen, fingerprinted, and auto-versioned. Agents get the full picture — intent, preconditions, consequences, safety, error recovery, and navigation hints.
Level 3 — Full specification
Your First Manifest
Wrap your app in SealProvider. VhyxSeal collects contracts from the component tree and auto-generates /__agent__/manifest.json whenever components mount or update.
The manifest is generated automatically. Here is a minimal example with one registered contract:
Verify It Works
Use the VhyxSeal CLI to simulate what an AI agent sees when it visits your app. Run this against your local development server.
Components using Level 0 (inferred) contracts show as warnings. Upgrade to Level 1–3 to eliminate them.