This release is a pre-release and may not be stable for production use.
Dream-RSI SDK · Alpha
Bring your agent. Record its search. Evolve executable exploration policies.
An independent, unofficial Python SDK inspired by Dream-RSI research. Maintained by TheAstrayDev, who is not a Google or Google DeepMind employee. This is a personal research initiative, not a commercial Google development, official SDK or endorsed product.
Python 3.11+ · zero core third-party dependencies · Apache-2.0 · version 0.1.0a3.
Install
python -m pip install dreamrsi==0.1.0a3
from dreamrsi import Budget, DreamRSI
rsi = DreamRSI(
agent=lambda task: task.upper(),
evaluator=lambda answer: float(len(answer)),
budget=Budget(model_calls=4),
)
result = rsi.run_sync("hello")
print(result.best) # HELLO
This example demonstrates integration, not quality improvement. Stateful adapters support
generate/evaluate/refine tasks. Replay uses recorded outcomes without new discovery calls.
LLMPolicyDeveloper writes and iteratively rewrites executable source from measured feedback.
The SDK includes configurable Docker-free policy interpreters, optional process execution,
held-out validation, SQLite recovery and reported token/USD accounting.
Tested with Bonsai-27B-Q1_0
A local llama.cpp follow-up scored 5/6 revisions, repaired stopping from 1,000 to 4 replay rounds, promoted a policy and reloaded it for a fresh toy run. Residual error decreased from 1.5 to 0.1875 at six agent calls per policy. This is limited mechanics evidence, not a broad AI benchmark or a reproduction of the paper's performance. Earlier failures and all run denominators remain in the public reports.
- Full documentation and roadmap
- Real-model evidence
- Integration and recovery
- Sandbox configuration
- Issues
- Original Dream-RSI paper
Alpha APIs may change. Generated source runs in a bounded Python-syntax subset, not arbitrary Python. External state isolation and remote cancellation require adapter support. Usage caps depend on accurate provider reports and ceilings. Research-scale performance and broad generalization remain unverified.
Metadata
Release files for dreamrsi 0.1.0a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dreamrsi-0.1.0a3.tar.gz | 874.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dreamrsi-0.1.0a3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 984.5 kB
Release files / dreamrsi-0.1.0a3.tar.gz
| Download URL | dreamrsi-0.1.0a3.tar.gz |
|---|---|
| Size | 874.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a09449f4f9108bda5274ca29b6ecc0bcbe370b91daf3023fd41abd6d738c8b19
|
|
BLAKE2b-256 checksum How to use checksums |
895910c45d8b43925d1ed59c949d5ca8baf30b97dc37185d32e33140e5784c4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency logRelease files / dreamrsi-0.1.0a3-py3-none-any.whl
| Download URL | dreamrsi-0.1.0a3-py3-none-any.whl |
|---|---|
| Size | 109.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ffe1e257a8dadefbcbda859986bb237b08d03489e9a5182477309e066c7c50f
|
|
BLAKE2b-256 checksum How to use checksums |
8d6b5fdc23c9072f01a711e119cd383305c85e1ef6a2d52428e89f3c71a56e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency log