Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Fractals is a recursive task orchestrator for agent swarm
| Date | Stars |
|---|---|
| 2026-07-31 | 643 |
| 2026-08-06 | 643 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center">
<img src="./images/fractals-cover.png" alt="Fractals" width="600" />
<h1>Fractals 🌀</h1>
<p><strong>Recursive agentic task orchestrator</strong></p>
<p><strong>Give it any high-level task and it grows a self-similar tree of executable subtasks, then runs each leaf in isolated git worktrees with an agent swarm.</strong></p>
<p>
<img src="https://img.shields.io/badge/stability-experimental-orange.svg" alt="Experimental" />
<a href="https://opensource.org/licenses/MIT">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="MIT License" />
</a>
<a href="https://discord.gg/jH6AcEChuD">
<img src="https://img.shields.io/discord/1353722981163208785?logo=discord&logoColor=white&label=Discord&color=7289DA" alt="Discord" />
</a>
</p>
</div>
<p align="center">
<img src="./images/fractals.png" alt="Fractals demo UI" width="760" />
</p>
## Architecture
```
┌─────────────────────────────────────────────────────────┐
│ web/ (Next.js frontend) │
│ - Task input │
│ - Tree visualization │
│ - Workspace setup │
│ - Execution status polling │
└────────────────────┬────────────────────────────────────┘
│ HTTP (:1618)
┌────────────────────▼────────────────────────────────────┐
│ src/ (Hono server) │
│ │
│ ┌─────────┐ ┌──────────┐ ┌──────────────────────┐ │
│ │ LLM │ │Orchestr- │ │ Executor │ │
│ │classify │──>│ ator │ │ Claude / Codex CLI │ │
│ │decompose│ │ plan() │ │ git worktrees │ │
│ └─────────┘ └──────────┘ └──────────────────────┘ │
│ │
│ OpenAI (gpt-5.2) Claude / Codex CLI (spawn) │
└─────────────────────────────────────────────────────────┘
```
## Two-Phase Flow
```
Phase 1: PLAN Phase 2: EXECUTE
───────────────── ──────────────────
User enters task User confirms plan
│ User provides workspace path
v │
classify(task) v
┌──atomic──> mark "ready" git init workspace
│ create worktrees
└──composite──> decompose(task) batch leaf tasks
│ │
[children] v
│ claude --dangerously-skip-permissions
plan(child) <────┐ -p "task + lineage context"
│ │ (per worktree)
└───────────┘
```
## UX Flow
1. **Input** -- enter a task description and max depth
2. **Decompose** -- server recursively breaks it into a tree
3. **Review** -- inspect the full plan tree before committing
4. **Workspace** -- provide a directory path (git-initialized automatically, defaults to `~/fractals/<task-slug>`)
5. **Execute** -- leaf tasks run via Claude CLI in batches, status updates poll in real-time
## Batch Strategies
Due to rate limits, leaf tasks execute in batches rather than all at once.
| Strategy | Description | Status |
|----------|-------------|--------|
| **depth-first** | Complete all leaves under branch 1.x, then 2.x, etc. Tasks within each branch run concurrently. | Implemented |
| **breadth-first** | One leaf from each branch per batch. Spreads progress evenly. | Roadmap |
| **layer-sequential** | All shallowest leaves first, then deeper. | Roadmap |
## Project Structure
```
src/
server.ts Hono API server (:1618)
types.ts Shared types (Task, Session, BatchStrategy)
llm.ts OpenAI calls: classify + deExcerpt of 7,970 characters
Read on GitHub6
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:2b0bbf0fd5c2f1c1, llm:Repository description: "Fractals is a recursive task orchestrator for agent swarm" (TypeScript).
matched fp:2b0bbf0fd5c2f1c1, llm:Repository description: "Fractals is a recursive task orchestrator for agent swarm" (TypeScript).