Skip to content

Docs

The LokiAI documentation

LokiAI v1.2 is specified in the repository before it is built. This page is a map of those documents, an honest status, and a reference section for the earlier hosted product.

  • Specs in the repo
  • Read in order
  • In development

01Documentation map

LokiAI v1.2 documentation map

These are the real documents in the Docs folder, in the order the repository recommends reading them. Each link opens the file on GitHub.

  1. 01
    CONTEXT.md

    Current facts, decisions, constraints and open questions. Start here.

  2. 02
    PRD.md

    Who the product is for, what it must do, and how success is measured.

  3. 03
    SPEC.md

    Exact behaviour: state machines, entities, events and acceptance rules.

  4. 04
    ARCHITECTURE.md

    The processes, trust boundaries, data flow and the target repository layout.

  5. 05
    TECH_STACK.md

    The chosen platforms, versions, packaging and dependency rules.

  6. 06
    SECURITY.md

    Threats, permissions, approvals, secrets, artifacts and Electron controls.

  7. 07
    CLOUD_CONTRACT.md

    What the website and control plane must provide: APIs, sync, enrollment and notifications.

  8. 08
    BUILD_EXECUTION.md

    How firmware builds are isolated, contained and traced back to their inputs.

  9. 09
    UI_SPEC.md

    Desktop navigation, interaction, visual tokens, states and accessibility.

  10. 10
    MCP_SPEC.md

    What agents can read and call through the MCP server, and the result contracts.

  11. 11
    CONNECTOR_SPEC.md

    The device-neutral connector contract and the ESP32-S3 certification rules.

  12. 12
    TESTING.md

    The verification layers and the evidence each one must produce.

  13. 13
    RELEASE.md

    Packaging, signing, rollout, rollback and the human release gate.

  14. 14
    graph/

    The task graph, planner, integration rules, traceability, prompts, templates and evidence folders used to run the work.

The folder also holds README.md, the index with the full read order, and RESEARCH.md, which explains why this engineering method was chosen. Agents also follow AGENTS.md at the repository root. For the agent-facing parts, see Developers.

02Status

What exists and what is still to build

The repository describes a system that is mostly not built yet. This is the plain version.

In the repository

  • The accepted visual and interaction baseline: a React and Vite renderer in the LokiAI Desktop UI folder.
  • The specification set listed above.
  • A Cargo workspace with 20 crates and a pnpm workspace with the contracts, IPC client and credential store packages, the MCP server service and the Electron folders.

Still to build

  • Production Electron main and preload processes, and trusted IPC.
  • The Rust runtime, durable encrypted storage and the isolated build executor.
  • The cloud contracts, the working MCP server and a verified ESP32-S3 connector.
  • Signed packaging and release evidence.

The desktop UI is a renderer only. It holds presentation data and browser-local session behaviour. It does not prove working sign-in, hardware access, monitoring, incidents, agent delivery, builds, deployments or updates. To preview it, run npm install and npm run dev in the LokiAI Desktop UI folder. The first certified hardware target is the ESP32-S3 N1R8, and the exact board still has to be confirmed before any flash layout is written.

03Earlier product

LokiAI v1.1: hosted model deployment

Before v1.2, LokiAI was a hosted workspace that discovers, verifies and deploys AI models to devices. It is kept here for reference.

Note: v1.1 is not what the rest of this site describes. Everything else here is about v1.2.

How it works

  1. 01

    Ask

    You describe the outcome you want.

  2. 02

    Profile

    The paired agent reports the device: SoC, accelerators, memory headroom, OS and runtime support.

  3. 03

    Verify

    Candidate artifacts are resolved to an exact file, format, size and download URL, then checked against the device.

  4. 04

    Deploy

    The device pulls the artifact directly over HTTPS with a device-scoped credential.

  5. 05

    Run locally

    Inference runs on the device. The control plane tracks state, not your data.

Device agents

  • Android Agent

    QR pairing, GGUF and TFLite runtimes, live deployment progress.

    Available
  • Linux ARM Agent

    Linux on ARM devices.

    Beta
  • Raspberry Pi Agent

    Pi 4 and Pi 5 profiles with quantised CPU runtimes.

    Beta
  • Edge AI agent

    Not built yet.

    Planned
  • IoT agent

    Not built yet.

    Planned
  • Partner agents

    Not built yet.

    Planned

Capabilities

  • Hugging Face model discovery and artifact verification
    Available
  • GGUF and TFLite deployment with live progress
    Available
  • Per-account tenant isolation and device-scoped credentials
    Available
  • NIM-assisted model discovery and ranking
    Beta
  • Fleet views across paired devices
    Beta

Its documentation topics

  • Getting started
  • Architecture
  • Device pairing
  • Model compatibility
  • Deployments
  • Security
  • API reference (in development)
  • Troubleshooting
  • Changelog

Open the workspace

Read the specs. Check them against the code.

Everything on this page points to a file in the repository.