Skip to main content

中文 · 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

Metadata

Release files for openab 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openab 0.1.9
File Size Uploaded Provenance Actions
openab-0.1.9.tar.gz 37.5 kB With provenance Details for openab-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openab 0.1.9
File Interpreter ABI Platform Actions
openab-0.1.9-py3-none-any.whl Python 3 none any Details for openab-0.1.9-py3-none-any.whl

Total release size: 86.3 kB

Release files / openab-0.1.9.tar.gz

Download URL openab-0.1.9.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
60f1f0bb41fa142a811f79aba60d1ac8c9afd412e1915c8dbdfd7f075d90c3d4
BLAKE2b-256 checksum
How to use checksums
d877c9aa5bc28db9b37af636cc2760670553010f305d6c04cae798bdde91f0df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 1, 2026.

Transparency log

Release files / openab-0.1.9-py3-none-any.whl

Download URL openab-0.1.9-py3-none-any.whl
Size 48.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5d899187556f0e64d615368a3c0d212ab20d330a52aeff2252f36676945d931
BLAKE2b-256 checksum
How to use checksums
11ba4688d3aec05dc788f1acd4c199ba61758a989705509e174fc829ccd9cddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 1, 2026.

Transparency log

Security for openab 0.1.9

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openab-0.1.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 1, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page