fractal

the recursive language model cli agent

by Trampoline

A terminal agent that is an RLM. Powered by predict-rlm — our self-harnessed Recursive Language Model runtime.

$ curl -LsSf https://fractal.trampoline.ai/install.sh | sh

how it works

The agent is an RLM.

Most agents call a model in a loop. Fractal's loop is the model — predict-rlm recurses, spawning sub-LMs to work the shards of a task that won't fit one context, then folds their results back up. Fractal is a thin UI on top, adding session memory so you can hold a conversation across turns. It's probably the easiest way to get started with an RLM, and to actually understand how one works — by experimenting on your own tasks.

where it shines

Analysis- and context-heavy work.

Reasoning across a big or deep codebase, synthesizing across many files, audits, investigation — anything where the context is the hard part.

Hand off the heavy work

Use it directly in your terminal, or have your main agent hand the heavy lifting to it in headless mode with fractal -p "…". We ship a skill that teaches agents when and how to reach for it.

what you get

Small surface, deep runtime.

Powered by predict-rlm

Recursive and self-harnessed. The runtime is the agent — no orchestration to assemble.

Model-agnostic

OpenAI, Anthropic, Gemini, Groq, Ollama, OpenRouter, or any OpenAI-compatible endpoint.

Sandboxed by default

Every turn runs in an isolated Docker sandbox. Point it at real work without flinching.

Headless & scriptable

Drive it from CI or another agent with fractal -p.