Documentation
Go from zero to a Z3-verified, Ed25519-signed B2B WebAssembly capsule running behind an HTTP sidecar or native SDK in under 5 minutes.
1. Quickstart (3 Commands)
Build the compiler, Z3 verifier, and zero-GPU headless B2B sidecar from source (requires Rust 1.80+ and z3 on PATH):
Prefer testing with zero local setup? Try the Zero-Key Z3 Playground right in your browser.
2. Language Tour: Built-in Safety Primitives
| Feature | Syntax | Guarantee |
|---|---|---|
| Telos Contracts (Z3 SMT) | req amount >= 0.0dens result >= 0.0d |
Mathematically proved for all possible inputs via Z3 SMT before emitting a single Wasm byte. |
| Exact Finance Math | dec64 (100.00d) |
Fixed-point decimal arithmetic with zero IEEE-754 floating-point drift and overflow proofs. |
| Taint-Tracked Secrets | Secret<T>, reveal("domain", s) |
Compiler rejects leaking secrets to logs/JSON; runtime injects custom headers strictly on host side for pinned domains. |
| Flux Effect System | -[Mem, Net("api.stripe.com")]-> |
Capabilities are statically checked and embedded in the Ed25519-signed SecurityPassport. |
| Guaranteed Halting | while i < n max 64 { ... } |
Unbounded loops are rejected at compile time; runtime enforces deterministic wasmi fuel metering. |
| Forma Native GPU UI | layout / Mesh3D |
1-draw-call Vulkan/wgpu & WebGL2 UIs inside 19–55 KB capsules with fixed linear memory. |
3. Multi-Stack Integration: Sidecar, Docker, Python, Node.js & C ABI
Docker (Distroless / Zero-curl Image)
Python SDK (sdk/python — zero dependencies)
Node.js / TypeScript SDK (sdk/node — @infimum/rt, zero dependencies)
4. Security & Isolation Architecture (3 Distinct Environments)
Infimum separates isolation boundaries cleanly depending on where you run capsules:
Server / B2B (infimum-rt)
Zero-GPU wasmi interpreter with hard 2 MiB linear memory cap, deterministic instruction fuel,
Ed25519 SecurityPassport verification before instantiation, pure-Rust TLS (rustls) with TCP IP-pinning
against DNS rebinding & cloud IMDS (169.254.169.254), zero redirects, and host-side Multi-Secret Vault.
Browser (/code/ & /playground/)
WebAssembly memory isolation inside your browser tab + COOP/COEP cross-origin isolation for local Z3.wasm.
BYOK LLM keys remain strictly in browser localStorage and never pass through our servers.
Local Studio (infimum-agentd)
On Linux desktops, the optional local AI studio daemon wraps workspace commands inside strict bubblewrap (bwrap)
namespace sandboxing with read-only system mounts and isolated project roots.