Back to work

AI agent framework / PROJECT NOTES

RLM - Recursive Language Model Framework

PythonDSPyOpenRouterPyodideDeno

Overview

I built a Python-based agent framework that generates, executes, and checks code in isolated environments. The framework uses Pyodide and Deno for code execution, with DSPy and OpenRouter coordinating LLM calls.

My work included the execution flow for recursive calls, breaking tasks into smaller steps, and running tasks in parallel through reusable pipelines.

The problem

Coordinate multi-step LLM tasks while keeping generated-code execution separate from the host application.

The result

Implemented recursive execution pipelines that combine task decomposition, parallel execution, and isolated code generation and checking.

LLM applications, Agent workflows, Code execution