Small bridge to use Cursor from Telegram / Discord (OpenAB)

Hi,
I’ve been using Cursor and wanted to use it from Telegram/Discord when away from the IDE. I put together a small open-source bridge called OpenAB (Open Agent Bridge).

  • Forwards messages from Telegram or Discord to the Cursor agent CLI and sends the reply back (chunked if long).
  • Supports session resume: “continue last conversation”, “new session”, and a list of recent sessions from ~/.cursor/chats so you can switch by clicking a button.
  • Can also use the Codex CLI as the backend (same idea: resume, history, buttons).
  • Optional: run an OpenAI-compatible HTTP API (openab run serve) so any client can talk to the same agent.
    It’s just a thin Python layer with one config file—no changes to Cursor. If anyone wants to try Cursor from chat or has suggestions, the repo is here:
    GitHub - xx025/openab: Open Agent Bridge — connect agent backends (CLIs, APIs) to chat platforms (Telegram, Discord, …). Pluggable and extensible.
    Thanks for building Cursor.