Skip to content
1picassoai edited this page Nov 18, 2026 · 4 revisions

Kraits Wiki

Kraits combines a llama.cpp Apple Silicon plugin for running large mixture-of-experts models on a 16 GB Mac with kraits-adaptor (v0.6.28) — a zero-dependency AST indexer, KV-prefix lock proxy, and loop-guarded coding-agent harness tested in front of llama-server (--jinja).

How It Works

flowchart TD
    S1["1. You send a bug-fix request to kraits-adaptor (Kraits UI or /v1/chat/completions)"]
    S2["2. kraits-adaptor reads your repo's real files and functions"]
    S3["3. It asks llama-server (your local LLM) for a fix and blocks loops or fake paths"]
    S4["4. It applies the edit and runs pytest on your repo"]
    S5["5. You get a verified git diff and passing test summary"]

    S1 --> S2 --> S3 --> S4 --> S5
    S4 -. "If tests fail, retry safely" .-> S3
Loading

Pages

  • Getting Started — Building kraits-adaptor, running serve against llama-server --jinja, CLI commands, and HTTP / Web UI endpoints.
  • Loop Gates & Benchmarks — How the 6 deterministic harness gates eliminate agent loops, plus full v0.6.28 signed benchmark numbers and known limits (4/4 signed planted bugs, 23/26 across builds, 0/7 multi-file / open issues).

Quick Links

Clone this wiki locally