Skip to content

v1.2Open source · In development

Agents propose.
LokiAI executes.
You approve.

LokiAI is a desktop app and local runtime that lets coding agents inspect, build, flash and test micro-devices through scoped tools. Every consequential action waits for you, and every step is recorded.

01The idea

The agent thinks. LokiAI holds the keys.

Coding agents can edit firmware, but they cannot safely operate the hardware it runs on. LokiAI sits in between.

  1. 01

    Agents investigate and propose

    Codex, Claude Code, Cursor and other MCP clients read evidence and request changes. They never receive a shell, a serial port or your credentials.

  2. 02

    LokiAI holds the authority

    It authenticates the request, checks policy, runs the job, watches the device and records what happened.

  3. 03

    You make the final call

    Restarts, flashes, deployments and rollbacks are high risk by default. They wait for your approval.

02How it runs

From a symptom to a verified fix

One loop, with a person in it. Nothing skips a step, and each step leaves a record.

  1. 01

    Collect evidence

    Telemetry and bounded, redacted logs come from the connected device.

  2. 02

    Open an incident

    Rules turn that evidence into an incident, with its context attached.

  3. 03

    Propose

    Your coding agent investigates and asks for a build or a change through typed tools.

  4. 04

    Approve

    LokiAI shows exactly what will run. You accept it or refuse it.

  5. 05

    Execute

    Builds, flashes, restarts and tests run as durable jobs with an audit trail.

  6. 06

    Verify and record

    LokiAI checks the real outcome and writes it to the activity trail.

03Hardware

One board, certified end to end

The first target is the ESP32-S3 (N1R8 module). The connector contract is device-neutral, so other families can follow without changing the shared layers.

  • Discovery goes only through registered connectors, and every result names the connector and its evidence.
  • ESP32-specific code lives in its own connector, never in the shared domain or transport layers.
  • Only the ESP32-S3 path is being certified in v1.2. The interface shows more families than that.

04Safety

Built so an agent cannot overreach

The limits are in the contracts, not in a prompt. The runtime enforces them whichever agent is connected.

No raw shell
Tools take typed parameters. They do not accept commands, scripts, URLs or free paths.
Approval is not a flag
An agent cannot pass approved: true. A consequential tool returns a denial, an approval request or a job.
Builds are contained
Firmware builds run in an isolated executor that does not inherit LokiAI credentials or device access.
Secrets stay out of the interface
The renderer gets a minimal session projection. Refresh tokens never sit in renderer storage.
Logs are untrusted text
Device logs are redacted and bounded, and they are treated as untrusted input to an agent.

Read the security model

Monitoring runs in the runtime, not in the window, so it can later move to an always-on gateway.

05The desktop app

Eight areas, one window

The visual and interaction baseline is accepted. The Electron shell, the runtime and the real hardware paths are still being built.

  • 01

    Dashboard

    What needs attention across the workspace.

  • 02

    Devices

    Connected hardware, its connector, capabilities and health.

  • 03

    Monitoring

    Telemetry and logs, collected by the runtime even when the window is closed.

  • 04

    Incidents

    Evidence-backed problems and where each one stands.

  • 05

    Agents

    Which coding agents are connected, and what they have run.

  • 06

    Deployments

    Artifacts, targets, stages and verification.

  • 07

    Activity

    The full trail of who asked for what, and what happened.

  • 08

    Settings

    Workspace, policy and connection settings.

06Open source

Early, and honest about it

The repository is public so you can read how the limits are enforced before you rely on them.

Runtime
A Rust workspace of 20 crates: jobs, storage, approvals, monitoring, incidents, connectors and the build executor.
Desktop
An Electron shell around the accepted React and TypeScript interface.
Agents
One MCP server, so Codex, Claude Code, Cursor and later clients see the same tools.
Status
In development. Treat anything not marked as verified in the repository as not yet working.
Version
v1.2 is the current line. The Docs hold the earlier releases.

Read the code. Judge the approach.

Everything described here is in the repository, along with the documents that define it.