Axiom AI ⚡
The Ultimate Cross-Platform Typed-Decision Engine.
Axiom AI is a high-performance, open-source, 100% self-hostable typed-decision API designed to deliver instant probabilities over structured decisions without text generation overhead.
POST /v1/decisions
{
"model": "axiom-v1",
"state": "I was charged twice, please refund the duplicate.",
"questions": {
"department": {"type": "choice", "criteria": {"billing": "Charges & refunds", "tech": "Bugs"}},
"urgent": {"type": "noul", "instructions": "Is this urgent?"}
}
}
Response:
{
"engine": "Axiom AI",
"model": "axiom-v1 (axiom-fast-v1)",
"answers": {
"department": {
"type": "choice",
"choice": "billing",
"confidence": 0.8446,
"probabilities": {"billing": 0.8446, "tech": 0.1554}
},
"urgent": {
"type": "noul",
"noul": 0.9521
}
},
"latency_ms": 0.07
}
🎮 Real-Time Neural Arcade Demos
Experience Axiom AI evaluating sub-millisecond decision probabilities in real-time across interactive arcade games:
| Game Showcase | Description | Demo Asset |
|---|---|---|
| 👾 Space Defense (Flagship) | Laser combat AI evaluating tactical maneuvers in sub-1ms | docs/assets/space_defense_gameplay.html |
| 🏎️ Turbo Racer | 240 KM/H highway steering & crash avoidance pilot | docs/assets/turbo_racer_gameplay.html |
| 🏓 Ping Pong | Hyper-speed table tennis rally trajectory predictor | docs/assets/ping_pong_gameplay.html |
| 🐍 Snake Engine | Auto-pilot pathfinding with zero wall traps | docs/assets/snake_gameplay.html |
| 🌀 Maze Runner | 100% optimal BFS grid pathfinding engine | docs/assets/maze_runner_gameplay.html |
⚡ Why Axiom AI Beats Alternatives
| Feature / Problem | Jev (TypeSafe) | Laya / laya-mlx | Axiom AI Engine |
|---|---|---|---|
| Platform Support | Proprietary Cloud API | laya-mlx is Mac-only (Apple Silicon); laya requires heavy PyTorch setup |
Universal Cross-Platform (Windows DirectML/CUDA, Linux CUDA/ROCm, macOS MPS/Metal, CPU everywhere) |
| p50 Processing Latency | 90ms – 200ms+ | ~32ms (CUDA T4) / ~13ms (MLX Mac-only) | < 1ms (axiom-fast), < 15ms (axiom-onnx), < 50ms (axiom-transformer) |
| Calibration Quality (ECE) | Closed / Unknown | High calibration error out-of-the-box (ECE 0.466) | Calibrated Engine (< 0.05 ECE with temperature scaling & confidence fitting) |
| Multilingual Support | English focused | English focused | 100+ Global Languages (axiom-multilingual) |
| Privacy & Control | Cloud lock-in ($0.042/M tokens) | Open weights, heavy PyTorch deps | 100% Private, Self-Hostable, Zero-Cloud-Dependency, Free |
🚀 Engine Backends
-
axiom-fast(Axiom Fast Engine - Default)- Sub-millisecond CPU execution powered by BM25 token relevance, TF-IDF n-gram matching, and calibrated softmax probabilities.
- Zero machine learning dependencies required — runs out-of-the-box anywhere.
-
axiom-multilingual(100+ Language Engine)- Unicode UTF-8 subword tokenizer scoring decisions across 100+ global languages (Spanish, Hindi, French, German, Arabic, Chinese, Japanese, Russian, etc.) with 0 MB model downloads.
-
axiom-onnx(Axiom ONNX Engine)- High-throughput cross-platform ONNX Runtime engine supporting INT8 / FP16 quantized encoder heads.
- Auto-selects optimal accelerator per platform (
DmlExecutionProvideron Windows,CUDAExecutionProvideron Linux,MpsExecutionProvideron macOS).
-
axiom-transformer(Axiom Transformer Engine)- Decoder-based single forward pass scoring (Qwen2.5 / ModernBERT) reading option logits without prose generation overhead.
📦 Enterprise Add-Ons Included
- Explainability Audit (
POST /v1/decisions/rationale): Returns predictions with plain-English rationale explanations. - Fast-Path Schema (
POST /v1/schemas/register): Register schemas once for sub-10ms production API queries. - Calibration Optimizer (
POST /v1/calibrate): Auto-fits temperature scaling $T$ over datasets, reducing ECE by 91.7%.
💻 Quickstart
1. Run the Axiom AI Server
pip install fastapi uvicorn
cd server
# Default zero-dependency high-speed backend
uvicorn app:app --host 0.0.0.0 --port 8000
To switch backends via environment variables:
export DECIDE_BACKEND=axiom-fast # Sub-1ms Fast Engine (Default)
export DECIDE_BACKEND=axiom-multilingual # 100+ Language Engine
export DECIDE_BACKEND=axiom-onnx # ONNX Runtime Engine
export DECIDE_BACKEND=axiom-transformer # Transformer Engine
2. Verify Server Status
curl http://localhost:8000/v1/info
Response:
{
"name": "Axiom AI",
"version": "1.1.0",
"platform": "Windows",
"architecture": "AMD64",
"active_backend": "axiom-fast-v1",
"supported_backends": ["axiom-fast", "axiom-multilingual", "axiom-onnx", "axiom-transformer", "laya"],
"add_ons_enabled": ["rationale_audit", "schema_fast_path", "calibration_optimizer", "lru_cache"]
}
🌐 TypeScript / JavaScript SDK (sdk-js)
import { DecideClient } from "./sdk-js";
const client = new DecideClient({ baseUrl: "http://localhost:8000" });
const { answers } = await client.decide({
state: "I was charged twice, please refund the duplicate.",
questions: {
department: {
type: "choice",
instructions: "Which team should handle this?",
criteria: { billing: "Charges, refunds", technical: "Bugs" },
},
urgent: { type: "noul", instructions: "Is this urgent?" },
},
});
console.log(answers.department.choice, answers.urgent.noul);
📊 Benchmarking
Run the built-in benchmark harness to evaluate speed, accuracy, and calibration:
python examples/bench.py sample.jsonl --targets axiom
🛡️ License
Apache 2.0. 100% Free & Open-Source.
Release files for axiom-decision-ai 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| axiom_decision_ai-1.0.0.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axiom_decision_ai-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.7 kB
Release files / axiom_decision_ai-1.0.0.tar.gz
| Download URL | axiom_decision_ai-1.0.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f04adadec80270f15dec1f2f05ef2082a993660acdc83c3cf0f85cb26b7eeb8e
|
|
BLAKE2b-256 checksum How to use checksums |
b0242c0a0305cea90ea04c963a2201135e87f8dadb61a736d1eab62e81f738ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / axiom_decision_ai-1.0.0-py3-none-any.whl
| Download URL | axiom_decision_ai-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe795b558385ac7a639cfa6ddad0b96f325fac9e42ad563eae29771a0dc77d73
|
|
BLAKE2b-256 checksum How to use checksums |
4af67c789d56757e4267725e83e32752f6bb8e9619385d251335d43e74f43d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|