Scan your whole stack
From OX Research Newsroom
Are you using winnersight-agentbus?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.8
winnersight-agentbus was last scanned on 24 Nov 2026 at version 0.1.8. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.8 LATEST | 24 Nov 2026 | No rules fired |
| 0.1.7 | 24 Nov 2026 | No rules fired |
| 0.1.6 | 22 Nov 2026 | No rules fired |
| 0.1.5 | 21 Nov 2026 | Not shown |
| 0.1.4 | 21 Nov 2026 | Not shown |
Findings for v0.1.8. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.8; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The AgentBus client for agents built as services, in
Python (3.11 and later, asyncio). It keeps one stream open, hands each message to your
handler, keeps the lease alive while the handler runs, and settles what the handler
leaves unsettled. It behaves like the TypeScript library,
@winnersight/agentbus. Agents
with a shell can use the agentbus CLI instead. The
connection guide covers joining, the CLI and
this library.
pip install winnersight-agentbus==<version>
Each release is published with the AgentBus version it matches, and versions are never
replaced. Pin an exact one, such as the version the connection guide shows. The library
uses the identity the agentbus CLI creates when your agent joins, so install the CLI
and join once first:
curl -sSL https://agentbus.winnersight.ai/install.sh | sh
MIT licensed.
import asyncio
from agentbus import AgentBus
async def main():
bus = await AgentBus.connect() # AGENTBUS_CONFIG, or the AGENTBUS_* variables
@bus.on_request
async def handle(msg):
answer = await work(msg.for_prompt()) # framing included; see below
await msg.reply(answer, complete=True)
await bus.run() # until bus.stop()
asyncio.run(main())
connect takes the agent's env file, the same one the CLI writes when the agent joins:
AgentBus.connect("~/.config/agentbus/my-agent.env"). Without one it reads
AGENTBUS_CONFIG, then AGENTBUS_GATEWAY_URL, AGENTBUS_CLIENT_ID and
AGENTBUS_CLIENT_SECRET.
| Option | Default | Meaning |
|---|---|---|
concurrency |
1 | How many messages to work on at once (at most 10) |
visibility |
600 | Lease length in seconds; extended while a handler runs |
retry_delay |
30 | Seconds before a message whose handler raised comes back |
Handlers, each usable as a decorator: on_request, on_reply, on_notice, and
on_message for any kind without its own. on_open_task runs at start for requests
this agent acknowledged earlier but never finished.
On a message: reply(body, complete=...), ack(), reject(reason),
release(delay_seconds), outcome(state=..., note=..., effects=[...]) and
request_approval(reason). It also has text, payload, sender, capability and
attempt.
A handler that returns without settling acknowledges the message. One that raises
releases it, and it comes back after retry_delay. A message of a kind with no handler
is rejected. The library logs through the agentbus logger: a failed handler's error
type, never its message, and never payloads or secrets.
To send: await bus.send(to="datacenter", kind="request", payload="…").
Messages are sealed end to end, the same way the CLI seals them: only the recipient can
read one. On its first start with a config file, the library makes the agent's keys,
writes them into that file (keep it private and backed up) and publishes them. Without a
config file (only AGENTBUS_* variables) there's nowhere to keep keys, so the agent
stays plain.
AGENTBUS_SEALED_ONLY=0 only on a bus that hasn't cut over).<config>.known_keys,
shared with the CLI. A rotation its old key signed is followed. Any other change
raises KeyChangedError with the new fingerprint. Have your owner check it with the
other agent's owner, then accept it, with await bus.e2ee.accept(agent, fingerprint) or
agentbus keys accept.await bus.e2ee.rotate(), prune() and reset(), as agentbus keys does.send(..., approval_summary=...), msg.request_approval(reason, summary))
are plaintext that operators can read.A message whose handler raises, or whose process dies, comes back, up to its attempt
limit (3). Write handlers that can run twice: check msg.attempt, record effects with
msg.outcome(effects=[{"kind": ..., "ref": ..., "idempotency_key": ...}]) as you go,
and give the messages you send an idempotency_key derived from msg.id. msg.reply
already does this. If another attempt takes over the lease, every call on msg raises
LeaseLostError: stop.
A message proves who sent it. It doesn't carry your owner's authority. msg.framing is
the line the CLI prints to say so, and msg.for_prompt() renders the message with that
line and the body inside <message-body>. Pass that to a model, not msg.text alone.
The library reconnects with backoff, refreshes its token on the open stream, and moves
to another gateway instance at once when one shuts down. If the credential is revoked,
it reads its config file again, so a rotated credential takes over. If the agent is
retired, or the credential has no working replacement, run() raises StoppedError.
For WinnerSight developers, in the AgentBus repository:
python3.12 -m venv .venv && . .venv/bin/activate
pip install -e '.[test]'
pytest # builds cmd/agentbus-testgw; needs Go and PostgreSQL's initdb on PATH
The tests run against a real gateway on a throwaway Postgres
(cmd/agentbus-testgw), not a mock.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.