ConvoTree

•
1
•

Enables AI agents to run sub-tasks in isolated branches, returning clean, structured summaries to prevent main context exhaustion.

ConvoTree is a local MCP server designed to combat context exhaustion in long AI agent runs. It provides a unique "fold" tool that allows agents to delegate sub-tasks like research, analysis, or design exploration to isolated branches. This process, known as context folding, ensures that the main agent context remains clean and focused, receiving only a concise, structured summary of the sub-task's outcome. All intermediate work and branching conversations are saved locally in a SQLite file, offering full transparency and the ability to review past explorations, enhancing agent efficiency and reliability without requiring complex model training.

主な機能

01Allows selecting a specific LLM provider and model (e.g., Anthropic, OpenAI, Ollama) per fold for task optimization.
02Persists all conversation history, branches, summaries, and token counts in a local SQLite database for transparency and review.
03Provides a `convo_fold` tool for one-shot, isolated sub-task execution with structured summary output.
04Supports multi-turn manual branching (`branch_open`, `branch_chat`, `branch_park`, `branch_merge`) for detailed explorations.
05Ensures isolated folds focus solely on distilling information, without file or shell access.
060 GitHub stars

ユースケース

01Managing long-running agent processes by preventing context window overflow from extensive intermediate work and tangents.
02Conducting isolated design explorations or complex analysis, merging only the final conclusion to maintain a clean main thread.
03Offloading research or fact-checking tasks to a dedicated branch, integrating only the summarized answer into the main context.