Start
Canvas agent route entry.
Canvas is the agent-authored React artifact workspace.
Canvas docs are agent-facing operating context. Optimize them for routes, owners, and boundaries.
Use Canvas when an agent should write normal React and TypeScript inside an
isolated filesystem workspace. Canvas artifacts live under agent-html,
consume local resources, and render in a host that can inspect blocks and route
prompts.
Historical App and Runtime docs are archived under _archive/docs. They are
kept for reference only and are not current Canvas architecture sources.
Use This Route For
- Artifact authoring or review:
agent-html/artifacts/*.artifact.tsx. - Host inspection and prompt routing:
host.mdx. - Local sandbox UI, hooks, helpers, types, assets, or artifact-local data:
workspace.mdx. - Token, shadcn, primitive, and public composition rules:
design-system.mdx. - Import boundaries and guard checks:
reference.mdx.