The Product

How LOCI fits your loop.

One signal layer.Plan, Write, PR, Merge.Claude Code, Cursor, Copilot.


See it in action

LOCI demo step by step.

LOCI brings trust to your agentic workflow.

LOCI · CUDA /plan — end state preview
  • Verdict + evidence in seconds
  • Trained on real CPU hardware traces
  • No instrumentation, no runtime
  • Claude Code · Cursor · Copilot · agent-agnostic
See how /plan talks back

The Cockpit·Live UI

LOCI rides beside your terminal.

Like k9s for your coding agent — a cockpit that mirrors every catch and turns it into a quantified signal, live in the periphery. The agent stays your workspace; LOCI rides alongside.

ble-gateway — agent
USERcut power on the BLE gateway.
PLANoptimize peer_scheduler_on_notify compute.
LOCIconn-event energy dominates ~100×59.6 µWs/event vs 0.07. The wake cadence is the cost.
ADJUST PLANGood catch. optimize conn-event frequency, not per-notify compute.
loci · cockpit live
LOCI ble-gateway · main · 5 catches · 27 checks · 69 fns
Catches
13:43post-edit⚠ CAUTIONpowerNotifyCb +164.7%…
Value · this branch
First-pass76% clean · 0 plans stopped at /plan
Pushbacks1 hard · 5 caught pre-merge
Babysitting≈10h saved (est.)
LOCI→agent16 raised · fixed · shipped

LOCI Signal Layer · the premise

One signal layer. Every stage of your loop.

Plug in at one stage or the full pipeline. Each stage runs LOCI and emits its own signal class.


Your ladder

Set the ladder once. LOCI guards within it.

You decide when LOCI acts: silent, advisory, gating, or autonomous. Per gate, per repo.

L1 · Watch

Silent surface. Evidence available on demand. Zero PR noise.

L2 · Advise

PR comment with verdict + drill-down. Never blocks; you decide.

L3 · Gate

Blocks merge on critical-gate failure. Advises on the rest.

L4 · Auto

Takes corrective action (reject PR · open revert · escalate). Notifies you after.

Per gate·Per repo·Audit trail

You set the rung for Safety, Performance, Power, and AppSec independently. Every verdict is logged and reversible.


From the loop · what Claude says about LOCI

Claude Codeverbatim
It's not just a timing tool. The execution-aware signaling trains you to think: every line of code is an instruction sequence with real hardware consequences. Variable sizes, memory lifetimes, call ordering — they all show up in the assembly.
Claude Code· BLE_TI session · 2026-04
Pull Request mechanism

How the PR talks back.

One verdict on the PR. One click to evidence. Reviewer and agent see the same data.

  1. 01 · OPEN

    Agent opens the PR

    Diff lands in GitHub or GitLab. Source-only. No behavior info. The reviewer can't see what's about to change at runtime.

  2. 02 · READ

    LOCI reads the compiled binary

    Worst-case timing, energy, stack pressure and side-channel risk measured against main. No instrumentation, no runs.

    34,728 functions · 2 commits · <12s

  3. 03 · POST

    Verdict lands on the PR

    One comment. Pushback · Advisory · Proceed, with the one-line reason and a link to the full forensics.

  4. 04 · OPEN EVIDENCE

    One click · evidence opens

    The LOCI app opens to the exact view that defends the verdict. WCET bars per input, variance, attack model, traced hot path.

What the coding agent gets back & the engineer sees on the PR

LOCI Guardcommented on PR #24622 min ago · binary delta
Pushbackecdsa_sign() · constant-time property lost. Timing correlates with secret-bit count.

WCET sweep across 64 input patterns: floor 30 ns · ceiling 105 ns · variance 3.3×. Matches CVE-2019-1547 signature recovery pattern.

View timing evidence

One comment per PR. Verdict + one-line reason + a deep-link to the timing forensics. No noise, no spam.

What opens when they click “View timing evidence”

LOCI · timing evidence · ecdsa_sign · aarch64

Forensics

WCET per input pattern (64 sampled)

k = 0x00..
30 ns
k = 0x01..
32 ns
k = 0x0F..
62 ns
k = 0x3F..
88 ns
k = 0x7F..
98 ns
k = 0xFF..
105 ns

Higher bits → longer execution. Linear correlation = recoverable side-channel.

Variance

3.3×

floor → ceiling spread

Attack model

~219 sig

to recover the secret

Hot path

ecdsa_sign → scalar_mul → window_lookup

conditional branch on secret bits

Reviewer sees the same data the agent reasons over.Open in LOCI

Same artifact for human reviewer and coding agent. Both reason over the same evidence.

Built on the LCLM engine · evidence is reproducible · same binary in, same signals out.


Merge mechanism · Contract Envelope

How merge stays inside the envelope.

PR-time delivers a finding. Merge-time enforces the envelope. Block if the binary busts it.

4

Guarded

1

Proposed

0

Violations

0

Twin commits

TimingGuarded

T_IFS critical path envelope

135.00 µs

72.00 µs measured

RF + LL ISR combined
(RF_scheduleCmd path + Hwi_dispatchC + Swi_run)

TimingGuarded

RF command path (FSM + schedule + dispatch)

3.50 µs

2.42 µs measured

RF_fsmActiveState + RF_scheduleCmd + Hwi_dispatchC

TimingGuarded

ISR total latency

1.85 µs

1.19 µs measured

Hwi_dispatchC (≤ 1.2 µs) + Swi_run (≤ 650 ns) combined

HeapProposed

OSAL heap alloc worst-case

0.25 µs

0.25 µs measured

osal_mem_alloc on CC2674P10 · LOCI-derived from osal_memory.c

Top heap sites (skeleton)

totalStaticB: 6,144 B
osal_mem_alloc → osal_pool_alloc (32 B)

Stack envelope

+

Add your envelope from loci.contract.toml

Energy envelope

+

Define mJ-per-event budgets the gate will enforce on merge

Guardedenforced on merge · regression trips CI gate
Proposedfrom ingest · promote in your workflow

Real measurements · TI BLE5-Stack · CC2674P10


Know how your software behaves. before it runs.

Use LOCI to predict execution, guide decisions, and keep AI-generated software inside its quality contract.