Skip to main content

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

Project description

中文 · English

OpenAB

OpenAB

Open Agent Bridge — Connect AI agents to chat platforms. One config, one bridge. Currently implemented: Cursor, Codex. Gemini, Claude, OpenClaw not yet implemented.

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 (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 /whoami or !whoami to get your ID, then openab config set telegram.allowed_user_ids "ID" (or send the API key to the bot to self-add).

Full options: Configuration & usage.


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.9.tar.gz (37.5 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.9-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

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

Hashes for openab-0.1.9.tar.gz
Algorithm Hash digest
SHA256 60f1f0bb41fa142a811f79aba60d1ac8c9afd412e1915c8dbdfd7f075d90c3d4
MD5 62c6da8acbb295d40e5d5c1d24542d6d
BLAKE2b-256 d877c9aa5bc28db9b37af636cc2760670553010f305d6c04cae798bdde91f0df

See more details on using hashes here.

Provenance

The following attestation bundles were made for openab-0.1.9.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.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

Hashes for openab-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c5d899187556f0e64d615368a3c0d212ab20d330a52aeff2252f36676945d931
MD5 34863e9f8d0a029b45dd98064db3a4e7
BLAKE2b-256 11ba4688d3aec05dc788f1acd4c199ba61758a989705509e174fc829ccd9cddb

See more details on using hashes here.

Provenance

The following attestation bundles were made for openab-0.1.9-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