Skip to main content

Rebuno Python SDK

Python SDK for Rebuno, an open-source execution runtime for production agents.

Install

pip install rebuno

Requires Python 3.11 or later.

An agent

from rebuno import Agent, tool


@tool
async def search(query: str) -> list[str]:
    return [f"result for {query}"]


async def process(prompt: str) -> dict:
    hits = await search(prompt)
    return {"answer": hits}


agent = Agent("dev-agent", secret="dev-secret", base_url="http://localhost:8080")
agent.run(process, port=5000)

Every effect goes to the kernel as a step before it runs. On a re-dispatch the handler runs again from the top, and any step with a recorded result replays it instead of running a second time.

Documentation

  • Getting started: install, configuration, the dispatch loop, and a complete example.
  • Agents: the Agent host, input binding, run vs app, dispatch and resume, lifecycle.
  • Tools: @tool, wrap_tool, idempotency, blocking work, and wrapping MCP tools.
  • LLM calls: http_client() and RebunoTransport.
  • Local steps: rebuno.step() for durable local work.
  • Clients: creating and inspecting executions, and approvals.
  • Errors: the exception hierarchy.
  • How it works: step identity, replay, heartbeats, and the kernel protocol.

License

MIT

Metadata

Release files for rebuno 0.15.0

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

Source distribution (sdist)

Source distribution for rebuno 0.15.0
File Size Uploaded Provenance Actions
rebuno-0.15.0.tar.gz 76.7 kB Without provenance Details for rebuno-0.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 103.0 kB

Release files / rebuno-0.15.0.tar.gz

Download URL rebuno-0.15.0.tar.gz
Size 76.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0e92a3837c47a2eded30a40e1a7f78a2e94bd7898a9d93623d9a6ca4b25592b0
BLAKE2b-256 checksum
How to use checksums
711e4402cfbbddb3aff44d08d7385c7f3ebb81dc8a892d601e7285da4a80df8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / rebuno-0.15.0-py3-none-any.whl

Download URL rebuno-0.15.0-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0d460961f6401e2d0dc57f7d7086317c8fc6882133e0b11fde82e7e8a33b6b0
BLAKE2b-256 checksum
How to use checksums
5adf4e3d2b932d638d66ff4e7959cb834d75c7b118d467d318835f2881811f39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for rebuno 0.15.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.

Release history Release notifications | RSS feed

This release

0.15.0 This release

2 release files No provenance

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