Skip to main content

SCBE agent-bus: Python surface over the SCBE governed event runner. Routes AI/human/AI events through the harmonic-wall pipeline, wraps the workspace audit chain (formation/ingest/export/verify/import/lineage/report), and the trap-in-good-loops dispatch surface (free-only: offline echo + local Ollama).

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scbe_agent_bus-0.3.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scbe_agent_bus-0.3.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file scbe_agent_bus-0.3.0.tar.gz.

File metadata

  • Download URL: scbe_agent_bus-0.3.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scbe_agent_bus-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7eb0ea37315225645898bfe3ee7831a61c9d2ecf83a4e957b4bdfb7b80a1be62
MD5 5d1ff561aebefb1db65aec064f6a013b
BLAKE2b-256 a94ec859f3917ee8345aef8fd2344ac2a16cc9510fa20e60f82d15c0455b9320

See more details on using hashes here.

Provenance

The following attestation bundles were made for scbe_agent_bus-0.3.0.tar.gz:

Publisher: pypi-publish-agent-bus.yml on issdandavis/SCBE-AETHERMOORE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scbe_agent_bus-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: scbe_agent_bus-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scbe_agent_bus-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db1ffebfc1a8a5da9275ae658f362236e2fc8fcfbe05a57f3f126968d285e7ab
MD5 a8b5dd2783546065f7d89f31a5fb097e
BLAKE2b-256 79ea87308a2f0b0472eb927fbfbb3dd838e9d891a501fa96970c3f96d9d58874

See more details on using hashes here.

Provenance

The following attestation bundles were made for scbe_agent_bus-0.3.0-py3-none-any.whl:

Publisher: pypi-publish-agent-bus.yml on issdandavis/SCBE-AETHERMOORE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page