Skip to main content

Fleet RLM

Fleet RLM is a terminal-based assistant for work that needs reasoning, Python, and files. Ask a question, watch its work stream into the terminal, and return to a saved Session later. Fleet uses DSPy for the RLM reasoning loop, Daytona for isolated execution, and FastAPI for its backend.

CircleCI PyPI Python License

What you can do

  • See the work as it happens. The terminal shows reasoning, generated Python, tool activity, and results in one timeline.
  • Continue a Session. With a configured database, committed conversation history survives a restart.
  • Work with files. Attach local files to a Turn, inspect workspace files, and download committed Artifacts.
  • Choose how much delegation to use. The configuration enables DSPy's native semantic calls and bounded, isolated child RLMs for independent investigations. Set rlm.recursion_enabled = false for native-only operation.

Run a live local Session

You need Python 3.11–3.13, uv, Node 22.19+, pnpm, a Daytona account, and a key for the model provider in the shipped configuration. The repository includes a local SQLite configuration; a separate PostgreSQL setup is not needed to try Fleet.

1. Install

git clone https://github.com/Qredence/fleet-rlm.git
cd fleet-rlm
uv sync --dev
pnpm --dir tools/fleet-tui install --frozen-lockfile

2. Add credentials

cp .env.example .env

Open .env and fill in DATABRICKS_TOKEN, FLEET_LLM_BASE_URL, FLEET_DAYTONA_API_KEY, and FLEET_DAYTONA_ORG_ID. The example supplies an explicit local SQLite URL; replace the gateway placeholder with your Databricks workspace /ai-gateway/mlflow/v1 base. Keep secrets out of Git. To configure another provider, use the configuration guide and environment reference.

3. Initialize and start

uv run python scripts/database.py upgrade
uv run fleet cli

Fleet does not migrate the database on startup. fleet cli starts the backend and opens the terminal client. Try a prompt such as “Use Python to calculate the first 20 Fibonacci numbers and explain the result.” /help shows the available commands. Fleet prints the Session ID so you can return later:

uv run fleet cli -- --session <session-uuid>

The first live Turn uses the configured model provider and Daytona Sandbox. uv run fleet doctor daytona is an optional, disposable connectivity and mount probe when setup fails. See the CLI guide for diagnostics and launch options.

In the terminal

Command Use it to
/help Find commands and keyboard shortcuts.
/attach <path> Add a local file to the next Turn.
/files Browse the Workspace files/ area.
/artifacts List Artifacts from the conversation.
/sessions Switch between saved Sessions.
/settings Edit the single runtime configuration; restart to apply.

The terminal guide covers file downloads, themes, Skills, cancellation, and other controls.

How it works

Terminal client → FastAPI/SSE backend → DSPy RLM → Daytona Sandbox
                         ↘ durable Sessions and committed results

The backend prepares each request, runs model-authored Python in Daytona, and streams progress to the terminal. It commits an answer and any Artifacts only after the Run settles. Bounded child RLMs are enabled by the shipped configuration. Runtime policy lives in config/fleet.toml, and changes take effect after a restart.

Fleet also exposes the backend without the terminal through uv run fleet web or uv run fleet-rlm serve-api --port 8000. The API binds to loopback by default and has no caller authentication. See the HTTP API reference and generated OpenAPI contract.

Learn more

License

MIT — see LICENSE.

Metadata

Release files for fleet-rlm 0.7.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fleet-rlm 0.7.11
File Size Uploaded
fleet_rlm-0.7.11.tar.gz 462.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fleet-rlm 0.7.11
File Interpreter ABI Platform
fleet_rlm-0.7.11-py3-none-any.whl Python 3 none any Details

Total release size: 996.0 kB

Release files / fleet_rlm-0.7.11.tar.gz

Download URL fleet_rlm-0.7.11.tar.gz
Size 462.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5ff13ab14ca501d9b54253d11fc7c7cd997cc7df852c6a6a48d6b4ea9af02f64
BLAKE2b-256 checksum
How to use checksums
dbb2cc89802ef3ceef270f4c3504a61aba3229fee8650547f57ba6403c410199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / fleet_rlm-0.7.11-py3-none-any.whl

Download URL fleet_rlm-0.7.11-py3-none-any.whl
Size 533.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c227269ad0df373d7910d7818b35e1982659886d34d4986ad3698d9f516a68bc
BLAKE2b-256 checksum
How to use checksums
75856e42db6d437df3ccda0ac2492d0f3b82fb266d92b0491cefa6fc19aadbf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.11 This release

2 release files

0.7.10

2 release files

0.7.9

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.0

2 release files

0.5.50

2 release files

0.5.40

2 release files

0.5.31

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.99

2 release files

0.4.98

2 release files

0.4.97

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page