Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

RBEK Python SDK candidate

RBEK is the governed execution layer for AI agents, workflows and software.

Your framework or application decides what it wants to do. RBEK decides what may execute at the governed execution boundary.

60-second governed action

from rbek import CLIExecutionBinding, GovernedAction, Policy

weather = GovernedAction(
    name="weather.current",
    policy=Policy.allow_if(
        "latitude <= 90",
        deny_reason="Latitude outside business policy",
    ),
    binding=CLIExecutionBinding(
        provider="open-meteo",
    ),
)

result = weather.execute(
    latitude=32.66,
    longitude=-16.92,
)

print(result.status)
print(result.executed)
print(result.output)

The public Python layer stays small:

  • Policy
  • GovernedAction
  • GovernedResult
  • CLIExecutionBinding

CLIExecutionBinding sends a versioned declarative JSON request to:

rbek-cli developer execute

The developer does not manage project roots, provider registration files, plans, gates or evidence paths for this managed execution path.

Two different policy roles

Policy.allow_if(...) is a deterministic pre-execution business policy in the Python SDK. If it denies, the execution binding is not called.

It is not claimed to be equivalent to the canonical RBEK runtime gate policy.

After the SDK business policy allows an action, RBEK CLI remains the execution authority and the private runtime materializes the governed execution inputs before the canonical gate and provider execution.

Framework-agnostic integration

Keep your orchestrator. Govern the execution boundary.

The same GovernedAction pattern can be called from plain Python or wrapped by an agent/workflow framework. Framework-specific examples are reference integrations; they do not move orchestration authority into RBEK.

Publication status

This directory is a staged prerelease candidate for rbek 0.3.0a1.

It is not yet authorized for publication. Final source-license approval remains a release gate.

Metadata

Release files for rbek 0.3.0a1

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

Source distribution (sdist)

Source distribution for rbek 0.3.0a1
File Size Uploaded
rbek-0.3.0a1.tar.gz 13.0 kB Details

Built distribution (wheel)

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

Total release size: 26.4 kB

Release files / rbek-0.3.0a1.tar.gz

Download URL rbek-0.3.0a1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fa68b1605789cd524cb6e40d37388392576a414778ee6ee7a09fad9d5be931f8
BLAKE2b-256 checksum
How to use checksums
ddbd976a094494d2445b79d4524d4541e0202778c0ee8d916be1b169701a7fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / rbek-0.3.0a1-py3-none-any.whl

Download URL rbek-0.3.0a1-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45d37b97b7cdca22a231b3e703d643ff9b2a7806ffba8b1cc2ab99540df892cf
BLAKE2b-256 checksum
How to use checksums
6d12ec55cdcb654e395ded2cce3652136b44fc3c9eb151cbb87704b52a2d42ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3
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