---
title: "agent-mcts"
description: "Test-time search harness that wraps Claude Code or Codex CLI in Monte Carlo Tree Search, exploring branches, backtracking, and applying the best diff."
canonical: "https://vibing.inc/library/agent-mcts-vg-2806"
category: "AI Skills, Agents & MCP"
subcategory: "Agent orchestration"
license: "MIT"
author: "@natsu0529"
source: "https://github.com/natsu0529/agent-mcts"
---

# agent-mcts
Test-time search harness that wraps Claude Code or Codex CLI in Monte Carlo Tree Search, exploring branches, backtracking, and applying the best diff.
## Facts
- Source: https://github.com/natsu0529/agent-mcts
- Category: AI Skills, Agents & MCP / Agent orchestration
- Author: @natsu0529
- Licence: MIT
- Tags: claude-code, mcts, search, coding-agents
## Why it's a gem
Brings tree search to off-the-shelf coding agents with a live tree view.
---
Listed in The Vibeary: https://vibing.inc/library/agent-mcts-vg-2806 · JSON: https://vibing.inc/api/public/library/gems/agent-mcts-vg-2806