awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
alexzhang13 avatar

alexzhang13/rlm

0
View on GitHub↗
2,609 stars·485 forks·Python·mit·6 viewsarxiv.org/abs/2512.24601v1↗

Rlm

rlm is an LLM code execution engine and orchestration framework designed to coordinate multiple language model calls and recursive sub-tasks through a programmable environment. It provides a sandboxed REPL environment and a recursive context processor to handle inputs that exceed standard token limits by programmatically decomposing prompts.

The project differentiates itself through a reinforcement learning training harness used to teach models how to utilize recursive calls and code execution. It includes a reasoning visualization system that records and renders execution trajectories to analyze how models decompose and solve complex tasks.

The system supports secure code execution via pluggable backends, including cloud virtual machines, isolated containers, and local processes. It manages state across multiple turns using a REPL-based environment and allows for the injection of custom tools and external functions into the execution flow.

The framework is implemented in Python.

Features

  • Code Execution Engines - Provides a dedicated engine for managing the lifecycle and execution of code snippets generated by language models.
  • LLM Orchestrators - Orchestrates the workflow between various language models and external tools, including interactive IPython shells.
  • Model Backend Registrations - Configuring a list of distinct language models to execute specific tasks within a single automated workflow.
  • Provider-Agnostic Model Interfaces - Standardizes connections to various language model backends using a unified, provider-agnostic API and configuration.
  • Recursive Language Models - Implements recursive execution to explore and process large input contexts that exceed standard token limits.
  • Recursive Task Decomposers - A tool for handling near-infinite input lengths by programmatically decomposing prompts and executing recursive model calls.
  • Reinforcement Learning Training Pipelines - Provides a reinforcement learning training harness that records execution trajectories to teach models recursive task decomposition.
  • Code Execution Environments - Runs model-generated code in isolated sandboxes or containers to safely perform computations and data processing.
  • Sandboxed Code Execution Environments - Executes generated code within a sandboxed REPL environment to manipulate data and maintain state across operations.
  • Code Sandboxing Environments - Provides isolated environments using containers and virtual machines to securely execute untrusted model-generated code.
  • Execution Backends - Implements pluggable execution backends that switch between local processes, containers, and cloud virtual machines based on security needs.
  • Reasoning Chain Visualizers - Records and renders execution trajectories to visualize how models decompose and solve complex tasks.
  • Code Execution Environments - Uses a programmable REPL environment to read, transform, and partition large context variables via executed code.
  • Long Context Processing - Divides massive input contexts into smaller subsets and maps recursive calls across them for processing.
  • Tool-Use Integrations - Allows injecting external functions and data as callable tools for the language model to utilize during execution.
  • Execution State Persistence - Stores prompts and intermediate results as variables in a REPL to allow data modification across multiple turns.
  • Container Execution - Provides a secure, reproducible environment with a private filesystem by running code within isolated containers.
  • Custom Container Images - Uses custom container images to define specific language versions and pre-installed libraries for reproducible code execution.
  • Code Execution Sandboxes - Provides low-overhead execution for trusted tasks by running code within the host process using a restricted namespace.
  • Execution Sandboxes - Runs untrusted code in ephemeral cloud virtual machines to secure the host system.
  • REPL Workspace Management - Maintains a persistent REPL workspace where variables and intermediate results survive across multiple model interaction turns.
  • Process Isolation - Ensures full namespace isolation by running generated code in separate subprocess kernels.
  • Subprocess-Based Isolation - Runs generated code in separate subprocesses to ensure namespace isolation and strictly enforce execution timeouts.
  • Custom Execution Environment Definitions - Allows the definition of custom sandbox templates via Dockerfiles to support specialized language versions and dependencies.
  • Agent Trajectory Logs - Records prompts, generated code, and execution results into structured files to analyze model task decomposition.
  • Trajectory Visualizers - Renders recorded execution trajectories into a visual interface to inspect the flow of code and model interactions.

Star history

Star history chart for alexzhang13/rlmStar history chart for alexzhang13/rlm

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Rlm

Similar open-source projects, ranked by how many features they share with Rlm.
  • swe-agent/mini-swe-agentSWE-agent avatar

    SWE-agent/mini-swe-agent

    2,947View on GitHub↗

    mini-swe-agent is an autonomous software engineering system designed to develop features and fix bugs by combining large language models with a bash interface. It operates as an agentic framework that executes coding tasks and documentation updates through a continuous cycle of model reasoning and tool execution. The project differentiates itself with a strong focus on safety and evaluation, utilizing container-based sandbox execution via Docker or Singularity to isolate command execution. It includes a batch-parallel evaluation harness to measure code-fixing accuracy against standardized sof

    Pythonagentagentic-aiagentic-ai-cli
    View on GitHub↗2,947
  • vndee/llm-sandboxvndee avatar

    vndee/llm-sandbox

    1,082View on GitHub↗

    This project provides a secure, containerized execution engine designed to run untrusted code within isolated environments. It functions as a library for integrating code interpretation into autonomous agents and intelligent assistant workflows, ensuring that host systems remain protected while enabling dynamic data processing and file manipulation. The platform distinguishes itself through a multi-backend architecture that abstracts diverse container runtimes, allowing for flexible deployment and automated backend failover. It supports interactive, multi-turn workflows by maintaining persist

    Pythoncode-generationcode-interpreterlarge-language-models
    View on GitHub↗1,082
  • camel-ai/camelcamel-ai avatar

    camel-ai/camel

    17,253View on GitHub↗

    This project is a comprehensive framework for building and managing autonomous agent systems. It provides a unified architecture for orchestrating multi-agent societies, where specialized agents collaborate through roleplay to decompose and solve complex tasks. The system integrates language models with external environments, enabling agents to perform real-world actions through a standardized tool-calling abstraction layer. The framework distinguishes itself through its focus on iterative reasoning and data reliability. It employs automated feedback loops to refine agent outputs and self-eva

    Pythonagentai-societiesartificial-intelligence
    View on GitHub↗17,253
  • openai/openai-agents-pythonopenai avatar

    openai/openai-agents-python

    27,191View on GitHub↗

    This project is a Python framework for building autonomous, event-driven agent systems. It provides a unified runtime for orchestrating multi-agent workflows, managing persistent conversation state, and executing code within secure, isolated sandbox environments. The framework is designed to handle complex task delegation, allowing agents to invoke other agents as tools while maintaining context across multi-turn interactions. The framework distinguishes itself through its deep integration with the Model Context Protocol, enabling agents to connect to external data sources and remote services

    Pythonagentsaiframework
    View on GitHub↗27,191
See all 30 alternatives to Rlm→

Frequently asked questions

What does alexzhang13/rlm do?

rlm is an LLM code execution engine and orchestration framework designed to coordinate multiple language model calls and recursive sub-tasks through a programmable environment. It provides a sandboxed REPL environment and a recursive context processor to handle inputs that exceed standard token limits by programmatically decomposing prompts.

What are the main features of alexzhang13/rlm?

The main features of alexzhang13/rlm are: Code Execution Engines, LLM Orchestrators, Model Backend Registrations, Provider-Agnostic Model Interfaces, Recursive Language Models, Recursive Task Decomposers, Reinforcement Learning Training Pipelines, Code Execution Environments.

What are some open-source alternatives to alexzhang13/rlm?

Open-source alternatives to alexzhang13/rlm include: swe-agent/mini-swe-agent — mini-swe-agent is an autonomous software engineering system designed to develop features and fix bugs by combining… vndee/llm-sandbox — This project provides a secure, containerized execution engine designed to run untrusted code within isolated… camel-ai/camel — This project is a comprehensive framework for building and managing autonomous agent systems. It provides a unified… openai/openai-agents-python — This project is a Python framework for building autonomous, event-driven agent systems. It provides a unified runtime… stitionai/devika — Devika is an autonomous AI software engineering system designed to plan, write, and debug code from high-level natural… memodb-io/acontext — Acontext is an LLM orchestration backend and agent memory framework designed to manage session state and knowledge for…