SIB (Self-Improving Benchmark)
A framework for building self-improving AI agents that autonomously refine their performance on benchmark tasks.
Installation
pip install sib-agent
Usage
from sib import Generation, GenerationLog, ScoreTracker
# Track generations in a self-improvement loop
log = GenerationLog()
gen = log.new_generation(config={"model": "claude-sonnet", "temperature": 0.7})
# ... run your agent ...
gen.finish(result={"accuracy": 0.82})
gen = log.new_generation(config={"model": "claude-sonnet", "temperature": 0.5})
# ... run improved agent ...
gen.finish(result={"accuracy": 0.91})
# Find the best generation
best = log.best("accuracy")
print(best.generation_id, best.result) # 1 {'accuracy': 0.91}
# Save and reload logs
log.save("run_log.json")
log = GenerationLog.load("run_log.json")
# Track scores across generations
tracker = ScoreTracker()
tracker.record("accuracy", 0.82)
tracker.record("accuracy", 0.91)
summary = tracker.summarise("accuracy")
print(summary.improvement) # 0.09
print(summary.is_improving) # True
License
MIT
Metadata
Release files for sib-agent 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sib_agent-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for sib_agent-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sib_agent-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sib_agent-0.1.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / sib_agent-0.1.0.tar.gz
| Download URL | sib_agent-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b438fff9a16050fd2bfc20bfac2f1a8b9b7afd826585a2e1a18884349b23f70
|
|
BLAKE2b-256 checksum How to use checksums |
f9854f458af21f9e9b45cde09724df3aef7fbd3a6cb2a8757c098cab6d271ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / sib_agent-0.1.0-py3-none-any.whl
| Download URL | sib_agent-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41c8b76410fe8089418927603cbecb8e8f8a6424af01b3d911148189c2f89629
|
|
BLAKE2b-256 checksum How to use checksums |
e4a9a2c7a9725bc261df0c125f5ec1168580b9cc8f2e27fe69bfea0cf2b758e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for sib-agent 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.