h5i-dev /h5i
An Axum-based Rust web framework with Lean 4-verifiable application kernels that run on servers, bare-metal embedded devices, and GPUs, plus integrated security testing.
★ 1,023⑂ 84👁 3⑃ 699● 133▤ 47
+7
Daily
1,023
stars
84
forks
3
watchers
699
prs
133
issues
47
releases
README
h5i
h5i (pronounced high-five) is an Axum-based Rust web framework built around application kernels that can be formally verified with Lean 4 and executed on servers, bare-metal embedded devices, and GPUs. It also provides integrated development infrastructure for red-teaming, security regression testing, and sandboxed AI agents.
---
1. Install
bash
Add the Rust web framework
cargo add h5i-app
Install the h5i CLI and development tools
curl -fsSL https://h5i.dev/install.sh | sh -s -- --websec --recon --test
AI agent integration (optional)
npx skills add h5i-dev/h5i
---
2. Verifiable Web Framework
h5i-app is a composable, Axum-based Rust web framework built around a verifiable application kernel.
- Kernel-based architecture: Separate application logic from infrastructure to verify and optimize core behavior.
- Formal verification: Translate Rust application logic into Lean 4 using Aeneas and prove their properties.
- Temporal logic and model checking: Verify safety, liveness, and fairness-dependent properties of Rust application kernels and system-level models using Veil.
- Automatic specification generation: Generate Lean 4 specifications and proofs for common patterns, including database schemas, authorization, and storage operations (compatible with spec-kit).
- Axum-compatible deployment: Deploy applications to platforms supporting Axum, including Cloudflare Workers, Vercel, and Fly.io, without rewriting application logic.
- Multi-target execution: Run application kernels across different execution environments:
- Servers: Execute kernels on CPUs with Axum-based HTTP integration.
- Embedded systems: Run kernels on bare-metal devices using a no_std, heap-free HTTP/1.1 server.
- GPUs: Accelerate supported kernels with GPU execution while retaining CPU fallback.
toml
[dependencies]
h5i-app = { version = "0.5.7", features = ["http", "postgres"] }
3. Development Infrastructure
h5i provides a unified CLI for building, verifying, debugging, and security-testing web applications with AI agents. For example, you can run professional red-teaming simply by opening your favorite AI agent harness and saying "Audit https://.com with h5i."
The red-team, CI/CD, sandbox, and UI are framework-independent, so there's no need to adopt h5i-app.
CLI Examples
bash
h5i app new counter && cd counter Scaffold a new Rust web app
h5i app extract Extract Lean 4 models from Rust
h5i app prove Verify properties with Lean 4
h5i app mutate Test proof sensitivity with mutations
h5i browser open https://example.com Browser automation: Open a webpage
h5i browser click @e3 Click an element by reference
h5i websec requests HTTP security testing: Inspect captured requests
h5i websec replay req_42 --set query.id=456 Modify and replay a request
h5i recon crawl --max-reTop issues
#747h5i-app-shortener: a link shortener with proven unique slugs and owner-only edits1 comments · 2026-10-20#809Supported macOS process isolation for SwiftPM and XcodeGen0 comments · 2026-11-15#746h5i-app-poll: a poll where one vote per user is proven, not tested0 comments · 2026-10-20#676document on how to use from within rust apps0 comments · 2026-09-27#496Build helper tools for the h5i ecosystem0 comments · 2026-08-12
Latest release
h5i v0.5.6 v0.5.6 2026-11-16Install One binary. h5i unifies web development, formal verification with Lean 4, and red-teaming around a composable Rust framework. Linux / macOS: bash curl -L https://github.com/h5i-dev/h5i/releases/download/v0.5.6/h5i-v0.5.6-.tar.gz | tar -xz sudo mv h5i /usr/local/bin/ Windows: download the .zip, extract h5i.exe, and add it to your PATH. The browser bash h5i browser open https://example.com h5i browser snapshot h5i browser requests what it asked for, and what was refused h5i browser audit the whole session, afterwards A session is Chromium, driven through agent-brows