Show HN: Agent-mcts – Monte Carlo tree search on top of Claude Code
Category: ai-ml
Tags: mcts, coding-agents, llm, test-time-search, git-worktrees
Score: 6.5/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 4)
agent-mcts wraps coding agent CLIs like Claude Code in a Monte Carlo Tree Search harness, letting agents explore multiple solution branches via git worktrees and forked sessions instead of a single linear trajectory. It brings research-grade test-time search (e.g., SWE-Search) to existing production agents, with a pluggable adapter layer and a live terminal tree view. Honest self-benchmarks show it does not yet beat a single run—the LLM judge's ranking is the current bottleneck—so it is a promising research harness rather than a proven productivity win.
Target audience: AI/ML researchers, backend developers, and agent-tooling engineers exploring test-time search for coding agents
Repository: https://github.com/natsu0529/agent-mcts · Python · MIT
View on Hacker News