ThumbGate Implements Tsinghua's Natural-Language Agent Harness Pattern for AI Safety

ThumbGate Implementation of NLAH Pattern
The Natural-Language Agent Harness (NLAH) pattern from Tsinghua's paper (arxiv 2603.25723) formalizes treating AI agent safety layers as first-class objects with specific components. The open-source tool ThumbGate implements this pattern with concrete mappings to production systems.
Component Mappings
ThumbGate maps the four NLAH components to practical implementations:
- Contracts → Prevention rules auto-generated from thumbs-down feedback
- Verification Gates → PreToolUse hooks that intercept every tool call before execution
- Durable State → SQLite+FTS5 lesson database that persists across sessions
- Adapters → MCP server adapters for Claude Code, Cursor, Codex, Gemini, Amp
Key Implementation Insights
The developers found that prompt rules fail silently (agents can reason around them), while verification gates fail loudly (agents receive block responses and must adapt). They use Thompson Sampling to handle uncertain severity levels, where new rules start as warnings and get promoted to hard blocks based on feedback.
The full implementation details and mapping are available in their deep dive documentation.
📖 Read the full source: r/LocalLLaMA
👀 See Also

RalphTerm: ralph-style loop for Claude Code with cross-review sessions from different agents
RalphTerm is an open-source Rust CLI that runs a ralph-style outer loop around Claude Code: it takes a markdown plan, executes tasks in fresh interactive sessions, and runs cross-review with a different model (e.g., Codex) in separate fresh sessions, feeding issues back into new implementer sessions.

ClawCall: OpenClaw skill for AI phone calls with bridge mode
ClawCall is an OpenClaw skill that enables AI agents to make actual phone calls, navigate menus, wait on hold, and conduct conversations. It includes a bridge mode that patches you in when a human picks up.
Cocall.ai MCP: Outbound Phone Calls with Real-Time Human Escalation
Cocall.ai is an MCP for Claude that enables outbound phone calls with a full-duplex speech-to-speech model. It can pause mid-call to ask you a specific question instead of guessing, navigate IVR, and hand off calls to you when needed.

Real-time stock analysis added to Claude Desktop via MCP server
A developer built an MCP server called agent-toolbelt that adds real-time stock analysis capabilities to Claude Desktop and Claude Code. The tool provides five specific analysis functions and works with a single command installation.