Local AI laboratory · Apple Silicon

AI that never leaves the building.

Karaibart builds AI systems that run entirely on your own hardware — and proves it, numbers in hand. Multi-model inference infrastructure, sourced RAG, tool-using agents hardened against the OWASP ASI Top 10.

MLXRAGReAct agentsasyncioLLMOpsAgentic security
klody-core · gateway :8090 ● live

Simulation: request routing, 80 GB RAM budget, LRU eviction. Click an organ.

1,162commits
5,472declared tests
17repositories
1,699,549indexed chunks
0open CVE
0third-party request on this site

measured on 2026-08-03 · see the measurement commands

The founding insight

Excellent organs. No nervous system.

I designed and shipped a fully local AI ecosystem: eighteen specialized applications — document RAG, coding agent, speech synthesis, music generation, symbolic score analysis, lore engine, sample indexer, memory guardrail.

Each loaded its own models and ran its own memory — roughly 208 GB of redundant weights on a 128 GB machine. The architect's call was not to write yet another application, but to build the infrastructure that multiplies the value of everything already there: a RAM-aware gateway, a single budget, an eviction policy that decides.

Since then the ecosystem has cleared three milestones: full independence (the last third-party runtime is gone), agentic hardening (OWASP ASI Top 10 translated into real controls, supply chain taken from 122 CVEs to 0) and proactivity (the assistant observes its own usage and proposes, under a hard anti-spam cap).

Read the full method →

  • 01

    Sovereignty

    Zero cloud, zero telemetry, enforced loopback bind. Your data never leaves the machine.

  • 02

    Pooling

    A RAM-aware gateway shares tens-of-GB models across every application under a single budget.

  • 03

    Maturity

    Supervised services, nightly quality eval, reusable abstractions. Engineering, not prototype.

  • 04

    Proof, not promise

    Every claim is measured before it is written: phys_footprint rather than ps rss, cosine verified before migration, latencies quoted cold as well as warm.

The laboratory

What runs, and what it cost to learn.

Every project has its page: what it is, the architect's call, and what went wrong. Post-mortems are worth more than screenshots.

Library Brain

In prod

100% local RAG

Answers sourced only from the books (zero hallucination). 24,799 books, 1.68 million chunks, a 21 GB database, cross-encoder reranking, cross-lingual.

SQLite FTS5sqlite-vecbge-m3
Read →

See all 18 projects

Security & compliance

Security is not an end-of-project phase.

An agent that executes code, reads files and remembers is an attack surface, not a demo. These are the controls actually running on my own ecosystem — the same ones I install for a client.

1220

Python supply chain: 122 → 0 CVEs

First audit pass across four production environments: 122 known vulnerabilities. Cleared entirely — including the real root cause, a command-line tool installed inside a service's virtual environment, pinning stale versions there. Three CVEs with no upstream fix are tracked by name and reviewed monthly. A nightly audit section now goes red the moment one reappears.

Code execution in a jail

Any model-produced code runs in a sandbox: network cut, writes confined to a throwaway directory, reads of SSH keys, cloud credentials and keychains denied. A probe tests the jail before each run — leaky jail, red build.

ASI05

Un-poisonable memory

The memory → prompt path is sanitized end to end, agent and speech synthesis included. A note stored yesterday cannot become an instruction today.

ASI06

Locked tool paths

Nine write sinks go through symlink-resistant path resolution bounded to declared roots; model names are filtered by allowlist.

ASI02

Machine identity inventory

17 services catalogued, all loopback-bound, a single external credential across the whole ecosystem — and a flag reduces it to read-only.

ASI03

Nightly eval, 10 sections

Answer quality, code executed under pytest, supply chain, system posture, journal freshness. A red verdict is a signal, not decoration: it has already triggered real fixes.

Gates

Network & host posture

Firewall on in stealth mode, disk encryption, every service bound to 127.0.0.1, telemetry off by default, secrets never inline in service files.

Host

Services

Three ways to work together.

For organizations whose data cannot leave the building: healthcare, legal, defence, finance, public sector. An engagement ladder — start small, continue if it earns its keep.

01

Audit

Security & reliability of an LLM or agentic system

I take your system as it actually runs and look for where it breaks — not in theory, in your code.

Fixed fee — on request3–5 days

Read →
03

Retainer

Continuous eval, CI gates, observability

An AI system degrades silently. Mine is watched every night; yours can be too.

Monthly — on requestrecurring

Read →

Your data cannot leave the building?

That is precisely the problem I solve. A 30-minute call is enough to scope an audit.