Skip to main content

scbe-agent-bus (Python)

Python surface over the SCBE governed event runner. Routes AI/human/AI events through the harmonic-wall pipeline and returns a typed envelope matching the scbe-agentbus-pipe-result-v1 schema used by the Node sibling on npm.

Install

pip install scbe-agent-bus

Use as a library

from scbe_agent_bus import run_event, run_batch

result = run_event(
    {"task": "summarize repo state", "task_type": "research"},
    repo_root="/path/to/SCBE-AETHERMOORE",
)
print(result["ok"], result["result"])

repo_root must point at a checkout of issdandavis/SCBE-AETHERMOORE that contains scripts/scbe-system-cli.py. If omitted, defaults to os.getcwd().

Use as a CLI

echo '{"task": "summarize repo state"}' | scbe-agent-bus --repo-root .

Emits one JSON object per event (JSONL) on stdout, or to --output PATH.

Schema

Every result is a dict matching scbe-agentbus-pipe-result-v1:

{
    "schema_version": "scbe-agentbus-pipe-result-v1",
    "event_index": 1,
    "started_at": "2026-05-07T...Z",
    "finished_at": "2026-05-07T...Z",
    "ok": True,
    "exit_code": 0,
    "stderr_tail": "",
    "event": {
        "task_sha256": "...",
        "task_chars": 22,
        "series_id": "pipe-event-1",
        "operation_command_chars": 0,
    },
    "result": { ... },  # underlying scbe-system-cli payload
}

Relationship to the Node package

This package is the Python sibling of scbe-agent-bus on npm. Both wrap the same underlying Python runner (scripts/scbe-system-cli.py agentbus run) and produce identical envelope shapes. Pick whichever fits your host environment.

Companion package prompts

The Python package can point users toward optional SCBE companion packages without installing them automatically:

from scbe_agent_bus import recommend_companion_packages

recommend_companion_packages(["operator_manifold", "tokenizer"])
# -> prompts for scbe-aethermoore on npm

This keeps local installs small. Cloud, Codespaces, VM, browser, and tokenizer features should be added only when a user requests that lane.

License

Dual licensed under MIT OR Apache-2.0. See LICENSE and LICENSE-APACHE.

Metadata

Release files for scbe-agent-bus 0.3.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 scbe-agent-bus 0.3.0
File Size Uploaded
scbe_agent_bus-0.3.0.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scbe-agent-bus 0.3.0
File Interpreter ABI Platform
scbe_agent_bus-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.9 kB

Release files / scbe_agent_bus-0.3.0.tar.gz

Download URL scbe_agent_bus-0.3.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7eb0ea37315225645898bfe3ee7831a61c9d2ecf83a4e957b4bdfb7b80a1be62
BLAKE2b-256 checksum
How to use checksums
a94ec859f3917ee8345aef8fd2344ac2a16cc9510fa20e60f82d15c0455b9320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 14, 2026.

Transparency log

Release files / scbe_agent_bus-0.3.0-py3-none-any.whl

Download URL scbe_agent_bus-0.3.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db1ffebfc1a8a5da9275ae658f362236e2fc8fcfbe05a57f3f126968d285e7ab
BLAKE2b-256 checksum
How to use checksums
79ea87308a2f0b0472eb927fbfbb3dd838e9d891a501fa96970c3f96d9d58874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

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