Harness Router: an open-source decision layer that routes agent tool calls with MCTS

Revolutionary_Sir140 · reddit · 2026-09-28

Harness Router is a new open-source, framework-agnostic tool router for agentic systems: instead of letting the LLM blindly pick from a large toolset, it adds a decision layer before execution.

The latest update adds Codex hooks—SessionStart discovers tools once, PreToolUse vets each proposed call (allow if same choice, re-plan if better alternative, fail-open on router failure). For harder decisions it runs Monte Carlo Tree Search over thousands of local simulations.

Goals: fewer wrong tool calls, less redundant tool descriptions in context, lower token usage and reasoning overhead. The author wants to benchmark it on confusing toolsets like getx/fetchx/readx and is soliciting ideas for measuring routing quality beyond success rate.

Related event: Open-Source Harness Router Uses MCTS to Guide Agent Tool Selection(2 posts)→

Original post →

More from coding & agent

coding & agent channel →