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.
- 01CONTEXT.md
Current facts, decisions, constraints and open questions. Start here.
- 02PRD.md
Who the product is for, what it must do, and how success is measured.
- 03SPEC.md
Exact behaviour: state machines, entities, events and acceptance rules.
- 04ARCHITECTURE.md
The processes, trust boundaries, data flow and the target repository layout.
- 05TECH_STACK.md
The chosen platforms, versions, packaging and dependency rules.
- 06SECURITY.md
Threats, permissions, approvals, secrets, artifacts and Electron controls.
- 07CLOUD_CONTRACT.md
What the website and control plane must provide: APIs, sync, enrollment and notifications.
- 08BUILD_EXECUTION.md
How firmware builds are isolated, contained and traced back to their inputs.
- 09UI_SPEC.md
Desktop navigation, interaction, visual tokens, states and accessibility.
- 10MCP_SPEC.md
What agents can read and call through the MCP server, and the result contracts.
- 11CONNECTOR_SPEC.md
The device-neutral connector contract and the ESP32-S3 certification rules.
- 12TESTING.md
The verification layers and the evidence each one must produce.
- 13RELEASE.md
Packaging, signing, rollout, rollback and the human release gate.
- 14graph/
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
- 01
Ask
You describe the outcome you want.
- 02
Profile
The paired agent reports the device: SoC, accelerators, memory headroom, OS and runtime support.
- 03
Verify
Candidate artifacts are resolved to an exact file, format, size and download URL, then checked against the device.
- 04
Deploy
The device pulls the artifact directly over HTTPS with a device-scoped credential.
- 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.
AvailableLinux ARM Agent
Linux on ARM devices.
BetaRaspberry Pi Agent
Pi 4 and Pi 5 profiles with quantised CPU runtimes.
BetaEdge AI agent
Not built yet.
PlannedIoT agent
Not built yet.
PlannedPartner agents
Not built yet.
Planned
Capabilities
- Hugging Face model discovery and artifact verificationAvailable
- GGUF and TFLite deployment with live progressAvailable
- Per-account tenant isolation and device-scoped credentialsAvailable
- NIM-assisted model discovery and rankingBeta
- Fleet views across paired devicesBeta
Its documentation topics
- Getting started
- Architecture
- Device pairing
- Model compatibility
- Deployments
- Security
- API reference (in development)
- Troubleshooting
- Changelog
Read the specs. Check them against the code.
Everything on this page points to a file in the repository.
