logo
icon

OpenAB Pi

Open Agent Broker with the Pi coding agent as the backend via pi-acp. Pi supports native OAuth for Claude and ChatGPT subscriptions, plus API-key providers. Source: https://github.com/openabdev/openab

template cover
部署次數0
發布者zeaburZeabur
建立於2026-06-29
最低規格2 核心4 GB
推薦規格4 核心8 GB
標籤
AIDeveloper ToolsDiscordSlack

模板內的服務

OpenAB Pi

OpenAB bridges Discord, Slack, or gateway platforms to ACP-compatible coding CLIs. This template runs the Pi coding agent through the pi-acp adapter.

Important Notes

  • Image tag: This template tracks ghcr.io/openabdev/openab:beta-pi.
  • Persistent storage: /home/node is mounted as a persistent volume. Pi config, auth tokens, sessions, and OpenAB config survive restarts.
  • Auth: Pi supports interactive OAuth via pi /login for Claude and ChatGPT subscriptions. API-key providers can also be passed through environment variables.
  • Streaming: Pi returns full responses rather than token-by-token streaming.

Setup

  1. Create a Discord bot at https://discord.com/developers/applications, enable Message Content Intent, and paste the token into DISCORD_BOT_TOKEN.

  2. Deploy the template.

  3. If you did not set API keys, open the service terminal and run:

    runuser -u node -- pi
    

    Then type /login in the Pi interface and complete the OAuth flow.

For Slack, set SLACK_BOT_TOKEN and SLACK_APP_TOKEN. For Telegram, LINE, Feishu/Lark, Google Chat, Teams, or WeCom, deploy the OpenAB Gateway template and add GATEWAY_URL / GATEWAY_PLATFORM to this service.

Customization

FileDescription
/home/node/.config/openab/config.tomlOpenAB config
/home/node/.pi/Pi config and auth tokens
/home/node/.pi/sessions/Pi session history

To regenerate OpenAB config, delete /home/node/.config/openab/config.toml and restart.