Metadata-Version: 2.5
Name: rlm-agent-runtime
Version: 0.1.0
Summary: Kernel-side runtime shim for Zero recursion
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: ipykernel
Requires-Dist: nest-asyncio
Requires-Dist: tyro
Description-Content-Type: text/markdown

# rlm-agent-runtime

Kernel-side Python runtime shim for [Zero](https://github.com/Ruthvik-Anne/zero), the RLM coding
agent CLI. This package is installed into the persistent IPython kernel that Zero's TypeScript
host launches for each session — it is not meant to be installed or imported standalone.

It provides:

- **`host_request` / `run`** — the kernel side of the generic host bridge. Python skills call
  `await host_request("<type>", {...})` to make typed requests of the TypeScript host over an
  `ipykernel` comm channel, and `await run(prompt, ...)` to spawn a recursive child agent.
- **Continual harness state** (`rlm.harness`) — persisted prompt notes, memory, skills, subagent
  specs, and refinement events, scoped per-session by default with an explicit `global_=True`
  opt-in for cross-session entries.
- **MCP skill helpers** (`rlm.mcp_base`) — shared error types and config-directory resolution for
  Python skills that call out to MCP-integrated tools.

## Installation

Zero installs this automatically as part of its first-run kernel bootstrap. Manual installation
(`pip install rlm-agent-runtime` or `uv add rlm-agent-runtime`) is only needed if you're pointing
`ZERO_KERNEL_PYTHON` at a Python environment you manage yourself.

## License

MIT
