DEVELOPER HANDBOOK · LOCAL-FIRST RUNTIME
Operating System Documentation.
Install, configure, verify, and execute governed autonomous engineering workflows on your local machine—with zero cloud lock-in and full source transparency.
01 / INSTALLATION
Quickstart & Editable Setup
Clone the Apache-2.0 repository into a clean Python 3.10+ virtual environment and install with dev dependencies.
git clone https://github.com/xnetwoork/al-razzi-os.git
cd al-razzi-os
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
02 / 39-PROVIDER FABRIC
Universal Provider Discovery
Scan local Ollama/vLLM ports or bind BYOK cloud providers using the built-in 8-tier free-first cascade.
# Scan local endpoints (:11434, :4000, :8443)
al-razzi provider hermes-scan
# View all 39 supported providers
al-razzi provider catalog
# Bind a provider locally
al-razzi provider plug groq gsk_your_key
03 / DIAGNOSTICS & GOLDEN TESTS
28-Point Doctor & 185 Gates
Verify judicial court invariants, SQLite FTS5 RAG retrieval, and AST sandboxes before running missions.
# Run 28-point system health check
al-razzi doctor
# Run 185 invariant & court unit tests
pytest evals/ -v
pytest alrazzi/tier0/ -v
04 / HEADLESS MISSIONS & SWE-BENCH
Governed CLI Mission Runner
Execute contract-driven AST repairs or evaluate against the isolated SWE-bench structural sandbox.
# Run deterministic AST repair sandbox
al-razzi swebench run --mode ast_sandbox
# Query Dual-Index RAG locally
al-razzi rag query "Epistemic separation V != P"
05 / DESKTOP STUDIO ADE
Local Control Plane GUI
Launch the local web studio to inspect DAG execution graphs, checkpoints, and SHA-256 evidence receipts.
# Start Studio ADE on localhost:8765
al-razzi studio --port 8765
# Or via Python module:
python -m alrazzi.studio.server
06 / CONSTITUTIONAL TIERS
T0–T4 Authorization Matrix
Every tool pathway is classified and enforced programmatically by secure_runtime/sandbox.py.
T0: Pure reasoning & contract lint (Always allowed)
T1: Read-only & scratch create (Default)
T2: Reversible local mutation (Snapshot required)
T3: External network / deploy (Explicit approval)
T4: Destructive / secret leak (Hard prohibited)
i
Local Network Perimeter Notice: Desktop Studio (127.0.0.1:8765) binds strictly to loopback by default. Never expose control-plane ports to public networks without mutually authenticated TLS tunnels.