Aristotele logo Aristotele v0.8.0
Zero External Crates · 0 Unsafe Rust · Hybrid On-Device + Cloud + LAN

Your Personal Hybrid AI Runtime & Studio

Run Chrome Gemini Nano privately in your browser, escalate seamlessly through Firebase AI Logic (AgentPlatformBackend & GoogleAIBackend), probe llama.cpp Maple 20B-A1B Ternary MoE, or connect air-gapped LAN GPUs — all from one hardened Rust binary.

0External crates & unsafe blocks
1.34 MiBmacOS arm64 (1.38 MiB Linux musl)
42 + 13Rust unit + live Chrome E2E tests
25 + 18AI providers & 8b-is projects
60-Second Quickstart OS-Agnostic
# macOS / Linux installer
curl -fsSL https://raw.githubusercontent.com/8b-is/aristotele/main/scripts/install.sh | sh

# Launch local Studio on :1337
aristotele app

# Air-gapped local mode (zero network)
aristotele --local-only tui

# Attach a LAN Ollama / vLLM / Maple node
aristotele --provider http://127.0.0.1:8080/v1 app

Includes native MCP (stdio + HTTP + WebMCP), A2A agent card, Honcho + MemPalace memory, and cryptographic SPHIST/1 WAL continuity.

Firebase AI Logic + Chrome Gemini Nano Hybrid Engine

Keep private prompts on-device by default while unlocking Gemini 3.8 Flash multimodal reasoning, Google Search Grounding, reCAPTCHA Enterprise App Check, and browser-native function calling whenever needed.

Hybrid Routing Modesfirebase@13.4.0

Switch live between Hybrid Auto (prefer_on_device), Private Only (only_on_device), Cloud First (prefer_in_cloud), HF Free, and Local / LAN (local_rust).

Agent Platform & App CheckDual Backend

Supports GoogleAIBackend (Gemini Developer API) and canonical AgentPlatformBackend (gemini-3.8-flash), protected by Firebase App Check (ReCaptchaEnterpriseProvider).

Full Multimodal + GroundingImage / PDF / Audio / Video

Attach PNG, JPG, WebP, PDF, MP3, WAV, OGG, or MP4 directly into Gemini inlineData streams and optionally enable googleSearch grounding citations.

Simulate Offline & 60s TourAuto-Flush

Pre-configured against live ailogic-74fae with a 3-step interactive Judge Tour, a 1-click Simulate Offline cutover bar button, private on-device continuity, and automatic sync on reconnect.

Live Savings Ticker & BigQueryailogic-74fae

Tracks live $ saved · % local in the header ticker, syncs owner-scoped Firestore telemetry, exports 12-column BigQuery agent_events NDJSON, and pulls Remote Config + Kokoro-82M voice defaults.

Harness Diff-Gate & SHA-256 Vault/v1/harness/*

Stores durable TaskContract + rejected attempts outside model context, enforces sensitive-path & test-edit blocks in HarnessState with stall escalation, and seals .ospop.json capsules with SHA-256.

Maple 20B-A1B Ternary MoE (llama.cpp#27000)

Native pure-Rust ternary codecs and zero-copy GGUF scanner engineered for deepgrove/maple-preview and kolibry pack5 inference.

Ternary Block & Sparsity Specs96.875% Sparse

  • 24 layers in 3:1 cadence (18 SWA-512 + 6 Global attention)
  • 256 routed experts with 8 active per token (norm_topk_prob = true)
  • GGML_TYPE_TQ1_0 (54B / 256 trits = 1.6875 bpw) & GGML_TYPE_TQ2_0 (66B / 256 trits = 2.0625 bpw)
  • Kolibry pack5 encodes 5 trits/byte = 1.60 bpw (vs. theoretical log2(3) ≈ 1.585 entropy bound)

Single-Slice Microbenchmark Telemetryaristotele bench

Observed single-slice benchmarks on macos/aarch64 (Apple M1 Max, v0.7.1): 50,000 BLAKE3 0x62 frames in 3.73 ms (13.39M frames/s), 0.227 us O(1) Engram lookup; 1024x4096 slice 820 KiB pack5 vs 864 KiB TQ1_0 vs 1,056 KiB TQ2_0 vs 8,192 KiB FP16 (Maple CPU 2-bit 126.4 us, pack5 704.3 us, max_err=0.00000). Compares weight-slice packing/matvec only, not total RSS or integrated throughput.

llama-server -hf deepgrove/maple-preview --port 8080
aristotele --provider maple app

Built-In WebMCP & Six One-Click Skills

Both local IDE agents and in-page Gemini tool calls can discover and invoke Aristotele capabilities cleanly without external wrappers.

WebMCP & Discovery SurfacesMCP 2025-03-26

Exposes window.AristoteleWebMCP & navigator.modelContext in-browser (local_hardware_probe, maple_20b_a1b_probe, memory_palace_search, session_export_markdown), plus HTTP POST /mcp, /.well-known/mcp.json, /.well-known/agent.json, /llms.txt, and /llms-full.txt.

6 Built-In Workflow Skills/v1/skills

Launch Maple 20B-A1B MoE Probe, Security & Secret Audit, Smart-Tree Repo Cartography, MemPalace + Honcho Recall, LAN / Offline Node Doctor, or WebMCP + Google Grounding in one click inside Studio.

LAN, On-Device & Air-Gapped Offline Setup

Zero cloud lock-in. Pair Aristotele Studio or CLI with local Metal/CUDA/CPU servers on your machine or trusted LAN nodes.

Air-Gapped Sovereign Local--local-only

Blocks all outbound network calls at the runtime router; executes Kolibry ternary reasoning, Honcho + MemPalace storage, and Engram hash lookup completely offline.

Ollama, vLLM & LM StudioOpenAI /v1

Auto-detects 127.0.0.1:11434 (Ollama), :1234 (LM Studio), :8000 (vLLM), or custom LAN IPs via the Studio LAN Setup Wizard.

MLX-QUANT & RustyNanoKVMApple Silicon + LAN

Direct integration with 8b-is/MLX-QUANT (12.80x Metal/AVX2/CUDA compression) and RustyNanoKVM worker nodes over trusted local networks.

Hugging Face Catalog (eightb & PeetPedro) & 8b-is Stack

13 live-verified Hugging Face checkpoints/datasets and 18 open-source 8b-is projects integrated across Aristotele Studio and GET /v1/models/catalog.

Model / ProjectAuthor / ScopeFormat / RoleQuick Launch / Link
deepgrove/maple-previewdeepgroveTQ1_0 / TQ2_0 Ternary MoE (256E/8A)HF Model
eightb/nostd-rust-coder-ternary-engram-v1eightbno_std Rust ternary coder + EngramHF Model
eightb/omnispherepop-benchmarkseightbParquet traces for SpherePop & MLX-QUANTHF Dataset
PeetPedro/Qwen3.8-27B-ColdFusion-Heretic-ManusDistill-v1PeetPedro27B agentic reasoning & coding distillHF Model
PeetPedro/qwen4_exp-8b-obliterated-abliterated-kompress-ultraPeetPedroHigh-throughput 8B compressed reasoningHF Model
PeetPedro/qwen2.5-coder-32b-heretic-swe-sftPeetPedro32B software engineering agentic SFTHF Model
8b-is 18-Repo Stackkolibry, omnispherepop, MLX-QUANT, design.vaked.dev, ayefire-family-hub, qwave, 8c-chat, tf-locoformer, smart-tree, smart-vault, ...In-process + ecosystem integrationsgithub.com/8b-is

Security Hardening Audit (SEC-01 – SEC-07)

Built from first principles to run safely on developer workstations without leaking credentials or exposing localhost ports to malicious web tabs.

Loopback HTTP & CSRFSEC-01 / SEC-04

Strict Host DNS-rebinding rejection, validated loopback Origin CORS (zero wildcard *), Sec-Fetch-Site: cross-site blocking, CSP, and per-session X-Aristotele-Token.

Zero-Sink XSS & Secretless CurlSEC-02 / SEC-03

Full HTML/JS escaping, zero dynamic inline onclick template interpolations, HTTPS API keys written to RAII 0600 --config files (never in process argv).

Allowlisted CLIs & 0600 StorageSEC-05 / SEC-06

Subprocess bridges restricted to claude/gemini/codex/ollama, symlink-skipping workspace jail, /dev/urandom WAL key entropy, atomic 0600 writes, and explicit security boundaries documented in SECURITY.md.

Scope, Quantization Accounting & Attribution

Clear boundaries separating implemented engineering behavior, weight-encoding arithmetic, and independent conceptual inspiration.

Quantization & Microbenchmark Scope6 Workspace Crates

pack5 uses 1.60 bits/trit (5 trits/byte vs. log2(3) ≈ 1.585 Shannon bound); TQ1_0 is 1.6875 bpw and TQ2_0 is 2.0625 bpw. Ternary storage implies no formal link to 3-valued logic, and single-slice 1024x4096 memory comparisons exclude total resident RSS, KV cache, activations, and end-to-end perplexity.

Implemented Today vs. Non-GoalsEpistemic Restraint

Implemented: local/hybrid routing, universal empty-prompt refusal (F_REFUSE_ALL = 0), keyed-MAC SPHIST/1 logs, OSPOP1 payload-digest verification, and lossy heuristic trace/JSONL compaction. Non-goals: automated RL weight training loops, distributed ACID transactions, or bare-metal OS kernel replacement inside the OS-hosted CLI.

Attribution & Non-Endorsement NoticeFlyxion

Some internal identifiers (aristotele-spherepop, SpherepopOp) drew loose conceptual inspiration from Flyxion's essays on event-sourced semantics. Aristotele is an independent 8b-is project with no affiliation, collaboration, or endorsement from Flyxion.

Frequently Asked Questions

Can I try Aristotele Studio in my browser without installing anything?

Yes — open Aristotele Studio directly. It boots into Chrome Gemini Nano (when enabled) or connects to your Firebase project via Firebase AI Logic with persistent browser memory, or automatically pairs with aristotele app on localhost.

How do I set up Firebase, App Check, Chrome Gemini Nano, and aristotele.vaked.dev DNS?

Follow every step in HUMAN_SETUP_TODO.md — it covers Google AI vs. Agent Platform enablement, reCAPTCHA Enterprise App Check debug tokens, Cloudflare CNAME records, Chrome flags, and Devpost submission prep.

What platforms and targets does Aristotele compile for?

The OS-hosted CLI/Studio binary targets macOS Apple Silicon (aarch64-apple-darwin), Linux static musl (aarch64-unknown-linux-musl), macOS Intel (x86_64-apple-darwin), and Windows, while the three internal core crates build #![no_std] on aarch64-unknown-none.