> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Fleet RLM overview

> Fleet RLM is a Python agent runtime that runs DSPy Turns in Daytona sandboxes, with PostgreSQL Sessions, MLflow traces, and a terminal client.

Fleet RLM is a Python agent runtime for work that needs reasoning, Python, and files. You ask a question in the terminal, watch the work stream in, and return to the saved Session later. The current implementation is also called **Fleet RLM Lite**.

Fleet RLM combines four pieces:

* [DSPy](https://github.com/stanfordnlp/dspy) runs each Turn through a `direct`, `flex`, or `rlm` route.
* [Daytona](https://www.daytona.io/) sandboxes run every line of model-authored Python, outside the Fleet process.
* PostgreSQL stores durable Session state: Turn history, file content, memories, and Session selections.
* [MLflow](https://mlflow.org/) records traces and runs evaluation. Fleet uses a local MLflow server by default.

A FastAPI server streams progress over Server-Sent Events (SSE). The terminal client and your own clients use the same HTTP API.

Fleet RLM 0.10.0 requires Python 3.11 to 3.13 and pins DSPy 3.4.1.

## What you can do

* **See the work as it happens.** The terminal shows routing, generated Python, tool activity, child sandboxes, and the final answer in one timeline.
* **Continue a Session.** History, workspace files, reviewed memory, and model and mode selections survive a restart. Python variables in the sandbox are not durable.
* **Work with large files.** Large inputs stay in workspace files. The model receives paths, metadata, and bounded previews, then explores the data through Python.
* **Delegate independent work.** `spawn_agent` runs a subtask in a fresh child sandbox. `spawn_agents` runs independent subtasks concurrently within shared limits.
* **Evaluate and optimize.** Label traces, score Turns, and compile GEPA candidates with `fleet eval` and `fleet optimize`.
* **Drive it from your own client.** The same server runs without the terminal and exposes an HTTP and SSE API.

## How the pieces fit

```text theme={null}
Terminal client ── HTTP / SSE ──> FastAPI ──> DSPy Turn program
                                    │              │
                                    │              └── Daytona: generated Python,
                                    │                  root and child sandboxes
                                    ├── PostgreSQL: durable Session state
                                    └── MLflow: traces and evaluation
```

The server runs each Turn on a worker thread, executes model-authored Python in Daytona, and streams progress to the client. Fleet commits the Turn to Session history before it reports the Turn as persisted.

## Next steps

> [card] [Quickstart](https://docs.qredence.ai/fleet-rlm/quickstart.md)
>
> Install Fleet RLM and run your first live Session.

> [card] [How Fleet RLM works](https://docs.qredence.ai/fleet-rlm/concepts/how-it-works.md)
>
> Follow a Turn from request to committed result.

> [card] [Use the terminal](https://docs.qredence.ai/fleet-rlm/guides/terminal.md)
>
> Slash commands for files, Sessions, models, Skills, and traces.

> [card] [HTTP API](https://docs.qredence.ai/fleet-rlm/reference/http-api.md)
>
> Sessions, Turns, workspace files, and the SSE stream.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.