beeos-bridge-client
Python SDK for connecting agents to the BeeOS Bridge server via Ed25519 authenticated WebSocket.
Mirrors the Node.js SDK (@beeos-ai/bridge-client) — same protocol, same key file format, fully interoperable.
Install
pip install beeos-bridge-client
Quick Start
import asyncio
from beeos_bridge_client import BridgeClient, BridgeClientOptions
async def main():
client = BridgeClient(BridgeClientOptions(
bridge_url="wss://bridge.beeos.ai",
service="acp",
key_file="~/.beeos/device-agent.key",
))
client.on("connected", lambda: print("Connected!"))
client.on("message", lambda data: print("Received:", data))
await client.connect()
await client.send('{"jsonrpc":"2.0","method":"ping","id":1}')
asyncio.run(main())
Key Management
from beeos_bridge_client import generate_key_pair, load_key_pair, fingerprint
# Generate and save
kp = generate_key_pair(save_to="~/.beeos/key.json")
# Load (auto-generates if missing)
kp = load_key_pair("~/.beeos/key.json")
# Fingerprint (SHA-256 hex, matches Go Bridge)
print(fingerprint(kp.public_key))
Supports two key file formats (same as Node.js SDK):
- JSON:
{"publicKey": "<base64>", "privateKey": "<base64>"} - Raw base64 seed (32 bytes) — for K8s Secret mounts
Metadata
Release files for beeos-bridge-client 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| beeos_bridge_client-0.1.0.tar.gz | 8.4 kB | Without provenance | Details for beeos_bridge_client-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| beeos_bridge_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for beeos_bridge_client-0.1.0-py3-none-any.whl |
Total release size: 15.4 kB
Release files / beeos_bridge_client-0.1.0.tar.gz
| Download URL | beeos_bridge_client-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed29a6b809dce5d21c9e47e99c6ca65f61597e4596fccb64db0136c22a93a1e8
|
|
BLAKE2b-256 checksum How to use checksums |
7681039ff555dac7096d0027475eaf26b613304903730b5cfe33b9dede7cf4a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / beeos_bridge_client-0.1.0-py3-none-any.whl
| Download URL | beeos_bridge_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf68f2d450ad2327792f99ab54164f5fb35e8f1d057d80ee3ba3034eafbc5af9
|
|
BLAKE2b-256 checksum How to use checksums |
74cbf8675ebb3c080cb4ffc7d097f0a10f86d996167d8f0a1fc7f8e040f2f64e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for beeos-bridge-client 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.