WorkBuddy2API Panel is a self-hosted gateway that exposes Tencent CodeBuddy accounts through an OpenAI-compatible chat completions API. It extends an earlier WorkBuddy2API project with a browser-based administration interface and additional account-management features. Multiple personal accounts can be pooled, with automatic selection, failover, cooldown handling, circuit breaking, and session stickiness. OAuth device authorization handles account login while tokens are refreshed automatically by the gateway. Streaming and nonstreaming responses are supported, along with reasoning-model compatibility and configurable prompt handling. The web panel provides account status, usage information, logs, configuration editing, scheduled account tasks, and service health visibility. The maintainers explicitly position it for personal authorized accounts and private use rather than resale or public account-pool services.
Features
- OpenAI-compatible CodeBuddy gateway
- Multi-account pooling and failover
- OAuth login and token refresh
- Session stickiness and cooldown handling
- Streaming and nonstreaming responses
- Web administration and monitoring panel