Open Agent Bridge — connect agent backends (CLIs, APIs) to chat platforms (Telegram, …).
Project description
OpenAB
Open Agent Bridge — Connect AI agents to chat platforms. One config, one bridge. Currently implemented: Cursor, Codex. Gemini, Claude, OpenClaw not yet implemented.
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 (implemented) Gemini, Claude, OpenClaw not yet implemented |
Telegram, Discord, OpenAI-compatible HTTP API (openab run serve), more planned |
Quick start
1. Install (Python 3.10+)
pip install openab
# or: uv tool install openab
# or from repo: uv pip install -e .
2. Run and follow the prompts
openab run
You’ll choose serve (API), telegram, or discord, enter bot token and allowlist when asked; choices are saved to ~/.config/openab/config.yaml. Then open your bot in the app and chat, or use the API at http://127.0.0.1:8000/v1 with the printed key. Use /resume or !resume in chat to switch sessions.
- Tokens: Telegram → @BotFather
/newbot; Discord → Developer Portal → Bot → Reset Token. - Unauthorized? Send
/whoamior!whoamito get your ID, thenopenab config set telegram.allowed_user_ids "ID"(or send the API key to the bot to self-add).
Full options: Configuration & usage.
Docs
- Configuration & usage — Config keys, agent setup, commands, API server, security, i18n.
- 中文说明 — 配置与使用(中文)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openab-0.1.9.tar.gz.
File metadata
- Download URL: openab-0.1.9.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60f1f0bb41fa142a811f79aba60d1ac8c9afd412e1915c8dbdfd7f075d90c3d4
|
|
| MD5 |
62c6da8acbb295d40e5d5c1d24542d6d
|
|
| BLAKE2b-256 |
d877c9aa5bc28db9b37af636cc2760670553010f305d6c04cae798bdde91f0df
|
Provenance
The following attestation bundles were made for openab-0.1.9.tar.gz:
Publisher:
publish.yaml on xx025/openab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openab-0.1.9.tar.gz -
Subject digest:
60f1f0bb41fa142a811f79aba60d1ac8c9afd412e1915c8dbdfd7f075d90c3d4 - Sigstore transparency entry: 1006577258
- Sigstore integration time:
-
Permalink:
xx025/openab@060e06c7ce373149551d118717e032b37de4401e -
Branch / Tag:
refs/tags/v0.1.9 - Owner: https://github.com/xx025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@060e06c7ce373149551d118717e032b37de4401e -
Trigger Event:
push
-
Statement type:
File details
Details for the file openab-0.1.9-py3-none-any.whl.
File metadata
- Download URL: openab-0.1.9-py3-none-any.whl
- Upload date:
- Size: 48.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5d899187556f0e64d615368a3c0d212ab20d330a52aeff2252f36676945d931
|
|
| MD5 |
34863e9f8d0a029b45dd98064db3a4e7
|
|
| BLAKE2b-256 |
11ba4688d3aec05dc788f1acd4c199ba61758a989705509e174fc829ccd9cddb
|
Provenance
The following attestation bundles were made for openab-0.1.9-py3-none-any.whl:
Publisher:
publish.yaml on xx025/openab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openab-0.1.9-py3-none-any.whl -
Subject digest:
c5d899187556f0e64d615368a3c0d212ab20d330a52aeff2252f36676945d931 - Sigstore transparency entry: 1006577266
- Sigstore integration time:
-
Permalink:
xx025/openab@060e06c7ce373149551d118717e032b37de4401e -
Branch / Tag:
refs/tags/v0.1.9 - Owner: https://github.com/xx025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@060e06c7ce373149551d118717e032b37de4401e -
Trigger Event:
push
-
Statement type: