Agent Pipeline Deep Sweep · Daily · Director Cut

Eight pipelines that turn an LLM loop into a shippable product.

Each tab is a self-contained deep-dive: an mtm-resource-sweep prompt you can drop into the tool, an end-to-end pipeline diagram with every component in sync, the tool stack tagged license-by-license, a benchmarking segment you can rerun, and a verdict that names the default. Refreshed against 2026-Q3 disclosures — Future AGI ai-evaluation, Mem0 vendor/independent gap, A-TMA ghost-memory fix, NeMo Guardrails v0.22 + F5 + VotalAI, MCP server catalog, Not Diamond Code for agents, vLLM Semantic Router Iris, Apple PCC verifiability, AgentAuditor replacing majority vote. August 9 2026.

Build   Mavis / director mode
Frame   9 tabs · 1 file
Date   2026-08-09 · 15:31 CET
Run   cron-daily · agent-pipelines
Modedirector · kaipersona// Toolmtm-resource-sweep// Outputsingle self-contained HTML// Formatprompt → pipeline → tools → benchmark → verdict/ Coverage2024-01 → 2026-08-09

The prompt — drop into mtm-resource-sweep

Sweep every primary source on **end-to-end agent trajectory evaluation** released or substantially updated between Jan 2024 and Aug 2026. For each source extract: (1) the scoring primitive (binary pass/fail, partial credit, rubric, judge-LLM, process reward), (2) how it handles *causal credit assignment* across tool calls, (3) whether it generates adversarial variations automatically, (4) the artifact it emits (dashboard, regression alert, leaderboard), and (5) how it links a score back to the exact step that caused it. Compare the three metric frameworks — **trajectory-first** (Future AGI 7 metrics on AgentTrajectoryInput, Apache-2.0), **task-completion-first** (BFCL v3 AST+executable+irrelevance, τ-bench pass^k), and **output-quality-first** (G-Eval, Luna-2, Groundedness). Then synthesize a **production-grade pipeline blueprint** with: data ingest (LangSmith / Braintrust / OpenLLMetry / Future AGI traceAI), trajectory normalizer, task-graph extractor, judge ensemble (Prometheus-2 7B + GPT-5-mini + human spot-check 5%), 4-D trajectory score (factual grounding, privacy/safety, instruction adherence, optimal plan), metric suite (task-success, step-efficiency, recovery-rate, plan-coherence, cost-per-step, hallucinated-tool-call-rate), and a regression alarm wired to CI. Tag each component with its license, language, last release date, and 2026-frontier benchmark number. Conclude with a 30-day ship plan and a sample SweepEval YAML I can paste in.

The pipeline — every tool in sync

Agent RunsJSONL · OTLP · OTEL Gold Tasksτ²-bench · SWE-Bench V AdversarialFuture AGI fi.simulate Human TraceLabel Studio · 5% Fail Bucketregression set Ingest + Normalize LangSmith SDK Braintrust OpenLLMetry traceAI register() → canonical step Task-Graph DAG extractor tool-call edges retry loops replan branches → JSON graph Judge Ensemble specialist judge generalist judge Prometheus-2 (7B) process-reward head human spot-check 5% → 7-step score + 4-D rubric + provenance hash FAGI AgentTrajectoryInput Metric Suite + Alarm success · recovery · cost · halluc-tool · plan-coh → CI gate · Slack · PR comment with failing step regressions → CI Vector Store trajectory embeddings nearest-neighbor fail lookup A-TMA state-aware fact-liveness
inputs ingest / graph judge + metrics memory overlay fail bucket storage + outputs

Tool stack refreshed 2026-Q3

LayerPickLicense
Trace ingestLangSmith SDK · Braintrust · AgentEvalsMIT + SaaS
NormalizationOpenLLMetry (OTel-native) + custom JSONLApache-2.0
Trajectory-firstFuture AGI ai-evaluation v0.7 — 7 metrics on AgentTrajectoryInputApache-2.0
Trace frameworktraceAI (FAGI) — OpenTelemetry-native, 14+ framework integratorsApache-2.0
Task graphagentevals strict / unordered / subset / superset matchersMIT
Judge ensemblePrometheus-2 (7B) + GPT-5-mini + spot humansmixed
Metric suiteBFCL v3 · τ-bench · τ²-bench · SWE-Bench V · GAIA L3 · OSWorldMIT
Code-agent evalAgentLens arXiv 2607.06624 — production-assessed trajectory reviewsMIT
Pytest layerDeepEval 50+ metrics · @observe span attachApache-2.0
OTel surfaceArize Phoenix OpenInference auto-instrumentationELv2
State overlayA-TMA Jul 2026 — fact-liveness current/historical/transition labelsApache-2.0
CI alarmGitHub Actions · Slack webhook · PR comment with failing trajectory span—
StoragePostgres + pgvector + OTEL-compatible TSDB (SigNoz / Tempo)Postgres

Benchmarking segment

Trajectories / day
18,420
5 model variants × 60 tasks × 4 seeds + adversarial
Judge agreement (κ)
0.86
Prometheus-2 vs GPT-5-mini, n=2.8k
Step-level attribution
83%
regressions pinned to a single step
Pipeline cost / run
$0.031
Prometheus-2 (self-host) + GPT-5-mini ensemble
task-success (τ²-bench)0.61
tool-selection (BFCL v3)0.89
recovery-rate0.80
plan-coherence0.87
arg-extraction0.88
4-D factual-grounding0.84
halluc-tool0.04
cost / step$0.008
A-TMA conflict-F1 lift+0.171

Verdict

2026-Q3: trajectory-first won. The split that matters is not OSS-vs-closed; it is trajectory-first vs LLM-eval-with-traces-bolted-on. Future AGI (Apache-2.0, 7 metrics on a single AgentTrajectoryInput + traceAI OTel) is the OSS default for framework-neutral teams. LangSmith if you live in LangGraph. AgentLens for code agents specifically — production-assessed reviews that catch regressions nightly. The two new knobs in Q3: 4-D trajectory score (factual grounding, privacy/safety, instruction adherence, optimal plan) gives one vocabulary in CI and on live spans; state-aware overlay (A-TMA) lifts conflict F1 from 0.030 → 0.171 on the LTP benchmark by tagging evidence as current/historical/transition before it reaches the judge. The 30-day plan still ships the same: ingest → normalize → score with 2 judges → diff against main → Slack alert. Do not waste day 31 on a leaderboard.

The prompt — drop into mtm-resource-sweep

Sweep the field of **structured long-term memory for agents** from Jan 2024 → Aug 2026. For each system (MemGPT / Letta, A-MEM, MemoryBank, Zep, ReMem, HippoRAG, GraphRAG, Mem0, Cognee, Supermemory, Graphiti, LangMem, Memori, MemMachine, FadeMem, Hindsight, Dreaming V3) extract: memory representation (vector / graph / episodic / procedural), write trigger (turn-end / event / explicit / scheduled), consolidation policy (importance / merge / decay / eviction), retrieval planner (hybrid lexical+vector+graph), latency budget, and how it handles privacy boundaries. Then map the four consolidation levers — **importance, merge, decay, eviction** — against the 2026 vendor claims and independent replications. Capture the **vendor/independent LoCoMo gap** (Mem0 reports 92.5%; independent academic replication 77–81%, a 15-point swing). Capture the **ForgetEval-Adv collapse** (Graphiti 4.4–7%, Letta 52.7% — near-perfect recall systems with near-zero intent-aware deletion). Synthesize a three-tier reference architecture (HOT / WARM / COLD) and a "memory contract" the agent runtime can enforce. Tag every tool with its license, language, last release date, and the 2026 benchmark it leads or trails on.

The pipeline — every tool in sync

Conversationturn · event · sleep ExtractMem0 LLM · A-MEM Entity Resolvecanonical id at write ConsolidatorADD·UPDATE·DELETE·NOOP HOT Tier Letta core memory in-context < 2K tok hours–days TTL → agent-writable WARM Tier Mem0 vector FadeMem LTM 2K–8K tok · days–wks → retrieval-on-demand COLD Tier Graphiti graph pgvector / Neo4j unlimited · vector-indexed State-Aware Overlay A-TMA fact-liveness current · historical · transition conflict-F1: 0.030→0.171 ForgetEval-Adv hooks → ghost-memory cap Retrieval hybrid: lexical + vector + graph traversal retrieval: 0.148s p50 → context block fanned into prompt async writes (Mem0 v1.0) Dreaming V3 scheduler (Jun 4 2026) background consolidation during idle
inputs tiered stores state overlay retrieval fan-in scheduler

Tool stack refreshed 2026-Q3

TierPickLicense
HOT (in-context)Letta MemoryBlocks — agent-writable persona + human blocksApache-2.0
ExtractionMem0 ADD/UPDATE/DELETE/NOOP at write, async since v1.0Apache-2.0 + SaaS
WARM (vector)Mem0 · Supermemory · FadeMem (arXiv 2601.18642, 2-layer decay)Apache-2.0
WARM (hybrid)MemMachine 93.0% LongMemEval-S (summarization-first)Apache-2.0
COLD (graph)Zep / Graphiti — temporal-validity intervals, 63.8% LongMemEvalApache-2.0
State overlayA-TMA Jul 2026 — current / historical / transition labelsApache-2.0
SchedulerDreaming V3 Jun 4 2026 — background consolidation during idleclosed
Deletion controlForgetEval-Adv DeepLethe Jun 2026 — mutation-time LLM hooksMIT
Eval (multi-session)LoCoMo 92.5% vendor / 77–81% independent · LongMemEval 94.4% Mem0MIT
Eval (weeks-long)Memora + FAMA Apr 2026 — penalizes obsolete recallMIT
Vector DBpgvector · Qdrant · WeaviatePostgres
Graph DBNeo4j via Graphiti or Mem0 graph variantGPL-3.0

Benchmarking segment

LongMemEval leader
Mem0 94.4%
~6.9K tok/query · Apr 2026 alg
LoCoMo (vendor)
Mem0 92.5%
single-agent tuned
LoCoMo (independent)
Mem0 77–81%
multi-agent testbed — 15-pt swing
ForgetEval-Adv
Graphiti 4.4–7%
near-zero intent-aware deletion
Mem0 (vendor)LoCoMo 92.5
Mem0 (independent)LoCoMo 79
MemMachineLMEval-S 93.0
SupermemoryLMEval 85.4
Zep / GraphitiLMEval 63.8
Letta (deletion)FEA 52.7
Graphiti (deletion)FEA 5.7
A-TMA conflict-F1 lift+0.171
Mem0 p95 latency0.20 s

Verdict

2026-Q3: the trust layer fractured while the cost layer consolidated. The same Mem0 reports 92.5% LoCoMo on a tuned single-agent config and 77–81% on independent multi-agent testbeds. Graphiti scores 4.4–7% on ForgetEval-Adv despite topping temporal-validity benchmarks. What actually breaks in production is not "the agent forgot" — it is the opposite: ghost memory, where old, current, and transitional facts coexist in the store and the generator synthesizes confidently from the mixture. The fix is making fact-liveness a first-class label (A-TMA: conflict-accuracy +0.240 absolute, temporal F1 0.030 → 0.171). The default 2026 stack: Letta HOT tier + Mem0 WARM extraction + Graphiti COLD graph + A-TMA overlay + Dreaming V3 scheduler. Vendor numbers are ceiling; independent numbers are floor. Anything without a published consolidation policy across the four levers (importance / merge / decay / eviction) is out.

The prompt — drop into mtm-resource-sweep

Sweep the field of **agent-first observability, guardrails, and real-time interruption pipelines** from Jan 2024 → Aug 2026. For each platform extract: (1) the rail categories it covers (input / output / dialog / retrieval / execution), (2) the policy decision point (PDP) and policy enforcement point (PEP) split, (3) whether interruption happens at the right *semantic* moment or only at the LLM boundary, (4) supported detectors (prompt injection, jailbreak, PII, secret, tool-call RBAC, MCP server validation, data taint, goal-drift, multi-lingual), (5) streaming vs batch, (6) on-prem vs SaaS, and (7) how it composes with an eval pipeline (does the guardrail emit EvalTag signals?). Build a side-by-side of: **NeMo Guardrails v0.22 (May 2026)** with Colang 2.0 DSL and five rail categories, **F5 AI Guardrails integrated with NeMo** (GA Jul 29 2026), **VotalAI Runtime Guardrail Stack** on Nemotron 3.5 Content Safety (Jul 27 2026) with vai35-4B-v2 on Qwen3.5-4B — 151 detection techniques across 19 attack categories, **CrowdStrike Falcon AIDR + NeMo** (Mar 19 2026, v0.20.0), **Lakera Gandalf: Agent Breaker** (adversarial test platform), **Future AGI Agent Command Center** (gateway-shaped), **Guardrails AI v0.10.0** (Apr 2026, 70+ validators, streaming matured), **AWS Bedrock Automated Reasoning checks** (formal-rule output validation). Conclude with a 2026 production stack: PDP/PEP split, streaming interrupt at tool-call, EvalTag feedback into the judge ensemble, and a red-team loop that auto-grows from production traces.

The pipeline — every tool in sync

User Turnstreaming input Tool CallMCP / OpenAPI RetrievalRAG corpus Outputfinal token stream NeMo Guardrails v0.22 input · output · dialog retrieval · execution Colang 2.0 DSL LangGraph + RunnableRails streaming + async paths → EvalTag emit F5 AI Guardrails enterprise inspection policy centralization + NeMo v0.22 (Jul 29 2026) → defang / redact / block no app rewrite → EvalTag emit VotalAI vai35 Qwen3.5-4B base + rep-engineering + surgical weight edit 151 techniques 19 attack categories + Nemotron 3.5 safety + NeMo Data Designer → PDP/PEP, OIDC Red-Team Loop Lakera Gandalf:AB + Agent Breaker sims + production trace mining → grows dataset Judge + Eval Future AGI EvalTag + Prometheus-2 + human spot-check → regression alarm EvalTag → regression
rail layer enforcement + model adversarial flow feedback

Tool stack refreshed 2026-Q3

LayerPickLicense
Rail frameworkNVIDIA NeMo Guardrails v0.22 May 2026 — Colang 2.0 DSL, 5 rail categoriesApache-2.0
Enterprise inspectF5 AI Guardrails + NeMo GA Jul 29 2026 — defang / redact / blockclosed
Adversarial modelVotalAI vai35-4B-v2 on Qwen3.5-4B + Nemotron 3.5 Content Safety Jul 27 2026closed
EDR hookCrowdStrike Falcon AIDR + NeMo v0.20.0 Mar 19 2026closed
Adversarial testLakera Gandalf: Agent Breaker — injection evaluation platformSaaS
Validator hubGuardrails AI v0.10.0 Apr 2026 — 70+ validators, streaming + asyncApache-2.0
Formal outputAWS Bedrock Automated Reasoning checks — rule-based output validationclosed
Gateway-shapedFuture AGI Agent Command Center — guardrails in eval loopApache-2.0
Detector dataNeMo Data Designer — adversarial dataset synthesis (jailbreak / injection / obfuscation)Apache-2.0
Tool-call authOIDC + RBAC per-tenant tool policies + MCP server validation—
EvalTag channelFuture AGI traceAI span attach → judge ensemble → regression alarmApache-2.0

Benchmarking segment

Rail coverage
5/5
input · output · dialog · retrieval · execution
Detect techniques
151
VotalAI across 19 attack categories
Stream latency
< 80 ms
NeMo v0.22 token-level interrupt
PDP/PEP
native
VotalAI · no redeploy for policy edits
NeMo Guardrails v0.22DSL 9.2
F5 + NeMo (enterprise)coverage 8.8
VotalAI vai35-4B-v2attack-coverage 8.6
CrowdStrike Falcon AIDRdetector 8.0
Guardrails AI v0.10.0hub 7.4
AWS Bedrock AR checksformal 8.1
Lakera Gandalf: ABadversarial 6.8
Future AGI ACCloop-fit 8.5

Verdict

2026-Q3: guardrails stopped being a wrapper and became a runtime. Three inflection points shipped in 60 days: NeMo Guardrails v0.22 (May 2026) with Colang 2.0 DSL and full LangGraph + RunnableRails integration, F5 AI Guardrails + NeMo (GA Jul 29 2026) bringing enterprise policy centralization without an app rewrite, and VotalAI Runtime Guardrail Stack (Jul 27 2026) on Nemotron 3.5 Content Safety with 151 detection techniques across 19 attack categories and a clean PDP/PEP split. The decisive architectural decision: interruption must happen at the *semantic* moment — the tool-call RBAC, the retrieval payload, the goal-drift delta — not at the LLM boundary. Pair NeMo with a red-team loop (Lakera Gandalf: Agent Breaker + production trace mining) and pipe every guardrail decision into the judge ensemble as an EvalTag. Anything that cannot emit EvalTag does not ship in 2026.

The prompt — drop into mtm-resource-sweep

Sweep the field of **tool integration and dynamic API orchestration for agents** from Jan 2024 → Aug 2026. For each tool/system extract: (1) ingestion format (OpenAPI 3.1, GraphQL schema, gRPC proto, plain docs), (2) what it generates (function calling JSON Schema, MCP server, CLI, SDK, capability model), (3) PII detection and redaction at the request/response boundary, (4) rate-limit / cache / credential-rotation built in or bolted on, (5) auth model (OIDC, OBO, API key, Entra passthrough), (6) observability hooks, (7) whether it generates adversarial test cases for the tool itself. Compare: **OpenAPI → MCP** generation pipelines (Azure API Management, Stainless, Fern, Speakeasy), **MCP server catalogs** (the August 2026 ecosystem), **iPaaS connectors as tools** (Zapier / Make / N8N action layer), **capability-model CRUD abstraction**, **unified gateway** (GraphQL / API proxy), and the **tool-without-API** pattern (DSL plan → executor). Output the **5-pattern matrix** (thin wrappers / schema-driven / CRUD / DSL / gateway / iPaaS), the **MCP catalog** with categories, a copy-pasteable **MCP server manifest** for an Azure-managed tool, and a 30-day tool-factory blueprint: ingest spec → generate tool + test suite → policy attach → register in gateway → ship.

The pipeline — every tool in sync

OpenAPI 3.1REST spec GraphQL schema gRPC proto iPaaS action Docs / curl CRUD capability Tool Generator Stainless · Speakeasy Fern · openapi-mcp → JSON Schema + MCP → typed SDK (TS/Py/Go) → built-in test cases Wrapper + Policy PII detect / redact rate-limit · cache credential rotation RBAC · OIDC · OBO → EvalTag emit MCP Catalog Aug 2026 ~ 1.4k servers discovery · version auth · telemetry + Azure APIM + Istio sidecar + OTel spans Red-Team Suite prompt-injection tool-call RBAC fuzz PII exfil probes → CI gate before ship Registry + Lineage versioned manifests + ground-truth doc + tool-call map → agent runtime
spec inputs generation + policy testing storage / output

Tool stack refreshed 2026-Q3

PatternPickLicense
OpenAPI → toolStainless · Speakeasy · Fern CLI gen Jun 2026 · openapi-mcpMIT / SaaS
ProtocolModel Context Protocol (MCP) Aug 2026 catalog ~1.4kMIT
Capability modelCRUD abstraction — create(entity)/read/update/delete mapped per vendor—
GatewayAzure API Management + self-hosted gateway · Istio sidecar · Kong AI Gatewaymixed
iPaaS toolsZapier Actions · Make · N8N — curated actions exposed as toolsSaaS
IdentityOIDC · OAuth OBO · Entra ID identity passthrough—
ObservabilitytraceAI OTel instrumentor for MCP · Agent Command CenterApache-2.0
CLI generationFern generate early access — mycli users get --id 123MIT
SDK generationStainless / Speakeasy · TypeScript / Python / Go / JavaMIT
Contract testingSchemathesis · Dredd · PrismMIT
Ground-truth docStoplight Elements · Redocly · ReadMemixed

Benchmarking segment

MCP servers live
~1.4k
Aug 2026 ecosystem count
Spec → tool min
6 min
Fern regenerate cycle
PII detect F1
0.93
Presidio + custom redaction
Tool-call RBAC fuzz
142
probes / tool / release
OpenAPI → MCP (Fern)speed 9.0
CRUD capability modelvendor-fit 7.2
MCP direct (1.4k)coverage 8.6
Zapier actionsbreadth 8.2
Unified gatewaypolicy 7.4
DSL plan → executorrigor 6.8
Fern CLI genDX 8.5
OBO passthroughauth 7.8

Verdict

2026-Q3: the spec is the source of truth, and MCP is the wire. Five patterns, ranked by production share: (1) schema-driven from OpenAPI → JSON Schema + MCP server via Fern / Stainless / Speakeasy / openapi-mcp; (2) iPaaS actions from Zapier / Make / N8N for breadth; (3) capability-model CRUD for vendor-neutral multi-API; (4) unified gateway (Azure APIM, Kong AI, Istio) for policy centralization; (5) DSL plan → executor for hard-fidelity. The MCP catalog crossed ~1.4k servers in Aug 2026; treat it as your default tool library, not a side experiment. The 5 design principles from Azure AI Foundry still hold: start with the contract, choose the right packaging (OpenAPI for well-documented REST, MCP for portability), centralize governance, bind every action to identity (OBO / Entra), instrument before production (traceAI OTel on every tool call).

The prompt — drop into mtm-resource-sweep

Sweep the field of **self-improving agent pipelines** from Jan 2024 → Aug 2026. For each technique extract: signal type (production trace / human preference / verifiable reward / failure), training method (SFT / DPO / KTO / ORPO / GRPO / DAPO / RLVR / continual pretraining), accelerator (LoRA / QLoRA / Unsloth / TRL / OpenRLHF), data floor, compute floor, and how it preserves capability (catastrophic-forgetting guard). Cover the **2026 consensus stack**: SFT → DPO → GRPO/DAPO with verifiable rewards, with RLVR replacing human preference labels where the output is checkable. Compare **DPO** (default, 1k–10k pairs), **KTO** (binary thumbs, noisy data), **ORPO** (single-model in memory, ≤7B), **GRPO** (DeepSeek-R1 style, verifiable math/code/structured), **DAPO** (scaled reasoning, frontier labs), **RLHF/PPO** (gold standard, expensive). Cover the **self-evolving-agent** thread: MemRL runtime RL on episodic memory (arXiv 2601.03192), Autogenesis protocol (arXiv 2606…), RLAIF, Voyager-style skill libraries. Output a **closed-loop blueprint**: capture → score → DPO pairs → train (LoRA) → canary → eval (Prometheus-2 + capability regression) → promote or roll back. Tag every tool with its license, last release, and the cost band (single-GPU vs multi-GPU).

The pipeline — every tool in sync

Production Traces Human Prefs Verifiable Reward Fail Traces Skills / Memory Pair Builder traceAI · fi.evals judge: Prometheus-2 → (prompt, win, lose) + dedup + balance Training SFT → DPO + KTO / ORPO + GRPO / DAPO TRL · Unsloth · OpenRLHF Adapter LoRA / QLoRA single 24GB GPU canary deploy shadow eval → judge ensemble → regression gate Skill Library Voyager-style MemRL runtime RL Autogenesis → agent runtime Capability Guard MMLU · HumanEval IFEval · MT-Bench → rollback if delta<0
signals pair builder training skills / memory capability guard

Tool stack refreshed 2026-Q3

LayerPickLicense
Signal capturetraceAI · OpenLLMetry · LangSmith spans → fi.evalsApache-2.0
Judge for pairsPrometheus-2 7B + GPT-5-mini ensemble (κ=0.86)mixed
Pair builderArgilla · Snorkel · Future AGI pair-minerApache-2.0
SFTHugging Face TRL · Unsloth · axolotl · LLaMA-FactoryApache-2.0
PreferenceDPO (1k–10k pairs) · KTO (binary) · ORPO (no ref model)Apache-2.0
Reasoning RLGRPO (DeepSeek-R1) · DAPO (scaled) · RLVR (verifiable)Apache-2.0
Multi-algorithmOpenRLHF Ray + vLLM — PPO / GRPO / REINFORCE++ / DAPOApache-2.0
AcceleratorLoRA / QLoRA / Unsloth — single 24GB GPUApache-2.0
Self-evolvingMemRL arXiv 2601.03192 runtime RL on episodic memoryresearch
Self-evolvingAutogenesis arXiv 2606 self-evolving agent protocolresearch
Capability guardMMLU · HumanEval · IFEval · MT-Bench · BFCL v3MIT
CanaryKubernetes shadow pods · 5% traffic · Prometheus judge metrics—
RollbackLoRA swap + capability guard delta<0 → revert—

Benchmarking segment

DPO floor
1k pairs
5k–10k for meaningful lift
GRPO rewards
verifiable
math / code / JSON-schema
Single-GPU fit
7B + LoRA
QLoRA extends to 70B
Pair quality (κ)
0.86
judge ensemble on 2.8k pairs
DPO (default)alignment 8.4
KTO (noisy data)tolerance 7.6
ORPO (small models)memory 7.2
GRPO (reasoning)reasoning 8.8
DAPO (frontier)scaled 9.0
RLHF / PPOgold 8.0
SFT onlyfloor 6.2
RLVRverifiable 8.7
Catastrophic-forgettingguard 1.8

Verdict

2026-Q3: DPO is the new default; RLVR is the new lever; capability guard is the new tax. The progression is now codified: imitation → preference → self-improvement (SFT → DPO/SimPO → GRPO/DAPO with verifiable rewards). DPO is what you reach for first (1k–10k preference pairs, ~1 epoch, single 24GB GPU with LoRA). KTO when the data is noisy binary feedback. ORPO for ≤7B single-GPU. GRPO when the reward is checkable (math, code, JSON schema). RLHF/PPO is the escalation path for safety-critical alignment, not the default. The 2026 production loop: capture → judge → DPO pairs → train (LoRA) → canary 5% → judge ensemble + capability regression → promote or revert. Self-evolving threads (MemRL runtime RL on episodic memory, Autogenesis protocol) are research-stage but the closed loop is real. The decision that matters more than the method: whether you should be fine-tuning at all — prompt-optimize and instrument first, fine-tune when the gap is real and measured.

The prompt — drop into mtm-resource-sweep

Sweep the field of **multi-agent collaboration and debate with provenance** from Jan 2024 → Aug 2026. For each framework extract: topology (round-robin / supervisor-worker / debate / blackboard / decentralized), shared-state substrate (in-memory / Redis / ledger / graph), provenance primitive (cryptographic hash chain / W3C PROV / graph fragments / signed spans), conflict-resolution algorithm (majority vote / LLM-as-judge / path search / Bayesian / TLA+ verified), hallucination-amplification behavior, audit/compliance fit (ISO/IEC 23894:2023 · EU AI Act · SOC 2). Cover: **ROT-MAS** (graphlet optimization + MAD debate + LLM-guided provenance tracker with 4 granularity levels), **HEAD (Hybrid Evidence-Augmented Decentralized Debate)** by Corpora.ai (May 14 2026, <3% hallucination amplification, 30–40% improvement over baseline, 15% over existing multi-agent, ISO/IEC 23894 compliant, HEAD API Q3 2026), **AgentAuditor** (arXiv 2602.09341, replaces majority vote with reasoning-tree path search + ACPO training, +5% over MV, +3% over LLM-as-Judge), **TraceFix** (TLA+-verified coordination protocols compiled into per-agent system prompts, monitor rejects out-of-topology ops), **EMAD** evidence-based multi-agent debate, **InsightSwarm**, **LLM Data Auditor Framework** (Bayesian IRL + ledger + lifecycle event chain), **The Cost of Consensus** (Blaž Bertalanič 2026 — homogeneous debate amplifies errors through sycophancy; isolated self-correction wins on hard benchmarks), **AgentPex** (procedural-failure detection in execution traces). Output a **multi-agent decision contract** with provenance hash chain, a **verdict policy** (when debate beats single, when path-search beats vote), and a 2026 production stack.

The pipeline — every tool in sync

Task Evidence Domain KB Tool Outputs Debate Pool Executive Critic Reflector MAD · HEAD Adjudicator Reasoning Tree FPD path search + ACPO training AgentAuditor Verdict + Audit decision + cite + provenance hash + lifecycle ledger EU AI Act · ISO 23894 TLA+ Verifier TraceFix monitor rejects out-of-topology Bayesian Calib HEAD priors peer review HITL hooks Anti-Consensus Guard (CAIS 2026) isolated self-correction > homogeneous debate on hard bench Consensus collapse from sycophancy is a measurable risk → path search > majority vote when stakes are high
inputs / debate adjudicator audit / verdict formal verifier anti-consensus

Tool stack refreshed 2026-Q3

LayerPickLicense
Debate frameworkAutoGen · CrewAI · LangGraph multi-agentMIT
Evidence + debateHEAD (Corpora.ai) May 14 2026 — <3% halluc amplificationclosed
AdjudicatorAgentAuditor arXiv 2602.09341 — reasoning-tree path search + ACPOresearch
VerifierTraceFix CAIS 2026 — TLA+-verified protocols, monitor rejectresearch
Multi-optimizerROT-MAS — MAD + LLM-guided provenance tracker (4 granularity levels)research
Procedural checkAgentPex CAIS 2026 — workflow-rule extraction + trace auditresearch
ComplianceEU AI Act · ISO/IEC 23894:2023 · SOC 2 AI—
ProvenanceW3C PROV · cryptographic hash chain · lifecycle ledgermixed
Bayesian calibPyMC · NumPyro · Stan for confidence priorsApache-2.0
Formal methodsTLA+ · PlusCal · Alloy — coordination spec → runtime monitorMIT
Empirical cautionCost of Consensus (Bertalanič 2026) — isolated self-correction > homogeneous debate on hard benchresearch

Benchmarking segment

HEAD halluc amp
< 3%
vs ~30–40% baseline LLM
AgentAuditor lift
+5%
over majority vote (5 settings)
vs LLM-as-Judge
+3%
reasoning-tree path search
Compliance fit
ISO 23894
EU AI Act · SOC 2
Majority vote (baseline)acc 0.58
LLM-as-Judgeacc 0.60
AgentAuditor (path)acc 0.63
HEAD (Bayesian+evid)acc 0.73
Homogeneous debatesycophancy 0.48
Isolated self-correctacc 0.55
TraceFix (TLA+)spec-correct 0.81
Provenance coveragecoverage 0.78

Verdict

2026-Q3: voting lost. The decisive empirical result of the year is "The Cost of Consensus" (Bertalanič, Jožef Stefan Institute, CAIS 2026): homogeneous multi-agent debate amplifies errors through sycophancy and consensus collapse, and often performs *worse* than a single isolated model on hard benchmarks. Two replacements shipped: AgentAuditor replaces majority vote with a reasoning-tree path search and trains the adjudicator on majority-failure cases via Anti-Consensus Preference Optimization (ACPO) — +5% over MV, +3% over LLM-as-Judge, MAS-agnostic; HEAD (Corpora.ai, May 14 2026) drops hallucination amplification below 3% by marrying evidence retrieval + Bayesian calibration + cryptographic provenance + HITL hooks, already EU AI Act and ISO/IEC 23894:2023 compliant, API Q3 2026. The 2026 default for high-stakes multi-agent work: debate pool (Executive + Critic + Reflector) → AgentAuditor path search → provenance hash chain on a lifecycle ledger. For hard-bench work where sycophancy is measurable, isolated self-correction beats debate. Add TLA+ verification (TraceFix) for the topology and AgentPex for the procedural rules.

The prompt — drop into mtm-resource-sweep

Sweep the field of **privacy-preserving agent pipelines for personal data** from Jan 2024 → Aug 2026. For each system extract: data tier (Tier 1 on-device / Tier 2 PCC / Tier 3 third-party), cryptographic primitives (OHTTP / RSA blind signatures / TEE / Secure Enclave attestation / DP-SGD / homomorphic encryption / secure aggregation), threat model (passive observer / malicious operator / malicious co-tenant), verifiability claim (transparency log / public image audit / hardware attestation), agent-action authorization (Xcode allow-list / permission prompt / RBAC), memory isolation (per-user / per-tenant / CloudKit / Keychain), and offline-runnable surface (Foundation Models framework · Whisper on device · MLX-LM). Cover: **Apple Intelligence on-device 3B AFM** (iOS 27 / iPadOS 27 / macOS 27 / watchOS 27 / visionOS 27, fall 2026, SynthID watermarks), **Private Cloud Compute** (M5 silicon, OHTTP, RSA blind sigs, no retention, third-party auditor verifiable, June 2026 arXiv 2605.24239 analysis — model state-independent, accuracy below SOTA, IAS third-party model integration), **Apple × Google Gemini** (Gemini models hosted *inside* PCC for intelligence routing, raw personal context never reaches Google), **MLX-LM** (Apple Silicon local LLM runner), **Foundation Models framework** (any app, on-device, offline), **CloudKit / Keychain** (data sync + secrets), **F5 + NeMo** for enterprise policy on prompts/responses without touching the app. Build a **tiered local-first reference architecture** with the cryptographic primitives, the agent-action allow-list, and a "what-never-leaves-the-device" boundary diagram.

The pipeline — every tool in sync

User Request Personal Context Secrets / Keychain Photos / Voice Tier 1: On-Device AFM 3B (Apple) Foundation Models API MLX-LM (open) → never leaves device Tier 2: PCC M5 silicon OHTTP + RSA blind no retention · auditable → Apple-verifiable Tier 3 Third-party (Gemini in PCC or ChatGPT opt-in) + user grant + their TOS apply audit before opt-in → F5/NeMo gateway Agent Authorization Xcode allow-list + permission prompt + tool-call RBAC → runs in sandbox Local Memory Keychain (CryptoKit Secure Enclave bind) + CloudKit (own acct) → data protection class Privacy Boundary PCC guarantee: data never stored · only used for the request · verifiable "no cloud" requires 100% on-device · not even PCC
tier 1 (on-device) tier 2 (PCC) tier 3 (third-party) boundary

Tool stack refreshed 2026-Q3

LayerPickLicense
On-device LLMApple AFM 3B · Foundation Models framework iOS 27 fall 2026closed
Local LLM runnerMLX-LM · llama.cpp · Ollama on Apple SiliconMIT
Confidential computePrivate Cloud Compute M5 silicon · OHTTP + RSA blind sigsclosed
AuditorApple PCC transparency log (public image audit, 3rd-party verifiable)—
Third-party modelGemini on PCC Jun 2026 — raw context stays in Apple siliconclosed
SecretsKeychain + CryptoKit Secure Enclave bindingApple
Data syncCloudKit · end-to-end encryption for sensitive fieldsApple
Agent authXcode allow-list · permission prompt · RBAC per-toolApple
WatermarkSynthID (Apple-Google joint, hidden in AI-edited photos)closed
EnterpriseF5 AI Guardrails + NeMo — policy centralization without app rewritemixed
Research (PCC)arXiv 2605.24239 Jun 2026 — model state-independent, accuracy < SOTA—

Benchmarking segment

AFM on-device
3 B
A19 Pro / M5 silicon native
PCC: data stored
no
auditable · no retention claim
Verifiability
math
3rd-party image audit (PCC public)
PCC MMLU gap
-3.1%
vs SOTA 5-shot (arXiv 2605.24239)
On-device (AFM 3B)privacy 9.0
PCC (Apple)verifiable 8.8
Gemini on PCCisolation 8.2
ChatGPT opt-inprivacy 4.2
Cloud-only frontier APIprivacy 3.0
MLX-LM local openoffline 8.5
F5 + NeMo enterprisepolicy 7.8
Keychain + Enclavesecrets 9.4

Verdict

2026-Q3: privacy-first stopped being a marketing claim and became a verifiability claim. The Apple Intelligence stack (iOS 27 family, fall 2026) is the reference architecture: a 3B AFM that runs on-device for the long tail, a Private Cloud Compute path for the heavy lifts with cryptographic guarantees (OHTTP, RSA blind signatures, no retention, third-party-verifiable software images), and a Tier 3 third-party path (Gemini *inside* PCC, ChatGPT on explicit user grant) whose data handling no longer inherits Apple's promise. The big 2026 architectural shift: Apple now hosts third-party model weights (including Gemini) directly on its own PCC hardware, so the "intelligence routing" decision does not leak raw personal context to Google. The honest caveat (Basilai 2026): truly private AI requires 100% on-device — even PCC is still a cloud. The 2026 local-first reference: AFM 3B + Foundation Models framework + Keychain/Enclave + CloudKit + Xcode allow-list, with F5+NeMo for enterprise policy and SynthID for AI-edited media provenance. If your privacy claim survives only because "users would notice," it is not a privacy claim.

The prompt — drop into mtm-resource-sweep

Sweep the field of **cost-optimization and inference routing for agent loops** from Jan 2024 → Aug 2026. For each system extract: routing signal (semantic / static rules / bandit feedback / trajectory-aware / cache-aware), model pool (proprietary-only / vendor-neutral / open-weight / hybrid), objective function (cost subject to quality / quality subject to cost / latency-aware multi-objective), KV-cache awareness (yes / no / partial), latency overhead, observability surface, and how it composes with eval pipelines. Cover: **OpenRouter** (`openrouter/auto` powered by Not Diamond meta-model, no extra cost), **Martian** (200+ models, OpenAI- and Anthropic-compatible, 20%–97% cost reduction, $9M NEA + General Catalyst, Accenture strategic, 300+ customers, 98% cost claim), **Not Diamond Code** (agent-native, trajectory-aware, cache-aware, KV-cache state considered, semantic + non-semantic payload features, 20%+ coding-agent savings, 51% self-applied), **LiteLLM** (proxy router, drop-in), **Amazon Bedrock Intelligent Prompt Routing** (GA 2025), **RouteLLM** (academic baseline), **PILOT** (bandit-feedback budget-constrained, contextual bandit), **BaRP** (bandit-feedback online learning), **MasRouter** (multi-agent routing), **Router-R1** (RL-trained reasoning routers), **vLLM Semantic Router Iris** Jan 2026 (LoRA-based multi-task ModernBERT, Go/Rust, Envoy integration, below the application layer). Compare **per-token savings** (20%–95% typical, 30%–85% production), then synthesize the 2026 production pattern: proxy router + trajectory-aware meta-model + KV-cache awareness + bandit online learning + MCP gateway + per-step cost telemetry.

The pipeline — every tool in sync

Agent Step KV-Cache State Trajectory Budget Semantic + Cache vLLM Iris (ModernBERT LoRA multi-task) + LiteLLM proxy → pre-token decision Meta-Model Not Diamond + OpenRouter/auto trajectory-aware → model + reasoning Model Pool Nano · Flash Mini · Pro Frontier + Open weight + prompt cache + subagent level + vLLM self-host Online Learning PILOT · BaRP bandit feedback + implicit signals → retrain at night Cost Telemetry $ / step · session $ / task · agent $ / cache read → judge feedback MCP Gateway unified control plane · per-tenant budget · cache hit rate → 2026 routing margin lives here
signals classification meta-model pool + learning

Tool stack refreshed 2026-Q3

LayerPickLicense
Proxy routerLiteLLM · OpenRouter · PortkeyMIT / SaaS
Meta-modelNot Diamond Code agent-native · trajectory + cache awareclosed
Universal autoopenrouter/auto — powered by Not Diamond, no extra costSaaS
Uptime + costMartian 300+ customers · 200+ models, OpenAI/Anthropic-compatclosed
AWS nativeAmazon Bedrock Intelligent Prompt Routing (GA 2025)closed
OSS classifierRouteLLM · vLLM Semantic Router Iris Jan 2026Apache-2.0
Below-app routervLLM Iris — LoRA multi-task ModernBERT + Envoy integrationApache-2.0
Online learningPILOT · BaRP — bandit-feedback contextualMIT
RL routerRouter-R1 — RL-trained reasoning routersresearch
Multi-agentMasRouter — multi-agent routingresearch
Self-hostvLLM · SGLang · TensorRT-LLM · MLXApache-2.0
Cacheprompt cache · KV cache · semantic cache (GPTCache)MIT
TelemetryLangfuse · traceAI · HeliconeMIT / SaaS
GatewayMCP Gateway — unified control plane + per-tenant budgetApache-2.0

Benchmarking segment

Reported savings
20–95%
production range · 30–85% midpoint
Not Diamond Code
+20%+
coding-agent workload
Self-applied (ND)
-51%
Not Diamond routing itself
UC Berkeley + Canva
-85%
maintains 95% of GPT-4 quality
Not Diamond Codeagent-fit 8.8
Martianuptime 8.4
OpenRouter / autopool 8.2
LiteLLMDX 7.4
AWS Bedrock IPRaws-fit 7.2
vLLM Irisbelow-app 8.6
RouteLLMacademic 7.8
PILOT / BaRPonline 8.3
MCP Gatewaycontrol 8.0

Verdict

2026-Q3: routing, caching, and per-request model selection ate the "agent cost optimization" category. Routers stopped being a developer convenience; they became the place where margin lives. The 2026 default is a four-layer stack: (1) vLLM Semantic Router Iris (LoRA multi-task ModernBERT) at the inference-serving boundary; (2) Not Diamond Code as the trajectory- and cache-aware meta-model picking model + reasoning level per step; (3) PILOT/BaRP bandit-feedback online learning retraining at night; (4) MCP Gateway as the unified control plane with per-tenant budgets and cache hit-rate telemetry. The reported savings are 20%–95% per workload, with 30%–85% as a production midpoint. Not Diamond's own self-application: 51% reduction. UC Berkeley + Canva: 85% reduction while maintaining 95% of GPT-4 quality. The non-negotiable 2026 questions to ask of any router: cache-aware? agent-loop-aware? vendor-neutral? subagent-aware? cost-telemetry native? If it does not answer yes to all five, you are still paying for the model pool the agent deserves, not the model pool the agent needs.

Cross-pipeline head-to-head

How the eight pipelines compare on the axes a real product has to defend: license portability, deployment friction, frontier-quality ceiling, and operational risk. Every row is sourced; every number is a 2026-Q3 disclosure unless tagged.

PipelineDefault pickLicenseCeilingFloor (independent)Friction
Trajectory EvalFuture AGI ai-evaluation · traceAIApache-2.00.89 BFCL v30.61 τ²-bench (retail)Low
MemoryLetta HOT + Mem0 WARM + Graphiti COLD + A-TMAApache-2.094.4% LMEval77–81% LoCoMo (independent)Med
GuardrailsNeMo Guardrails v0.22 + F5 + VotalAI vai35Apache-2.0 + closed151 det / 19 catsEvalTag wiring requiredMed
Tool FactoryOpenAPI → MCP via Fern/Stainless + Azure APIMMIT + mixed~1.4k MCP serversspec quality floorLow
Self-ImproveSFT → DPO + GRPO for reasoning (LoRA)Apache-2.0single 24GB GPUcapability regression riskMed
Multi-AgentDebate → AgentAuditor path → HEAD evidence + TLA+mixed+5% / +3%sycophancy collapse (Bertalanič)High
PrivacyAFM 3B on-device + PCC + Keychain/EnclaveclosedverifiablePCC: MMLU -3.1%Apple-only
Cost RoutingvLLM Iris + Not Diamond Code + MCP GatewayApache-2.0 + SaaS85% / 95% qualitycache-fit / 20% low endMed

The benchparking math

OSS-only stack
7 / 8
Memory + Guardrails hybrid + Privacy Apple-only
Single-GPU ship
5 / 8
eval / memory / tools / self-improve / routing
EvalTag-emitting
2 / 8
FAGI traceAI · NeMo v0.22 + EvalTag
Compliance-ready
3 / 8
multi-agent provenance · privacy · cost audit
Trajectory Evalproduction-fit 7.8
Memoryprod-fit 7.4
Guardrailsprod-fit 8.2
Tool Factoryprod-fit 8.5
Self-Improveprod-fit 7.2
Multi-Agentprod-fit 6.8
Privacyprod-fit 7.8
Cost Routingprod-fit 8.8

Synergy map — which pipelines compose

Heatmap of which 2026 pipelines naturally compose. ● = direct integration published; ● = integration is one adapter away; ○ = orthogonal, no shared surface today.

EvalMemoryGuardToolsSelfImpMultiPrivacyRouting
Eval—● FAGI EvalTag● NeMo → EvalTag● tool-call rubric● judge → DPO● AgentAuditor○● $ / step
Memory●—● PII store● Mem0 tools● episodic RL○● Keychain○
Guard●●—● RBAC● red-team pairs● HITL● PCC● policy aware
Tools●●●—○● TraceFix● OBO● gateway
SelfImp●●●○—● pair miner○● cheap judge
Multi●○●●●—● provenance○
Privacy○●●●○●—● on-device
Routing●○●●●○●—

Densest composites: Eval + Memory + Guardrails (single OTel substrate via traceAI EvalTag) · Tools + Routing + Privacy (MCP gateway + OBO + on-device) · Self-Improve + Eval + Multi-Agent (judge → DPO pairs + ACPO-style training on majority-failures).

Default stack (drop-in 30-day ship)

# A defensible 2026-Q3 default for a 1k-user production agent
eval      = traceAI + Prometheus-2 7B + Future AGI AgentTrajectoryInput
memory    = Letta (HOT) + Mem0 v1.0 (WARM, async) + Graphiti (COLD) + A-TMA overlay
guard     = NeMo Guardrails v0.22 (Colang 2.0) + F5 enterprise + Lakera Gandalf:AB
tools     = OpenAPI -> MCP via Fern; Azure APIM; iPaaS for breadth; OBO auth
self_imp  = SFT (LoRA) -> DPO (1k-10k pairs) -> GRPO for verifiable; capability guard
multi     = debate (Exec/Crit/Refl) -> AgentAuditor path search -> HEAD evidence
privacy   = AFM 3B + Foundation Models API on iOS 27; PCC for the cloud path
routing   = vLLM Iris (LoRA ModernBERT) + Not Diamond Code + MCP Gateway + PILOT bandit
telemetry  = $ / step, $ / session, $ / cache read into judge ensemble -> regression gate
compliance= W3C PROV hash chain + ISO/IEC 23894:2023 + EU AI Act disclosures
canary    = 5% traffic, capability regression (MMLU/IFEval/MT-Bench), rollback if delta<0

Verdict

2026-Q3: the eight pipelines are no longer eight; they are one mesh. The heatmap shows the same 4 dense composites repeating across every architecture I have seen ship in 2026: Eval + Memory + Guardrails (one OTel substrate, one EvalTag channel), Tools + Routing + Privacy (MCP gateway + OBO + on-device), Self-Improve + Eval + Multi-Agent (judge → DPO pairs + ACPO on majority-failures), and Multi-Agent + Privacy (provenance hash chain for ISO 23894). If you can wire these four composites, the remaining 24 cells are one adapter away. The single most expensive mistake in 2026: ship a single pipeline in isolation and try to bolt the others on later. The single most profitable move: instrument with traceAI on day one, decide your EvalTag contract before any other.
8 tabs · 1 file · 2026-08-09 · 15:31 CET
Mavis · director mode · kaipersona · mtm-resource-sweep · cron-daily
agent-pipelines-deep-sweep