- Hart's Anti-Cloud Software
- Why Hart's Anti-Cloud Is Significant
- What's New in v0.2.0
- System Footprint & Resource Efficiency
- Core Architecture and Features
- 1. Hardware Auto-Scaler
- 2. Hardened Rust Supervisor and Local AI Engine
- 3. Disposable Agent Sandbox Runner
- 4. Pure-SQLite WAL State and Read-Only Analytics
- 5. Native Tauri and Svelte Control Plane
- Resetting Telemetry & Savings Counters
- Tier-Scaled Model Provisioning & Bandwidth Overrides
- Local Knowledge Vault, Offline Transcription & MCP Tool Bridge (
mcp-bridge)
- Repository Layout
- Quick Start: End-User Installation
- Building from Source
- License and Governance
- Why Hart's Anti-Cloud Is Significant
Hart's Anti-Cloud Software
Local-first, zero-egress edge computing and CPU-native AI platform.
Hart's Anti-Cloud turns standard x86_64 Linux workstations, mini-PCs, and on-premise servers into self-contained, cryptographically hardened compute nodes. It eliminates recurring cloud API bills, third-party data exposure, and GPU hardware lock-in.
Why Hart's Anti-Cloud Is Significant
Modern software and AI workflows typically route sensitive business records, internal prompts, and application state through external cloud APIs.
- Data sovereignty and compliance: Hart's Anti-Cloud keeps inference, analytics, and sandboxed agent execution inside the local machine. It sends no telemetry, requires no cloud account, and supports optional air-gapped operation.
- Elimination of per-token cloud taxes: Liquid AI's instruction-tuned
LFM2.5 (
1.2B-Instruct-Q4_K_M) runs on office/personal CPUs with a statically compiled, headlessggml-org/llama.cppengine. It performs JSON extraction, RAG, and summarization without discrete GPU VRAM. - Defense-in-depth local IPC: The node exposes no public or supervisor
TCP ports. It uses owner-only (
0600)AF_UNIXdomain sockets, constant-time 256-bit bearer authentication, tmpfs worker secrets, and SHA-256 weight verification.
What's New in v0.2.0
- PDF & Offline OCR Vault Ingestion (
doc_ingest.rs): Extracts native text-layer PDFs directly in pure Rust (pdf-extract) with automatic offlinepdftoppm+tesseractOCR fallback for scanned PDFs and standalone images (.png,.jpg,.jpeg,.webp,.tif,.tiff,.bmp) into thesqlite-vecRAG index. - Multi-Modal Vision Support (
--mmproj): Automatically detects and verifies*mmproj*.ggufvision projectors in/opt/hartsanticloud/models(orHARTSANTICLOUD_MMPROJ_FILENAME), passes--mmprojtollama-server, and accepts OpenAI-compatibleimage_urlcontent arrays in/v1/chat/completions. - Hardened Firecracker KVM Jailer (
sandbox.rs): Launches Firecracker microVMs throughjailerwith unprivilegeduid/gid(65534), isolated chroot jails,--new-pid-ns, cgroup v2memory.maxenforcement, and--seccomp-level 2syscall filtering, falling back cleanly to direct VMM or Wasmtime WASI when unprivileged.
System Footprint & Resource Efficiency
Hart's Anti-Cloud is engineered to run comfortably on standard entry-level workstations (4 CPU cores, 16 GB RAM, 256 GB NVMe storage) while leaving the vast majority of system resources free for daily office workloads.
Installed Disk Footprint
- Standard Debian, Ubuntu, or Mint Node (
Entry16G): ~760 MB total (~0.3% of a 256 GB drive). This includes stripped static runtime binaries (~45β50 MB), the native desktop Control Plane (~10 MB), initial SQLite WAL state (~5 MB), and the SHA-256 verifiedLFM2.5-1.2B-Instruct-Q4_K_M.ggufmodel (697 MB). - Portable Non-Debian Linux Node (AppImage fallback): ~830 MB total (~0.32% of a 256 GB drive).
- Optional Firecracker KVM MicroVM Assets: Add ~425 MB
(
vmlinux.binandrootfs.ext4, provisioned on demand only when/dev/kvmis enabled). This brings a full hardware-isolated microVM node to ~1.18 GB (~0.46% of a 256 GB drive).
Active Memory (RAM) Footprint (Entry16G Tier)
- Rust Supervisor + Native Control Plane UI:
~65β85 MB - Local
llama-serverwithLFM2.5-1.2B-Instruct-Q4_K_M(8,192context): ~1.25 GB - Total Active RAM Usage: ~1.35 GB. This leaves ~14.6 GB free on a 16 GB machine for the OS and office applications.
Core Architecture and Features
1. Hardware Auto-Scaler
The hw-scaler crate probes CPU cores, available RAM,
NVMe storage, and /dev/kvm support during startup.
Entry16G(16 GB RAM): Physical cores minus 1, an 8,192-token context window, up to 4 concurrent microVMs, and a 64 MB SQLite WAL cache.Pro32G(32 GB RAM): Physical cores minus 2, a 16,384-token context window, up to 12 concurrent microVMs, and a 256 MB SQLite WAL cache.Enterprise64GPlus(64 GB+ RAM): Physical cores minus 2, a 32,768-token context window, up to 32 concurrent microVMs, and a 1 GB SQLite WAL cache.
2. Hardened Rust Supervisor and Local AI Engine
The supervisor crate provides the core Rust daemon.
- Zero exposed supervisor TCP ports: It listens only at
unix:///var/lib/hartsanticloud/run/supervisor.sockwith mode0600and verifies a constant-time 256-bit token. - Cryptographic model provisioning: On
Entry16G, it loadsLFM2.5-1.2B-Instruct-Q4_K_M.ggufduring first run or from offline weights and verifies its exact SHA-256 digest:b1b3de114215d9507409a662a501a631095a479a419584e8a2ded6304b19b4f5. - Isolated
llama-serverworker: It uses an upstream, statically builtggml-org/llama.cppengine with-DLLAMA_CURL=OFFand--no-webui. The worker binds to an ephemeral127.0.0.1port and authenticates with a0600tmpfs--api-key-fileunder/dev/shm. - Opt-in cloud burst: This is disabled by default. Oversized contexts
route externally only when explicitly configured with
HARTSANTICLOUD_BURST_URLandallow_cloud_burst: true.
3. Disposable Agent Sandbox Runner
The sandbox module executes untrusted
AI agent tasks and polyglot code in bounded, ephemeral sandboxes.
- Firecracker KVM MicroVMs: Jobs use dedicated
vmlinux.binand ephemeralrootfs.ext4copies, strict vCPU and memory limits, timeout enforcement, and automatic workspace teardown. - Bytecode Alliance Wasmtime (
WASI 1.0): WebAssembly tasks usewasm32-wasip1and strict--max-memory-sizelimits.
4. Pure-SQLite WAL State and Read-Only Analytics
- Transactional state, telemetry rollups, and append-only audit logs
(
inference_auditandsandbox_audit) use SQLite in WAL mode. - Interactive analytics use a separate
SQLITE_OPEN_READ_ONLYconnection withPRAGMA query_only = ONand single-statementSELECTorWITHvalidation. - Audit logs record latency, token and character counts, and estimated dollar savings. They do not retain raw prompt text or model outputs.
5. Native Tauri and Svelte Control Plane
The control-plane uses Tauri v2 and Svelte 5. It displays
live CPU, memory, and NVMe telemetry, runs local CPU inference tests, executes
read-only SQLite audit queries, and launches disposable Firecracker or
Wasmtime sandboxes.
- Real-Time Cloud Cost Savings Counter: Tracks every local inference call
versus opt-in cloud burst activity in the local SQLite audit log
(
inference_audit) and displays cumulative dollar savings in the Control Plane dashboard.
Resetting Telemetry & Savings Counters
To reset the node's historical SQLite WAL telemetry, audit logs
(sandbox_audit and inference_audit), and cumulative cloud cost savings
counter back to $0.0000, stop the supervisor service before removing the
database files. Back up state.db first if you need to retain audit logs.
systemctl --user stop hartsanticloud-supervisor.service
rm -f /var/lib/hartsanticloud/sqlite/state.db*
systemctl --user start hartsanticloud-supervisor.service
Tier-Scaled Model Provisioning & Bandwidth Overrides
On first boot, hartsanticloud-supervisor automatically provisions the Liquid
AI model matched to your node's detected RAM tier. It also provisions the
~36 MB bge-small-en-v1.5-q8_0.gguf local embedding model.
| Hardware Tier | Detected RAM | Default Liquid AI Model | First-Run Download |
|---|---|---|---|
Entry16G |
< 28 GiB |
LFM2.5-1.2B-Instruct-Q4_K_M.gguf |
~700 MB |
Pro32G |
28 β 55 GiB |
LFM2.5-8B-A1B-Q4_K_M.gguf |
~5.0 GB |
Enterprise64GPlus |
>= 56 GiB |
LFM2.5-24B-A2B-Q4_K_M.gguf |
~14 GB |
To keep a 32 GB+ node on the lightweight ~700 MB Entry16G model, set
HARTSANTICLOUD_FORCE_ENTRY_MODEL=1 in /etc/default/hartsanticloud or in
the systemd service environment. This is useful on metered connections or for
faster CPU inference while retaining Pro32G context, SQLite cache, and
microVM limits.
Local Knowledge Vault, Offline Transcription & MCP Tool Bridge (mcp-bridge)
Every Hart's Anti-Cloud node includes an embedded sqlite-vec vector vault (384-dim bge-small-en-v1.5-q8_0.gguf), pure-Rust document extraction (.pdf, .docx, .xlsx, .xls, .ods, .csv, .md, .txt), offline whisper.cpp audio transcription (ggml-base.en-q5_1.bin on Entry16G, ggml-small.en-q5_1.bin on Pro32G+), and a zero-TCP-port Model Context Protocol (MCP) stdio bridge.
Local coding agents and IDEs (Claude Code, Cursor, Zed, Continue) can connect directly over stdin/stdout with zero open network ports while the supervisor authenticates over your 0600 AF_UNIX socket (/var/lib/hartsanticloud/run/supervisor.sock):
{
"mcpServers": {
"harts-anticloud": {
"command": "/opt/hartsanticloud/bin/hartsanticloud-supervisor",
"args": ["mcp-bridge"]
}
}
}
Or register it in one command with Claude Code:
claude mcp add harts-anticloud -- /opt/hartsanticloud/bin/hartsanticloud-supervisor mcp-bridge
| Exposed MCP Tool | Capability |
|---|---|
local_ai_chat |
Runs local zero-egress Liquid AI (LFM2.5) inference on the CPU, with optional use_vault_rag context injection. |
vault_ingest_document |
Extracts .pdf, .docx, .xlsx, .xls, .ods, .csv, .md, and .txt files and indexes embeddings into sqlite-vec. |
vault_semantic_search |
Executes 384-dimensional dense-vector KNN similarity search across the local knowledge vault. |
transcribe_audio_file |
Transcribes .wav, .mp3, .ogg, .flac, or .m4a completely offline with whisper-cli and can optionally index the transcript into the vault. |
sqlite_readonly_query |
Executes read-only SELECT/WITH diagnostics against telemetry_rollups, inference_audit, sandbox_audit, and vault_documents. |
Repository Layout
hartsanticloudsoftware.com/
βββ crates/
β βββ hw-scaler/ # Hardware probe and tier auto-scaler
β βββ supervisor/ # AF_UNIX daemon, AI worker, and sandbox manager
βββ control-plane/ # Tauri v2 and Svelte 5 desktop UI
βββ infra/ # Flatcar Ignition and Butane node configs
βββ scripts/
β βββ build-release-bundle.sh
βββ THIRD_PARTY_PACKAGES.md
βββ SECURITY.md
βββ PRIVACY.md
βββ TERMS.md
βββ LICENSE.md
Quick Start: End-User Installation
Packaged releases require no compilers or build tools.
cd dist-release
./install.sh
The installer places precompiled static binaries under
/opt/hartsanticloud/bin/, installs the .deb desktop package, enables the
hartsanticloud-supervisor systemd user service, and provisions the verified
Liquid AI model.
Building from Source
# 1. Build the release Rust supervisor
cargo build --release -p hartsanticloud-supervisor
# 2. Run it in local development mode
HARTSANTICLOUD_DATA_DIR=/tmp/hartsanticloud-dev \
./target/release/hartsanticloud-supervisor
# 3. Launch the Tauri and Svelte Control Plane
cd control-plane
npm install
HARTSANTICLOUD_DATA_DIR=/tmp/hartsanticloud-dev npm run tauri dev
# 4. Generate the complete customer release bundle
./scripts/build-release-bundle.sh
License and Governance
- License: Apache License 2.0
- Privacy Policy: PRIVACY.md
- Security Policy: SECURITY.md
- Terms of Service: TERMS.md
- Third-Party Packages: THIRD_PARTY_PACKAGES.md
Model tree for golfgolfgolf200/hartsanticloud-edge-runtime
Base model
LiquidAI/LFM2.5-1.2B-Base