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 and returns a typed envelope.

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.

License

MIT — see LICENSE.

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.2.0.tar.gz (6.6 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.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scbe_agent_bus-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 5abd9112fa2cabbec86b92f6a61b0282c1306a5ed434ef9c82d4f44a81805148
MD5 7be497191066642c0f7964c3ece21065
BLAKE2b-256 0f82dd436e683c4a9793abb248afc28c05f126ca129b58761de602c90ca1953f

See more details on using hashes here.

Provenance

The following attestation bundles were made for scbe_agent_bus-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: scbe_agent_bus-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cccbd8c491e77d91ea0e573975f0fd41d2db95ca041059406d16f0ff8a77137
MD5 04835915a0b7ff4577e06c62f67a3f20
BLAKE2b-256 58f80d3d3dbac77cdb9d095217f6bcfea6601623e8897a644e2354306c8b5bef

See more details on using hashes here.

Provenance

The following attestation bundles were made for scbe_agent_bus-0.2.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