# Netra (netra-artifacts) > Open-source (MIT) generative UI framework. Every AI answer is Markdown with animated visuals, typeset formulas, live quizzes and real-time 3D (in progress) woven in. A deterministic director decides what each answer needs; a component library, a quiz engine and a WebGPU 3D engine render it from small JSON specs; everything runs in a sandboxed iframe. Zero runtime dependencies. ## Docs - [Package README](https://github.com/Amon20044/Netra/blob/main/packages/ai-html-artifacts/README.md): install, quick start, architecture, exports - [Integration prompt](https://github.com/Amon20044/Netra/blob/main/packages/ai-html-artifacts/docs/INTEGRATION_PROMPT.md): one prompt that wires the package into a project - [Decision graph](https://github.com/Amon20044/Netra/blob/main/packages/ai-html-artifacts/docs/DECISION-GRAPH.md): every rule that decides animation, narration, 3D, quizzes and research - [3D scene reference](https://github.com/Amon20044/Netra/blob/main/packages/ai-html-artifacts/docs/three.md): assets, operator stack, materials, steps - [Benchmarks and methodology](https://github.com/Amon20044/Netra/blob/main/packages/ai-html-artifacts/docs/BENCHMARKS.md) - [Changelog](https://github.com/Amon20044/Netra/blob/main/packages/ai-html-artifacts/CHANGELOG.md) ## Quick facts - Install: `npm install netra-artifacts` - Server: `createArtifactRoute({ options: { generateTextStream, allowScripts: true } })` from `netra-artifacts/server` - Client: `` from `netra-artifacts/client` - Built-in components: stat-grid, feature-cards, steps, timeline, compare, callout, chips, kv-list, progress-bars, hero, table, pipeline, story, formula, derivation, quiz, scene3d - 3D assets: rocket, planet, solar-system, atom, gear-train, dna, system, propeller, train, falcon-9, mitochondria, neuron, brain, surface, curve, scatter, loss-landscape, neural-net, projectile, pendulum - Rendering: Three.js r187, WebGPU with automatic WebGL2 fallback; formulas by KaTeX - Safety: sandboxed iframe (scripts never get same-origin access), sanitizer, escaped templates, default-deny CSP for 3D, no eval ## Why Models can write an interface but cannot see it. Netra renders each visual in a sandbox, measures it in a hidden browser, and lets a vision model edit it by line. A version is kept only if it measures no worse and wins a blind comparison. - [Benchmarks and comparisons, with raw data and limits](https://github.com/Amon20044/Netra/blob/main/benchmarks/ANALYSIS.md) - [Contributing](https://github.com/Amon20044/Netra/blob/main/CONTRIBUTING.md) ## Source - https://github.com/Amon20044/Netra - npm: https://www.npmjs.com/package/netra-artifacts