百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

fractal

> 编程语言
开源

递归语言模型 (RLM) CLI 代理

197 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

递归语言模型 (RLM) CLI 代理

fractal

the recursive language model CLI agent

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

The easiest way to see an RLM in action on your own work.

Website · predict-rlm · Discord

crafted with ♥ in MTL · NYC · FLP · by Trampoline AI

Quick start

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

This installs the fractal command (and uv if you don't have it). Make sure you meet the Requirements below, then drop into any project and run fractal.

Requirements

Fractal is in early alpha and has currently only been tested on macOS.

  • Python 3.11+.

  • uv to install and run Fractal.

  • sbx v0.33.0+, logged in, with a default network policy. Fractal uses predict-rlm's sbx backend for sandboxed code execution:

    bash
    brew install docker/tap/sbx
    sbx login
    sbx policy set-default balanced   # required: sbx refuses to create sandboxes without one

    If sbx is not logged in, or no default network policy is set, the first turn fails (sbx rejects sbx create with "default network policy has not been configured"). You can verify the rest of your setup (provider, model, auth) ahead of time with fractal config status.

    The very first run downloads the sandbox template image, which can take several minutes. Check whether the image has already been pulled with sbx template ls; if nothing appears, Fractal startup will take longer the first time. You can pre-pull it once with sbx create shell /tmp/_warm --name warm --template docker.io/docker/sandbox-templates:shell && sbx rm --force warm. We've noticed some bugs with SBX on MacOS items: list[DatedItem]", page=render(page, dpi=80)) │ for page in doc │ ]) ↳ sub-lm 47/123 · page 47 2 items · 2026-04-01 renewal notice · 2026-06-30 term end ↳ returning items to parent

RLM turn 2/30 (ok) reasoning: 31 items collected — sort them, then write the deliverable python: │ items = sorted((i for r in results for i in r.items), key=lambda i: i.date) │ write_file("timeline.md", to_markdown(items)) │ for i in upcoming(items): │ add_reminder(i.date, i.description)

Contract timeline · Acme MSA Across all 123 pages I found 31 dated items. Full timeline written to timeline.md; the 4 upcoming deadlines are on your calendar.

…

bash cd your-project fractal # first run launches provider/model setup, then a session


On first interactive run with no global config, Fractal runs setup
automatically: pick a provider, a model, an optional cheaper sub-model, and how
to supply the API key. After setup you land in an interactive session in the
current directory. Type a request, and Fractal edits the workspace and reports
what it changed. Use `/help` to list slash commands and `/exit` to quit.

## Usage

```bash
fractal                       # interactive session in the current directory
fractal -p "fix the tests"    # one non-interactive turn
fractal --resume  # resume a stored workspace session

…

bash
bash
fractal -p "fix the failing tests"          # one turn, prompt as an argument
git diff | fractal -p -                      # read the entire prompt from stdin
echo "summarize recent changes" | fractal -p "review this diff"  # prompt + stdin context

…

bash
bash
git clone [email protected]:Trampoline-AI/fractal.git
cd fractal
uv sync                # install dependencies
uv run fractal --help
uv run pytest          # 200+ tests

When running from a checkout, prefix commands with uv run (e.g. uv run fractal); an installed tool just uses fractal.

See CONTRIBUTING.md for the contribution workflow and CHANGELOG.md for release notes.

Fractal is a fully open-source proof of concept we're putting out to see what people build with it. It's early, and moving fast.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言