This page documents the current, maintained Python interfaces for building on fleet-rlm.
Primary sandbox execution runtime. The maintained implementation lives in
fleet_rlm.integrations.daytona.interpreter.
Typical usage:
from fleet_rlm import DaytonaInterpreter
with DaytonaInterpreter(timeout=600, volume_name="rlm-volume-dspy") as interp:
result = interp.execute("print('hello')")Key capabilities:
- lifecycle control (
start,shutdown, context managers) - sync/async execution (
execute,aexecute) - execution profile support used by server and delegate workflows
Interactive ReAct orchestration module used by CLI and server chat surfaces.
Key behaviors:
- tool discovery and registration via
discover_tools() - sync chat turn helpers
- streaming event generation for WebSocket clients
Current maintained runner surface:
build_chat_agent(...)run_react_chat_once(...)arun_react_chat_once(...)run_long_context(...)
Constructs an AgentRuntime wrapping FleetAgent. The maintained surface is intentionally small:
docs_pathreact_max_itershistory_max_turnsextra_toolsenv_fileplanner_lminterpretersub_lm/delegate_lmrepository
Daytona sandbox controls such as timeout, volume, recursion limits, child isolation, and delegate budgets belong on DaytonaInterpreter, server runtime config, or the interpreter pool. They are no longer accepted as no-op compatibility kwargs by build_chat_agent.
Single-turn wrappers around the interactive ReAct agent.
Their maintained controls are message, docs_path, react_max_iters, include_trajectory, env_file, and delegate_lm; the async wrapper also accepts planner_lm.
Common output shape includes:
response- optional trajectory metadata (when enabled)
- turn/session metadata and warnings
Long-document analysis/summarization helper backed by DSPy RLM signatures.
Modes:
summarize→SummarizeLongDocument
Current maintained signatures include:
SummarizeLongDocumentExtractFromLogsGroundedAnswerWithCitationsIncidentTriageFromLogsCodeChangePlanCoreMemoryUpdateProposalVolumeFileTreeSignatureMemoryActionIntentSignatureMemoryStructureAuditSignatureMemoryStructureMigrationPlanSignatureClarificationQuestionSignature
from fleet_rlm.cli.runners import run_long_context
result = run_long_context(
docs_path="README.md",
query="Summarize the architecture",
mode="summarize",
)
print(result["summary"])uv run python -c "from fleet_rlm.cli.runners import run_long_context, run_react_chat_once"
uv run python -c "from fleet_rlm.runtime.agent.signatures import SummarizeLongDocument"