You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Natural Language to Formally Verified Code Domain: axiom-code.com Version: 0.1.0 License: Proprietary — see LICENSE Dependencies: Zero (pure Python stdlib + cffi)
Executive Summary
AxiomCode is the world's first zero-dependency, zero-trust, cryptographically secured system that converts natural language descriptions of algorithms into mathematically proven-correct Python and C code. Every generated artifact comes with a verifiable proof certificate, HMAC signature, and tamper-evident audit trail.
Built for commercialization. Designed to surpass Python and agent-based LLM code generators by providing mathematical certainty instead of probabilistic guesses.
Core Features
1. Natural Language to Verified Code
Describe algorithms in plain English — no programming knowledge required
Automatic Lean 4 specification generation via local or cloud LLMs
Formal proof search with Pantograph + Goedel-Prover integration
Code extraction to C binaries and Python packages
Machine-checked proofs where verification succeeds — every artifact
carries an honest verification_status ("verified" only when a proof
assistant actually checked the proof; "unverified"/"failed" otherwise).
AxiomCode never claims a proof it did not check.
2. Minimal External Dependencies
Pure Python stdlib — no pip packages to install (except cffi for bindings)
No attack surface from third-party libraries
No supply chain vulnerabilities — no requests, no Flask, no SDKs
HTTP via stdlibhttp.client — direct API calls to llama.cpp, OpenAI, Anthropic
Crypto via stdlibhashlib, hmac, secrets, plus the audited
cryptography package for Ed25519 signatures (publicly verifiable
certificates require asymmetric crypto — hand-rolling it would be worse)
3. Zero-Trust Security Model
Every output independently verifiable — no blind trust in any component
Cryptographic proof certificates — Ed25519-signed attestations of
provenance and integrity, with honest per-artifact verification status
Binary signing — every C binary and Python package is signed and verifiable
Tamper-evident audit log — hash-chained entries detect any modification
Encrypted key store — PBKDF2-derived keys, encrypted at rest
Secure sandbox — isolated execution with restricted environment
Rate limiting — token bucket prevents API abuse
4. Multi-Backend LLM Support
Backend
Type
Default Model
Speed
Quality
llama.cpp
Local
qwen2.5-coder:14b
Fast
Good
Mistral
Local
mistral:7b
Fast
Good
OpenAI
Cloud
gpt-4o
Medium
Excellent
Anthropic
Cloud
claude-sonnet-4
Medium
Excellent
No SDKs — direct HTTP calls, zero dependency overhead
LLM response caching — persistent cache reduces cost and latency
Automatic retry with exponential backoff
Fallback chain — if local model fails, suggests cloud alternatives
5. Cryptographic Proof Certificates
Every generated algorithm comes with a signed certificate containing:
Hash of the Lean 4 specification
Hash of the proof term
Hash of the compiled C binary
Hash of the Python package
HMAC signature for authenticity
Key ID for verification
Timestamp for non-repudiation
Certificates are independently verifiable — anyone can verify the certificate without trusting AxiomCode.
6. Interactive Proof Visualization
2D Port Graph — Incredible Proof Machine style block diagrams