Skip to main content

Module runtime_guide

Module runtime_guide 

Source
Expand description

The runtime guide: the system prompt section that tells the model how to work in the RLM REPL. Port of packages/coding-agent/src/ultron/rlm/prompt.ts (rlmRuntimePrompt, extensionToolsPrompt, rlmToolGuidelines) and the prompt texts it imports.

Structs§

ExtensionToolSummary
An extension tool as the guide lists it.
RuntimeGuideOptions
Options of rlmRuntimePrompt. hints is explicit: the TS default reads ULTRON_HINTS.

Enums§

EventDelivery
How detached work’s completions reach the root.
GuideReader
Who reads the guide.
MemoryGuidance
How much the guide says about memory (the reader’s model tier picks it: session_core::memory_guidance). Every reader is told what memory is for; only a weaker tier is also told how to go about it.

Constants§

EXTENSION_TOOLS_LISTED
At most this many extension tools are listed by name in the guide.
NATIVE_FILE_TOOLS
Native Pi tools that the REPL replaces by default.

Functions§

extension_tools_prompt
How to call extension tools (and MCP servers through mcp) from Python; None without REPL tools.
rlm_runtime_prompt
The runtime guide for the system prompt when rlm is among the active tools.
rlm_tool_guidelines
Guideline bullets for the rlm tool, depending on whether native file tools are active too.