| license: mit | |
| tags: | |
| - openclaw | |
| - sidecar | |
| - librechat | |
| - express | |
| # OpenClaw LibreChat Bridge | |
| Small Express bridge that exposes OpenAI-compatible chat completion endpoints for LibreChat while forwarding requests to an OpenClaw gateway. | |
| ## Endpoints | |
| - `GET /health` | |
| - `GET /v1/models` | |
| - `POST /v1/chat/completions` | |
| ## Configuration | |
| Copy `.env.example` to `.env` for local runs. `OPENCLAW_BEARER_TOKEN` is optional and must never be committed. | |
| ## Local Development | |
| ```bash | |
| npm install | |
| npm test | |
| npm start | |
| ``` | |
| The bridge maps models like `openclaw-main`, `openclaw:main`, or `agent:main` to OpenClaw agent model IDs. | |