Decision-theoretic triage and fail-closed agent gating: 32 tools over stdio.
The io.github.grayclayton/aetre-mcp MCP server provides decision-theoretic triage and fail-closed agent gating. It exposes 32 tools via stdio, enabling integration with MCP clients that communicate over standard input/output streams.
๐ ๏ธ Key Features
Decision-theoretic triage
Fail-closed agent gating
32 tools
stdio transport
๐ Use Cases
Gating or triaging agent behavior using decision-theoretic criteria
Integrating an MCP toolset over stdio for agent control workflows
โก Developer Benefits
Predictable fail-closed behavior for gating scenarios
Tool access through a stdio-connected MCP server
โ ๏ธ Limitations
Only described as operating over stdio (no other transports are specified)
Tool details beyond the total count are not provided
"Governing Autonomous Intelligence in the Age of Abundance."
A high-performance, mathematically unified decision-theoretic operating system uniting macroeconomic proposal/portfolio triage (AETRE) and microeconomic execution governance (The Governed Agent).
Release status: experimental public alpha. The software and mathematical
simulations are testable, but the bundled data are synthetic and do not
establish prospective effectiveness in a live conference, grant, or
investment workflow. Use outputs as decision-support diagnostics, not as
autonomous acceptance, rejection, funding, or investment decisions.
Based on the research series by Clayton Gray (2026):
The Innovation-Absorption Gap: How Artificial Intelligence Can Accelerate Idea Production Faster Than Complementary Institutions Adapt Clayton Gray (2026a) โ SSRN: 7161458
The Admission Frontier: An Economically Regulated Decision-Theoretic Runtime and Fail-Closed Verification Gate for Autonomous Agents Clayton Gray (2026d) โ distributed within the replication bundle The Implementation Frontier: Capital Allocation, Deliberative Stopping, and Verified Agent Gatekeeping (Zenodo: 10.5281/zenodo.22814799)
This software is archived under its own DOI, separate from the papers above:
AETRE: Adaptive Epistemic Triage & Recall Engine (Zenodo: 10.5281/zenodo.22098366).
The Problem: The Innovation-Absorption Gap
When Artificial Intelligence makes idea and action generation cheap ($c_{\text{gen}} \to 0$), proposal and execution volume ($N$) explodes. However, downstream evaluation, laboratory validation, code review, and human gatekeeper capacity ($K$) remain strictly finite.
This creates three critical pipeline pathologies:
The Kingman Delay Explosion: When evaluator utilization $\rho = \lambda / \mu$ approaches saturation ($\rho > 0.85$), wait times shoot up non-linearly according to Kingman's Heavy-Traffic equation:
$$E[W_q] \approx \frac{\rho}{1-\rho} \cdot \frac{c_a^2 + c_s^2}{2} \cdot \frac{1}{\mu}$$
The Asymmetric Payoff Trap: In heavy-tailed domains like venture capital, breakthrough discovery, and agentic code patches (Pareto index $\alpha \approx 1.25$), consensus-seeking scoring systems penalize high-variance, transformative outliers in favor of safe, incremental proposals.
The Finite-Capacity Recall Ceiling (Proposition 1): Without active epistemic triage, true breakthrough recall asymptotically decays towards zero as arrival rates surge:
$$R_N \le \min\left(1, \frac{K_N}{H_N}\right) \to 0 \quad \text{as } N \to \infty$$
Two-Layer Decision-Theoretic Architecture
AETRE unifies Macroeconomic Pipeline Triage (managing institutional review bandwidth and portfolio recall) with Microeconomic Execution Governance (safeguarding agentic execution runtimes and pull-request verification).
Simulates density-greedy $c\mu$-rule knapsack vs. FIFO across varying institutional review capacities:
bash
python evaluate_institutional_queues.py
Model Context Protocol (MCP) Integration
AETRE provides a high-performance native JSON-RPC 2.0 Model Context Protocol (MCP) server implementing 24 Tools, 4 Resources, and 3 Pre-Configured Prompts for Claude Desktop, Cursor, and autonomous agent sidecars.
Configuration (Claude Desktop / Cursor)
Install the binary (cargo install aetre-mcp),
then add to your claude_desktop_config.json. The server speaks stdio by default:
json
{"mcpServers":{"aetre":{"command":"aetre-mcp"}}}
Local HTTP / Container Mode
bash
cargo run -p aetre-mcp -- --serve --headless
HTTP mode binds to 127.0.0.1:8080 by default and does not enable cross-origin browser access. For container deployment, set AETRE_BIND_ADDRESS=0.0.0.0 and set a strong AETRE_HTTP_SERVER_TOKEN. Non-loopback startup fails closed when that token is absent. POST clients must send it in the X-AETRE-Server-Token header. Also place the service behind a TLS reverse proxy. The bundled Dockerfile supplies the bind address and runs as a non-root user.
Comprehensive 24-Tool Catalog
Macroeconomic Pipeline & Portfolio Tools (AETRE)
aetre_system_catalog: Diagnostic catalog of registered tools, resources, and algorithms.
aetre_triage_proposal: Full three-stream triage routing (FAST_DROP, VOI_QUEUE, AUTO_PASS).
governed_bellman_triage: Evaluates agent action triage via Bellman dynamic programming and computes Expected Value of Verification ($V^*$).
governed_review_boundary: Computes the tripartite decision boundary ($\Delta u = u_{\text{auto}} - u_{\text{review}}$) classifying candidates into AUTO_EXECUTE, REQUIRE_REVIEW, or REJECT.
governed_knapsack_admit: Density-greedy $c\mu$-rule knapsack controller packing candidates by value density ($\rho_i = \Delta u_i / c_i$) under budget $K$.
governed_gate_pr: Road A fail-closed pull request gatekeeper evaluating verification, costs, blast radius, and test regressions.
Autonomous Agent Pre-Commit & CI Integration
The Governed Agent gatekeeper can be integrated into any autonomous coding agent pipeline (Claude Code, Cursor, GitHub Actions, pre-commit):
AETRE follows an Open Engine / Dual-Track Architecture:
Feature / Capability
Open Engine (AGPL-3.0)
Enterprise Commercial License
Core Mathematical Algorithms (aetre-core)
โ Fully Open & Auditable
โ Included
Model Context Protocol (MCP) Server
โ 24 local native tools
โ Same engine, no copyleft obligation
Micro Execution Governance (Governed Agent)
โ Included (Road A Gate)
โ Enterprise Policy Enforcement
Local CLI & Terminal Simulation Harness
โ Included
โ Included
Author Pre-Flight Scans
โ Source-configurable
โ Supported Unlimited Deployment
Automated VC Dealflow Webhook (Airtable/Affinity)
Local script
โ Local script, commercially licensed
Custom Institutional Priors Calibration
Open Source
โ Pre-Trained Enterprise Priors
Commercial Exemption (No AGPL copyleft)
โ Bound by AGPL-3.0
โ Full Commercial License
Support
Community
โ Direct channel to the author
Citation & Academic Reference
If you use AETRE or the Governed Agent runtime in your research or production systems, please cite:
bibtex
@article{gray2026innovation,
title={The Innovation-Absorption Gap: How Artificial Intelligence Can Accelerate Idea Production Faster Than Complementary Institutions Adapt},
author={Gray, Clayton},
journal={SSRN Electronic Journal},
year={2026},
doi={10.2139/ssrn.7161458},
url={https://ssrn.com/abstract=7161458}
}
@software{gray2026admission,
title={The Admission Frontier: An Economically Regulated Decision-Theoretic Runtime and Fail-Closed Verification Gate for Autonomous Agents},
author={Gray, Clayton},
year={2026},
publisher={Zenodo},
doi={10.5281/zenodo.22814799},
url={https://doi.org/10.5281/zenodo.22814799}
}
License & Inquiries
This software is distributed under a Dual-License Model:
Open-source option: The code is licensed under AGPL-3.0-or-later, including for commercial use, subject to the AGPL's terms.
Commercial option: Organizations wishing to use AETRE or the Governed Agent without the AGPL's copyleft obligations may negotiate a separate written commercial license. See LICENSING.md.
All bundled example datasets are synthetic test fixtures, not empirical validation corpora. See DATASETS.md before using or redistributing external data. Evaluation fingerprints emitted by the engine are deterministic reproducibility identifiers; they are not signed receipts or proof of external validation.