RESEARCH

We ship what we research.
And teach what we ship.

The papers, the open source, and the playbooks behind everything Cohorte builds and teaches. Every claim we make about trust and verification traces to something on this page.

Read the papers
Why this exists

The work that grounds the practice.

Cohorte publishes its methods openly: black-box reliability certification for systems you cannot see inside, a taxonomy of what makes coding agents seek a planted backdoor, and the orchestration architecture behind the open-source stack. Plausible and correct are not the same thing.

Interactive

A reliability number for a black box.

TrustGate turns a model output into a single number: at what confidence can a practitioner trust this system on this task. Pick a model and a task. Slide the target confidence. Watch the conformal cutoff move.

No model call. Every number is published.

Papers

Open research.

Black-Box Reliability Certification for AI Agents via Self-Consistency Sampling and Conformal Calibration

Charafeddine Mouzouni · Under review, TMLR (double-blind) · 2026

Given a black-box AI system and a task, how far can a practitioner trust its answers? We answer with a single reliability level per system-task pair that needs only API access: each query is answered K times, the distinct answers are ranked by frequency, and split-conformal calibration of that rank gives a finite-sample, distribution-free guarantee.

Result: Across five benchmarks and five models from three families, the reliability level ranges from 66.5% (GPT-4.1-nano on MMLU) to 96.8% (GPT-4.1 on TruthfulQA). Two negative findings are reported with them: a single-call LLM judge approves 38 to 94% of the incorrect answers it sees, and certified early stopping saves no samples at typical API budgets.
StatusUnder review at TMLR
ImplementationTrustGate (open source)

Invitations to Search: System-Prompt Sentences That Raise Backdoor-Seeking in Coding Agents

Charafeddine Mouzouni · Cohorte AI · arXiv preprint · 2026

Which system-prompt sentences send a coding agent looking for a planted test-runner backdoor? Agents solved programming tasks in Docker sandboxes, every prompt carrying an explicit access-policy instruction plus one varied sentence. 36 sentences across 12 dimensions on four models, 4,968 valid trials of 7,400 attempted. The harness measures backdoor-seeking, not cheating: it cannot tell whether an agent relied on the file it found.

Result: Only two of 144 comparisons survive correction, both on Claude Sonnet 4: a puzzle frame and a capture-the-flag frame raised seeking from 0/150 to 39% and 34% over three runs. CTF framing also raised it on o4-mini, GPT-5-mini and DeepSeek-V3 to 9–13%. GPT-4.1 was never flagged in 2,250 trials.
StatusarXiv preprint, 2026
Code & dataPublic repository

Context Kubernetes: Declarative Orchestration of Enterprise Knowledge for Agentic AI Systems

Charafeddine Mouzouni · arXiv preprint, v4 · December 2026

Delivering the right knowledge, to the right agent, with the right permissions, at the right freshness, within the right cost envelope, across an organization, is structurally the container-orchestration problem Kubernetes solved a decade ago. We introduce a declarative manifest, a reconciliation loop, and a permission model in which an agent's authority is a strict subset of its user's, with high-risk actions approved over a channel the agent cannot read or write.

Result: A 3,711-line prototype on a synthetic corpus of eight documents. The main finding is our own failure, missed in versions 1 to 3: unscoped connectors stamped every file with the connector's own role, so the governed pipeline sent HR and finance content to a sales agent in most queries while every permission check passed. With the labels corrected, a size-matched access-control filter answers more of the queries the agent may answer, 116 of 134 against 105, at the same pooled precision. Access control is only as good as its labels.
StatusarXiv preprint, v4 (December 2026)
Reference implementationContext Kubernetes (open source)

Congestion or Temperature? Expert Routing as a Mean-Field Game, Tested Across Mixture-of-Experts Training

Charafeddine Mouzouni · arXiv preprint, v2 · December 2026

A congestion game is the textbook model of how a Mixture-of-Experts router trades expert quality against load. We fit its mean-field version, whose single parameter is a congestion coefficient, to 14 public training checkpoints of OLMoE-1B-7B. Near balanced load, the equilibrium agrees to first order with softmax routing at a shifted temperature, so congestion and temperature are confounded.

Result: Once a temperature is fitted alongside congestion, no positive congestion improves the fit by more than 0.002, and the constrained fit returns zero in every layer at every checkpoint but one. What training changes is the effective temperature: 0.95, falling to 0.90 by step 25K, rising to 1.08 at the released model. Version 1 reported a three-phase congestion trajectory. It came from an estimator that is not invariant to a common shift of the gate logits, and v2 withdraws it.
StatusarXiv preprint, v2 (December 2026)
Code & dataPublic repository
Playbooks

Between the papers and the practice.

Cost playbook · what the bill buys

The Enterprise Token Economics Guide

A finance director asks what a forty-one thousand euro monthly AI bill buys, and nobody can say what one accepted result costs. The book answers in sequence: one meter in front of every model, then the levers the providers already sell, then compiling a process the frontier model has cracked so plain code and a small model run the volume while judgment is paid for once. 16 chapters, four appendices, a runnable cost model and a compiled invoice procedure with its golden set. The worked company is invented and its figures synthetic; the named companies' results are self-reported, and no audited before-and-after of the approach has been published.

Free · cohorte.co/playbooks
Build playbook · owning the stack

Building a Proprietary Agentic Platform

A hands-on build: an interface, a worker, a model gateway and a persistent workspace, assembled around one modest maintenance task. Permissions checked before the model sees data, loop limits, documents that cannot authorize actions, and a private model swapped in behind a gateway. 22 chapters, three appendices and a runnable reference stack. The application is a teaching lab; container, GPU and observability runs were not executed.

Free · cohorte.co/playbooks
Market map · verification tooling

The Agent Verification Map

A documentation study of fifteen agent evaluation and verification products, placed on two axes: what each one examines, and whether it reads test cases or records from the running application. Seven measurement types, a risk grid, eight shared fixtures for a buying test, and an attached proof kit of eighteen synthetic evidence packets that runs locally. Product performance was not independently measured.

Free · cohorte.co/playbooks
Field guide · the harness

The Harness Engineering Playbook

The runtime that decides what a model's proposals become: context, tools, permissions, state, coordination, verification, and controlled evolution. Eight parts, twenty-one chapters, a recurring failure-injected case, and twenty-two copyable field artifacts. 640 pages for architects, platform leads, and risk owners.

Free · cohorte.co/playbooks
Field guide · evaluation

The Agent Eval Playbook

How to evaluate LLM agents and build reliable ones in production: the methods top labs actually use, with the math, the mechanisms, and the runnable parts. Seven parts, twenty chapters, three appendices.

Free · cohorte.co/playbooks
Playbook · the platform

The Enterprise Agentic Platform

A four-layer reference architecture for putting agents into a serious organization: local agents on each machine, a governance middleware that mediates every organisational call, a permission model where agent authority is a strict subset of human authority, and a reliability layer that proves the output. Ten chapters, four appendices, written for architects and CISOs.

Free · cohorte.co/playbooks
Playbook · accountability

From Autonomous Agents to Accountable Systems

Why autonomy is the wrong target, why accountability is the right one, and how to design a system whose outputs a human can sign for under audit.

Free · cohorte.co/playbooks
Put it to work

Bring the method to your team.

The papers are public, the code is open. The harder work is installing reliability and accountability inside a team that already exists. That is what we do.