Skip to main content

openrsi (Python)

Toolkit for managing agentic self-improvement pipelines.

Status: 0.0.1 placeholder. The API is an early sketch and will change.

Install

pip install openrsi

Usage

import asyncio
from openrsi import Pipeline, StepResult, define_step

pipeline = (
    Pipeline(name="demo", max_iterations=3)
    .add(define_step("evaluate", lambda ctx: StepResult("evaluate", improved=True)))
    .add(define_step("apply", lambda ctx: StepResult("apply", improved=False)))
)

results = asyncio.run(pipeline.run({"goal": "reduce latency"}))
print(results)

Develop

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest

License

MIT

Metadata

Release files for openrsi 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openrsi 0.0.1
File Size Uploaded
openrsi-0.0.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openrsi 0.0.1
File Interpreter ABI Platform
openrsi-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / openrsi-0.0.1.tar.gz

Download URL openrsi-0.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8229c27555e8008a1b220bbe2f35baaf2157e3a7571adb30fa3c7aa22555689a
BLAKE2b-256 checksum
How to use checksums
05030054f67545df7cea39015e0c128371a20eaedcafc8546a5c39860c5f52c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Release files / openrsi-0.0.1-py3-none-any.whl

Download URL openrsi-0.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b5d68edef3460af38c96f4753e1be0f8f52a2396e4c2a4efe516e318d1e0170
BLAKE2b-256 checksum
How to use checksums
c55a84395ee24ff5395288be79a281f95a7098a63688836cf997dce805502023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page