Skip to main content

Open Agent Bridge — connect agent backends (CLIs, APIs) to chat platforms (Telegram, …).

Project description

OpenAB

OpenAB

Open Agent Bridge — Connect AI agents (Cursor, Codex, Gemini, Claude, OpenClaw) to chat platforms. One config, one bridge.

中文 · Configuration & usage


What it does

OpenAB forwards messages from chat platforms (or HTTP API) to an agent backend you choose and sends the reply back. One config, one bridge.

Agents Chats / API
Cursor, Codex, Gemini, Claude, OpenClaw Telegram, Discord, OpenAI-compatible HTTP API (openab run serve), more planned

Quick start

1. Install (Python 3.10+)

pip install openab
# or: uv pip install -e .   (from repo)
# or: uv tool install openab

2. Config — Put a YAML/JSON config in ~/.config/openab/ (see config.example.yaml). You need at least a bot token (Telegram/Discord) or nothing for API-only; allowlist or api.key for auth. You can also pass tokens via CLI: openab run telegram --token <token>, openab run serve --token <api_key>. Full options: docs/en/guide.md.

3. Run

openab run serve     # OpenAI-compatible API (optional: --token, --host, --port)
openab run telegram  # Telegram bot (optional: --token, --workspace, --verbose)
openab run discord   # Discord bot (optional: --token, --workspace, --verbose)
  • No config? Run openab or openab run — you get a hint and the API server starts by default.
  • Then open the bot in your chat app, or point any OpenAI-compatible client at http://127.0.0.1:8000/v1 with the API key printed at startup.

Docs


License

MIT — 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

openab-0.1.5.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

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

openab-0.1.5-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file openab-0.1.5.tar.gz.

File metadata

  • Download URL: openab-0.1.5.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openab-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0caa173c27261fdb5b51765c3b1fc1bfa6263cb383e9b6394f290d40e3e8b174
MD5 4e8e21c4562b5fde52b0be9443a651cd
BLAKE2b-256 0a9f679169463c6e4adcb5c8a7535117528779b8447c449a7836a3ebdab5d00f

See more details on using hashes here.

Provenance

The following attestation bundles were made for openab-0.1.5.tar.gz:

Publisher: publish.yaml on xx025/openab

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

File details

Details for the file openab-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: openab-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openab-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 89a5e63ae9ac965b5944edacd012379b629f7f8bcf2cebd583b164cdcc871a79
MD5 75183284bb24c814c176e0b1545159ee
BLAKE2b-256 04828e87782097f539da2e5546a6147110194a03ba2814bd07bc4ea5fd441c1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for openab-0.1.5-py3-none-any.whl:

Publisher: publish.yaml on xx025/openab

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