Independent research · **AI Reliability Engineering**

# AI Reliability Engineering: Trust, and verify.

AI Reliability Engineering: open-source tools and ten arXiv preprints for reliable AI agents. Memory, contracts, testing, skill security, loops.

URL: https://qualixar.com


Open-source tools and arXiv preprints that make AI agents show their work: memory with a source, decisions with a receipt, contracts that hold, tests that account for randomness, and skills checked before they run.

Explore the tools Read the papers

**10** arXiv preprints **17** open-source tools **Local-first** · runs on your machine

Papers: Bounded Loops, Agent Behavioral Contracts II, SuperLocalMemory 4.0, Qualixar OS, SuperLocalMemory V3.3 — The Living Brain, SuperLocalMemory V3, AgentAssay, Supply Chain Security for Agentic AI Skills, Agent Behavioral Contracts, SuperLocalMemory — Bayesian Trust Defense.

Fig. 1

## A loop stops when the gate says so, not when the agent does.

One bounded loop, replayed. The agent writes a patch, an independent gate runs the tests, and only a passing verdict ends the run.

Bounded Loops · arXiv:2609.27871 iteration 0 / 5

**

$ bl run refactor-auth --gate tests

iter 1 · agent patch written

iter 1 · gate FAIL · 41/44 tests

iter 2 · agent patch revised

iter 2 · gate FAIL · 43/44 tests

iter 3 · agent patch revised

iter 3 · gate PASS · 44/44 tests

terminal=DONE · ledger written

Illustrative replay. The live figure will play back a recorded run with a link to its ledger.

7 flagship tools

## Each one catches a different way agents fail.

Every chapter states what the tool claims and links to the paper and code that back it. Where a tool has published limits, they sit next to the claim.

Memory · **SuperLocalMemory**

### Agents forget. Shared memory gets poisoned.

A governed, local-first memory system for agents. Every recall points back to where it came from, and a writer whose facts keep failing verification loses influence over what gets recalled.

- 70.4% on the LoCoMo benchmark with no LLM in the loop (V3.3, Mode A) [arXiv:2604.04514](https://arxiv.org/abs/2604.04514)
- 7 retrieval channels, including semantic, keyword, entity graph, temporal and spreading activation [arXiv:2604.04514](https://arxiv.org/abs/2604.04514)
- 72% trust degradation for sleeper attacks, from Bayesian trust scoring [arXiv:2603.02240](https://arxiv.org/abs/2603.02240)
- 2,199/2,200 scoped component properties upheld across eleven fault-injection scenarios, each run 200 times [arXiv:2608.08253](https://arxiv.org/abs/2608.08253)

Verify it

Paper [SuperLocalMemory 4.0 · arXiv:2608.08253](https://arxiv.org/abs/2608.08253)

Code [github.com/qualixar/superlocalmemory](https://github.com/qualixar/superlocalmemory)

Licence AGPL-3.0

Page [Full SuperLocalMemory page](https://qualixar.com/products/superlocalmemory)

Illustration with example data: write, recall with a receipt, trust decay, local-only mode

Orchestration · **Qualixar OS**

### One runtime for every agent framework.

Qualixar OS designs a team for each task, routes every step to a model, has judges check the output, and steps down a tier when parts fail instead of going silent.

- 12 multi-agent topologies with formal execution semantics, including grid, forest, mesh and maker [arXiv:2604.06392](https://arxiv.org/abs/2604.06392)
- 2,821 test cases across 217 event types and 8 quality modules [arXiv:2604.06392](https://arxiv.org/abs/2604.06392)
- 4 degradation tiers: autonomous swarm, deterministic graph, single agent, human in the loop (README)

Verify it

Paper [Qualixar OS · arXiv:2604.06392](https://arxiv.org/abs/2604.06392)

Code [github.com/qualixar/qualixar-os](https://github.com/qualixar/qualixar-os)

Licence FSL-1.1-ALv2

Page [Full Qualixar OS page](https://qualixar.com/products/qualixar-os)

Illustration of one task through Forge, routing, judges and the degradation ladder

Coordination · **SLM Mesh**

### Parallel coding sessions that don't collide.

SLM Mesh lets AI coding sessions on one machine find each other, message, lock files and share state through a broker on localhost. Nothing leaves the machine.

- 8 MCP tools for discovery, messaging, file locks and shared state (README)
- 10 min default lock timeout, so a crashed session never holds a file forever (README)
- 127.0.0.1 the only address the broker binds to, with a random 32-byte token per session (README)

Verify it

Code [github.com/qualixar/slm-mesh](https://github.com/qualixar/slm-mesh)

npm [slm-mesh](https://www.npmjs.com/package/slm-mesh)

Licence Elastic-2.0

Page [Full SLM Mesh page](https://qualixar.com/products/slm-mesh)

Illustration of three sessions coordinating through the local broker

Decisions · **Jev Decision Layer**

### Give your agent a bounded choice. Get a typed answer and a local receipt.

An open-source decision layer for agents: typed task, tool, skill and review routing, local policy gates, and an auditable receipt for every decision.

Published limits

- Confidence and probabilities are advisory; thresholds are uncalibrated defaults.
- Synthetic self-tests check local gates, not decision-model accuracy or end-to-end savings.
- Host adapters have different verification evidence. Review the host guide before adopting.

Verify it

Code [github.com/qualixar/jev-decision-layer](https://github.com/qualixar/jev-decision-layer)

Release [v1.0.15 · reviewed 2026-10-31](https://github.com/qualixar/jev-decision-layer/releases/tag/v1.0.15)

Licence MIT

Page [Full Jev Decision Layer page](https://qualixar.com/products/jev-decision-layer)

Illustration of one decision; values are examples

Contracts · **AgentAssert**

### Prompts express intent. Contracts enforce it.

Design-by-contract for autonomous agents. Preconditions, invariants, governance policies and recovery are stated formally and checked at runtime, so a violation is caught at the step that caused it.

- 1,980 sessions across 7 models from 6 vendors [arXiv:2602.22302](https://arxiv.org/abs/2602.22302)
- 88–100% hard-constraint compliance, with drift bounded and under 10 ms per action [arXiv:2602.22302](https://arxiv.org/abs/2602.22302)
- 90% of missions where one instance failed, a second instance of the same model failed too, over 18,000 code-scored missions [arXiv:2608.12895](https://arxiv.org/abs/2608.12895)

Verify it

Papers [Agent Behavioral Contracts I · arXiv:2602.22302](https://arxiv.org/abs/2602.22302)

[Agent Behavioral Contracts II · arXiv:2608.12895](https://arxiv.org/abs/2608.12895)

Code [github.com/qualixar/agentassert-abc](https://github.com/qualixar/agentassert-abc)

Licence AGPL-3.0

Page [Full AgentAssert page](https://qualixar.com/products/agentassert)

Illustration of a runtime contract check

Testing · **AgentAssay**

### You can't diff an agent's output against a golden file.

The output legitimately changes every run, so AgentAssay tests the distribution instead of one sample: stochastic verdicts over repeated runs, reached in a fraction of the tokens a naive repeat-and-compare would spend.

- SPRT lets a test stop when it has enough evidence. The paper compares it with a fixed-size trial plan. [arXiv:2603.02601](https://arxiv.org/abs/2603.02601)
- 86% detection power from behavioural fingerprinting, where binary testing has 0% [arXiv:2603.02601](https://arxiv.org/abs/2603.02601)
- 3 verdicts: pass, fail, or not enough evidence yet

Verify it

Paper [AgentAssay · arXiv:2603.02601](https://arxiv.org/abs/2603.02601)

Code [github.com/qualixar/agentassay](https://github.com/qualixar/agentassay)

Licence AGPL-3.0

Page [Full AgentAssay page](https://qualixar.com/products/agentassay)

Illustration of a stochastic verdict; counts are simulated

Security · **SkillFortify**

### A skill runs with your agent's full privilege. Check it first.

Static analysis, provenance verification and a bill of materials for agent skills, so a skill can be judged before it executes.

- 96.15% F1 on its detection experiments, re-measured on the released v0.6.0 [arXiv:2603.00195](https://arxiv.org/abs/2603.00195)
- 5 theorems with full proofs [arXiv:2603.00195](https://arxiv.org/abs/2603.00195)
- v2 The revision publishes its own negative result: information-flow analysis added no detections over pattern matching on this corpus

Verify it

Paper [Supply Chain Security for Agentic AI Skills](https://arxiv.org/abs/2603.00195)

Code [github.com/qualixar/skillfortify](https://github.com/qualixar/skillfortify)

Licence Elastic-2.0

Page [Full SkillFortify page](https://qualixar.com/products/skillfortify)

Illustration with sample findings

The rest of the toolkit

## 10 more tools, same rules.

Each one is open source, installable today and linked to its code. Bounded Loops has its own paper.

Loops

### [Bounded Loops](https://qualixar.com/products/bounded-loops)

Agent loops and graphs that end on an independent gate, with an append-only ledger of every iteration.

On a 69-loop catalogue its instrument found 47 vacuous gates in shipped, reviewed code.

[arXiv:2609.27871](https://arxiv.org/abs/2609.27871) [Code](https://github.com/qualixar/bounded-loops) Apache-2.0

Gateway

### [SLM MCP Hub](https://qualixar.com/products/slm-mcp-hub)

One hub process in front of every MCP server and every AI client, with federated tool discovery, a shared cache and cost telemetry.

[Code](https://github.com/qualixar/slm-mcp-hub) AGPL-3.0

Runtime

### [Agent Amplifier](https://qualixar.com/products/agent-amplifier)

Deterministic hooks for coding agents: effort routing, goal anchoring, convergence detection and token budgeting.

[Code](https://github.com/qualixar/agent-amplifier) AGPL-3.0

Workbench

### [ModStage](https://qualixar.com/products/modstage)

Run Codex, Grok, Gemini, Kimi, Qwen Code, OpenCode and Claude subagents side by side inside Claude Code: watch, steer and approve every step.

[Code](https://github.com/qualixar/modstage) MIT

Interfaces

### [touchless-mac](https://qualixar.com/products/touchless-mac)

Control your Mac with your hand through the built-in camera: point, pinch to click, thumb and ring finger to scroll. Fully local, written in Rust.

[Code](https://github.com/qualixar/touchless-mac) MIT

Bots

### [Claude Bot Bridge](https://qualixar.com/products/claude-bot-bridge)

Claude Code hands tasks to Meta's Muse: a quick question typed into the open Muse chat on your Mac, or a job on a task board you host yourself.

[Code](https://github.com/qualixar/claude-bot-bridge) AGPL-3.0

Video

### [brief2mp4](https://qualixar.com/products/brief2mp4)

Write a video brief in Claude Code or Codex and get an MP4 checked against every line of it, with a report that shows the evidence.

[Code](https://github.com/qualixar/brief2mp4) MIT

Web motion

### [brief2motion](https://qualixar.com/products/brief2motion)

Write a plain brief and get a website with scroll animation, 3D and page transitions, measured in a real browser before you see it.

[Code](https://github.com/qualixar/brief2motion) MIT

Memory

### [SuperLocalMemory Plugin](https://qualixar.com/products/superlocalmemory-plugin)

SuperLocalMemory as a Claude Code plugin: local long-term memory, skills, advisor agents and hooks in one install.

[Code](https://github.com/qualixar/superlocalmemory-plugin) AGPL-3.0

Setup

### [Craft Studio Setup](https://qualixar.com/products/craft-studio-setup)

One command installs free Office and Adobe alternatives on your Mac and connects them to Claude Code and Claude Desktop over MCP.

[Code](https://github.com/qualixar/craft-studio-setup) MIT

Watch · **Qualixar AI on YouTube**

## See the tools run.

New films and shorts appear here as they are published. Every film opens on qualixar.com with the transcript beside the player.

[Latest 6:58

### Claude Code Built My First Game. I Called It Boring.](https://qualixar.com/watch/claude-code-built-my-first-game-i-called-it-boring-z15oj012sea)

Latest shorts

[AI Makes Videos With Code. Who Checks the Cut?](https://www.youtube.com/shorts/XdYDqkbOO1E) [I'd Never Made a Game. Claude Code Built This in 4 Hours #claudecode #gameplay #gaming](https://www.youtube.com/shorts/U3RD88G16eo)

Most watched

[11:42

### Stop Prompting Your AI Agents. Build Loops That Can't Wreck You.

6,090 views](https://qualixar.com/watch/stop-prompting-ai-agents) [12:37

### (Loop Engineering Vol. 1) The Inner Loop, the Outer Loop, and the Gate: What Nobody Explains.

3,140 views](https://qualixar.com/watch/loop-engineering-vol-1-the-inner-loop-the-outer-loop-and-the-gate-what-nobody-explains-4uda7m_cwuk) [4:04

### 74.8% on the AI Memory Benchmark — No Cloud, No GPU

2,901 views](https://qualixar.com/watch/74-8-on-the-ai-memory-benchmark-no-cloud-no-gpu-av2n-wn11f4) [11:59

### The Great AI Unwinding: Why IT Is Quietly Collapsing

2,832 views](https://qualixar.com/watch/great-ai-unwinding)

View counts from YouTube as of 30 Nov 2026.

[Subscribe on YouTube](https://www.youtube.com/@Qualixar-AI?sub_confirmation=1) [All films and shorts](https://qualixar.com/watch) [About the Author](https://www.varunpratap.com) [GitHub](https://github.com/qualixar) [@varunPbhardwaj on X](https://x.com/varunPbhardwaj) [LinkedIn](https://www.linkedin.com/in/varun-pratap-bhardwaj-7ab63742/) [Instagram](https://www.instagram.com/qualixar_ai/) [Facebook](https://www.facebook.com/qualixar) [Bluesky](https://bsky.app/profile/varun369.bsky.social) [Mastodon](https://mastodon.social/@varun369) [arXiv author page](https://arxiv.org/a/bhardwaj_v_1.html)

Papers · **10 preprints**

## The research behind the tools.

All are preprints on arXiv, and the titles here match arXiv exactly. [Open the full research page](https://qualixar.com/research/papers).

arXiv:2609.27871 2026-08-20 cs.SE preprint Bounded Loops

### Bounded Loops: Pre-Run Spend Bounds, Proved Termination, and Verified Completion for Agent Harnesses

The instrument found 47 vacuous gates — checks satisfied by the absence of the thing they check — in shipped, reviewed code

Summary

In mainstream agent frameworks a step ends when the agent's own output says it has finished. This paper states what a harness must instead guarantee — that it finishes, does not drift, and does not overspend — and proves each one: termination in closed form under a global repair budget, no DONE without a gate verdict in an append-only hash-chained ledger, and a spend ceiling enforced inside an attempt rather than between attempts. It then builds the instrument that measures whether a harness delivers it, characterising two ways a sound-looking check passes anything: vacuity and self-attestation. Engine, catalogue and corpus are Apache-2.0.

Varun Pratap Bhardwaj, Garima Singh, Arun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2609.27871) [Bounded Loops](https://qualixar.com/products/bounded-loops)

arXiv:2608.12895 2026-08-13 cs.AI preprint AgentAssert

### Agent Behavioral Contracts II: Certifying Compositional Reliability Without Assuming Independence

Two instances of the same model failed together on 90% of missions where either failed — independence is not a safe assumption

Summary

Multi-agent reliability analysis routinely assumes component failures are conditionally independent, and almost never tests it. This paper tests it and finds strong positive dependence, which inflates joint failure rates well beyond what independence-based bounds predict. It replaces the assumption with a certificate that assumes no dependence structure at all — a linear program over the joint distribution, bounded by a Bonferroni–Clopper–Pearson box — and proves that fitting a dependence model instead degrades coverage as sample size grows.

Varun Pratap Bhardwaj, Garima Singh, Arun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2608.12895) [AgentAssert](https://qualixar.com/products/agentassert)

arXiv:2608.08253 2026-08-08 cs.AI preprint SuperLocalMemory

### SuperLocalMemory 4.0: The Governed Memory Operating System for AI Agents

Governed memory with scoped component evidence and disclosed negative results

Summary

The revised preprint studies governed local-first memory and distinguishes implementation from verified effectiveness. Component evidence is protocol-scoped; current package behavior requires separate checks.

Varun Pratap Bhardwaj, Garima Singh, Arun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2608.08253) [SuperLocalMemory](https://qualixar.com/products/superlocalmemory)

arXiv:2604.06392 2026-04-07 cs.AI preprint Qualixar OS

### Qualixar OS: A Universal Operating System for AI Agent Orchestration

One substrate for agent orchestration: 12 topologies, Forge team design and three-layer model routing

Summary

Every agent framework reinvents orchestration, and none of them interoperate. Qualixar OS defines a universal substrate: execution semantics for 12 multi-agent topologies, Forge for designing agent teams, three-layer model routing with a Bayesian POMDP, and a consensus-based judge pipeline.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2604.06392) [Qualixar OS](https://qualixar.com/products/qualixar-os)

arXiv:2604.04514 2026-04-06 cs.AI preprint SuperLocalMemory

### SuperLocalMemory V3.3: The Living Brain -- Biologically-Inspired Forgetting, Cognitive Quantization, and Multi-Channel Retrieval for Zero-LLM Agent Memory Systems

Seven retrieval channels and zero LLM calls in the hot path; 70.4% on LoCoMo in zero-LLM mode

Summary

A memory system that never forgets degrades: old facts crowd out current ones and retrieval quality falls. V3.3 borrows the brain's answer — decay curves, consolidation, and quantized cognitive states — and retrieves across six independent channels fused by reranking, without a single LLM call in the hot path.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2604.04514) [SuperLocalMemory](https://qualixar.com/products/superlocalmemory)

arXiv:2603.14588 2026-03-15 cs.AI preprint SuperLocalMemory

### SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memory

75% LoCoMo accuracy without cloud calls, from a four-channel retrieval architecture

Summary

Retrieval quality is usually bought with LLM calls. V3 buys it with geometry instead: memories live on a statistical manifold where relevance is a distance, so ranking is computed rather than generated. The result is a benchmark score competitive with cloud systems, produced entirely on-device.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2603.14588) [SuperLocalMemory](https://qualixar.com/products/superlocalmemory)

arXiv:2603.02601 2026-03-03 cs.AI preprint AgentAssay

### AgentAssay: Token-Efficient Regression Testing for Non-Deterministic AI Agent Workflows

Compare fixed-size and sequential regression tests for AI agents, then see how trace-first analysis can reuse recorded runs.

Summary

You cannot diff an agent's output against a golden file, because the output legitimately differs every run. AgentAssay tests the distribution instead of the sample: stochastic verdicts over repeated runs, with a sampling strategy that reaches a decision in a fraction of the tokens a naive repeat-and-compare would burn.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2603.02601) [AgentAssay](https://qualixar.com/products/agentassay)

arXiv:2603.00195 2026-02-27 cs.CR preprint SkillFortify

### Formal Analysis and Supply Chain Security for Agentic AI Skills

96.15% F1, five theorems with full proofs, and a published negative result on information-flow analysis

Summary

An agent skill is arbitrary code that runs with the agent's own authority, installed from a registry with no review gate. This paper gives the threat model a formal treatment, then builds static analysis, provenance verification and SBOM generation across 22 agent frameworks so a skill can be judged before it executes.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2603.00195) [SkillFortify](https://qualixar.com/products/skillfortify)

arXiv:2602.22302 2026-02-25 cs.AI preprint AgentAssert

### Agent Behavioral Contracts: Formal Specification and Runtime Enforcement for Reliable Autonomous AI Agents

Design-by-contract for agents — invariants that hold on every execution path. 1,980 sessions across 7 models

Summary

Prompts express intent; they do not enforce it. This paper adapts design-by-contract to autonomous agents: preconditions, invariants, governance policies and recovery mechanisms stated formally, then checked at runtime, so a violation is caught at the step that caused it rather than three tool calls downstream.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2602.22302) [AgentAssert](https://qualixar.com/products/agentassert)

arXiv:2603.02240 2026-02-17 cs.AI preprint SuperLocalMemory

### SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning

Shared memory is an attack surface — Bayesian trust scoring that degrades a poisoned writer instead of trusting it

Summary

When several agents write to one memory store, a single compromised agent can poison what every other agent later recalls. This paper models writer trust as a Bayesian posterior updated by downstream outcomes, so a source that keeps producing facts which fail verification loses influence over retrieval — without any of the data leaving the machine.

Varun Pratap Bhardwaj

[Read on arXiv](https://arxiv.org/abs/2603.02240) [SuperLocalMemory](https://qualixar.com/products/superlocalmemory)

Reading path · Loop engineering

## Start here, finish with a loop you can trust.

Four pieces, in order, from the idea to a working gate.

1. [Loop engineering: the inner loop, the outer loop and the gate](https://qualixar.com/research/blog/loop-engineering-inner-outer-loop-gate)
2. [Stop prompting your AI agents. Build loops that can't wreck you.](https://qualixar.com/research/blog/stop-prompting-your-ai-agents)
3. [Bounded Loops and graphs: verified agent completion](https://qualixar.com/research/blog/bounded-loops-graphs-verifiable-ai-agent-completion)
4. [Field guide: build your first gate](https://qualixar.com/learn/guides/bounded-loops-workbook)

§05 / Dispatch

## Join the AI Reliability Engineering movement.

New papers, new releases and field notes from building agents. No fluff.

No spam. Unsubscribe in one click.
