Open-source middleware for AI agents — catches mid-run failures,compresses stale context, and grows a reasoning library across runs. Any model, any framework.
-
Updated
May 19, 2026 - Python
Open-source middleware for AI agents — catches mid-run failures,compresses stale context, and grows a reasoning library across runs. Any model, any framework.
Layered token-optimization pipeline for DeepSeek Harness: output ladder, MCP lazy loading,compaction driver, cache-hit reporting. Built on real DSH plugin APIs; ~40-60% input saved in long sessions.
Behavior-management plugin for DeepSeek Harness: tool-call discipline prompt section, failure-triggered parallelism convergence (pool drops to 1, auto-restores), consecutive-failure user intervention. Complements dsh-token-optimizer; works standalone.
Open-source agent middleware — shared memory, credential isolation, and schema learning for AI agents. What one agent learns, every agent knows.
Permits and signed receipts for agent tool calls. One dispatch, one charge, verifiable offline.
Mentalist: (DeepAgent in rust) High-performance Rust agentic middleware & execution environment for autonomous AI agents. Implements DeepAgent methodology with execution hooks, explicit planning, sandboxed tool execution, and full session serialization. Built for production-ready agent systems.
Public API demo of Agent Middleware: permit, governed call, safe retry, offline receipt check.
MCP authorization gateway for agent-to-tool actions: scoped permits, at-most-one gateway dispatch and debit, signed receipts, and audit evidence.
PayPal sandbox checkout agent governed by Agent Middleware: at most one capture, verifiable receipts.
Framework-agnostic confidence-gated escalation middleware for LLM agents: multi-signal scoring (logprob, verbalized, tool risk), threshold policies, and escalation handlers for LangChain, CrewAI, AutoGen, and Google ADK.
TikTok TechJam 2026 Track 1 — Glass Box: agent-observability middleware turning every Agent Run into a correlated span waterfall
Moved into agentmiddleware/agent-middleware. Spec and verifiers now live there.
LangChain agent middleware for Cycles — pre-tool-call authorization and per-tenant budget enforcement for Python agents using create_agent
To associate your repository with the agent-middleware topic, visit your repo's landing page and select "manage topics."