Every example ships in the repo and runs against the suite: agent tools over MCP, Claude Agent SDK demos, a multi-step agent loop with token attribution, real WASM compute, WebSocket chat, WorkOS/Clerk auth.
Install riz, scaffold a working handler, boot it, curl it, and point an agent at it — the full path in five steps. Then verify with riz doctor and riz mcp inspect.
OpenAI-compatible LLM gateway built into the riz binary. Route OpenAI, Anthropic, and local Ollama by model prefix with fallback, budget caps that fail closed, per-provider cost telemetry, and bearer auth.
Run untrusted and LLM-generated code under a WASI sandbox with deny-by-default filesystem and network — and still reach Postgres, DynamoDB, S3, and pinned HTTP origins through host-enforced capability grants. WASM guards screen every request and response, fail-closed.
Where riz sits against AWS Lambda and against Express/FastAPI/Axum — what's actually different, and the verdict. The Lambda programming model self-hosted, run always-on as a container on Cloud Run / ECS Express / Azure Container Apps (no cold start), with the agent layer built in.
Self-hosted AWS Lambda runtime in one Rust binary. Every function becomes a typed MCP tool the moment it boots — and the binary itself is a delegable A2A agent that meshes with other riz instances. Six runtimes, no cold starts, WASM sandbox, LLM gateway. 1,300+ tests. Apache-2.0.