Open Agent Bridge — connect agent backends (CLIs, APIs) to chat platforms (Telegram, …).
Project description
OpenAB
Open Agent Bridge — Connect AI agents (Cursor, Codex, Gemini, Claude, OpenClaw) to chat platforms. One config, one bridge.
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
openaboropenab 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/v1with the API key printed at startup.
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0caa173c27261fdb5b51765c3b1fc1bfa6263cb383e9b6394f290d40e3e8b174
|
|
| MD5 |
4e8e21c4562b5fde52b0be9443a651cd
|
|
| BLAKE2b-256 |
0a9f679169463c6e4adcb5c8a7535117528779b8447c449a7836a3ebdab5d00f
|
Provenance
The following attestation bundles were made for openab-0.1.5.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.5.tar.gz -
Subject digest:
0caa173c27261fdb5b51765c3b1fc1bfa6263cb383e9b6394f290d40e3e8b174 - Sigstore transparency entry: 1005353441
- Sigstore integration time:
-
Permalink:
xx025/openab@d2bf1edd3a27c863762bb58be598970e4afa3aeb -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/xx025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@d2bf1edd3a27c863762bb58be598970e4afa3aeb -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89a5e63ae9ac965b5944edacd012379b629f7f8bcf2cebd583b164cdcc871a79
|
|
| MD5 |
75183284bb24c814c176e0b1545159ee
|
|
| BLAKE2b-256 |
04828e87782097f539da2e5546a6147110194a03ba2814bd07bc4ea5fd441c1b
|
Provenance
The following attestation bundles were made for openab-0.1.5-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.5-py3-none-any.whl -
Subject digest:
89a5e63ae9ac965b5944edacd012379b629f7f8bcf2cebd583b164cdcc871a79 - Sigstore transparency entry: 1005353442
- Sigstore integration time:
-
Permalink:
xx025/openab@d2bf1edd3a27c863762bb58be598970e4afa3aeb -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/xx025
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@d2bf1edd3a27c863762bb58be598970e4afa3aeb -
Trigger Event:
push
-
Statement type: