Show HN: Fractal – recursive agent loops for complex, multi-step work Plasma AI released Fractal, an open-source tool that uses recursive agent loops organized in a tree of git worktrees to autonomously decompose and complete complex, multi-step tasks. Each node iterates toward a goal, spawns child nodes for separable subtasks, and is bounded by hard caps on iterations, depth, children, cost, and time, with all run metadata stored in a local SQLite database accessible via a terminal UI. The tool supports five agent backends—Claude Code, Codex, Grok Build, OpenCode, and Oh My Pi—and is available on PyPI as the 'plasma-fractal' package. Hierarchical agent loops with recursive self-organization. In a fractal, autonomous agent loops arrange themselves into a tree: a node iterates toward a goal in its own git worktree and spawns child nodes for separable subtasks, so the tree grows to fit the problem rather than a fixed plan. Hard caps iterations, depth, children, cost, time keep each loop bounded, and an operator can steer or stop it at any point. Run metadata including cost lands in one local SQLite database, which can be interacted with live in a terminal UI. Source : https://github.com/plasma-ai/fractal https://github.com/plasma-ai/fractal Package : https://pypi.org/project/plasma-fractal/ https://pypi.org/project/plasma-fractal/ Documentation : https://docs.plasma.ai/fractal https://docs.plasma.ai/fractal Install the fractal package from PyPI: pip install plasma-fractal or pip install fractal Use pipx install or uv tool install to install the package in an isolated environment. If you use one of these two methods, you must also install plasma-wiki a plain pip install pulls plasma-wiki and puts wiki on your PATH , but this is not the case when using pipx install or uv tool install . uv tool install plasma-fractal --with-executables-from plasma-wiki does the same in one command. Open the dashboard from your project root with fractal open requires an initialized fractal . Pass --light if your terminal uses a light color scheme. Install the skill for your agent via the plugin marketplace Claude Code and Codex : Claude Code /plugin marketplace add plasma-ai/plugins /plugin install fractal@plasma Codex codex plugin marketplace add plasma-ai/plugins codex plugin add fractal@plasma Another install route is from the CLI, which copies or symlinks the fractal and wiki skills into ~/.claude/skills and ~/.agents/skills add --project for the current project only : fractal install --link After upgrading the package, re-run fractal install to refresh the copied skills pass --link for symlinked install . A fractal is a tree of git worktrees, each running an autonomous agent loop. The root node branches from your working tree, and child nodes branch from their parent. Agents iterate in tmux sessions, and all state runs, iters, steps, costs, signals is tracked in a local SQLite database. Five agent backends are supported — Claude Code claude , Codex codex , Grok Build grok , OpenCode opencode , and Oh My Pi omp — selected per node with --agent children inherit it . Claude and Codex can additionally route through OpenRouter with --provider=openrouter , which authenticates via OPENROUTER API KEY from the launching shell; OpenCode and Oh My Pi reach OpenRouter natively through their own openrouter/