Skip to content

🌳 AgenTree

Hierarchical AI Agents

TypeScript library for creating AI agents that recursively decompose tasks by spawning specialized children

🧠 Intelligent Task Decomposition

Agents automatically analyze complex tasks and break them down into manageable subtasks, creating specialized child agents with specific roles and tools.

🎯 Dynamic Agent Creation

Parent agents dynamically define the role, context, and available tools for their children based on the specific requirements of each subtask.

📁 Automatic Documentation

Complete execution traces are automatically saved as structured markdown reports, providing full transparency into the decision-making process.

🔧 Flexible Tool System

Transform any TypeScript function into an agent tool using Zod schema validation. Built-in tools included for common operations.