OpenCode, OpenClaw & Hermes
OpenCode, OpenClaw, Hermes, and similar open-source tools all speak the OpenAI-compatible protocol — connect them with a base URL and key.
Common config
export OPENAI_BASE_URL="https://gateway.admesh.ai/v1"
export OPENAI_API_KEY="$ADMESH_API_KEY"
Model selection
In the tool's model settings, enter a namespace/model ID such as:
anthropic/claude-sonnetopenai/gpt-4odeepseek/deepseek-chat
Notes
These tools are OpenAI-compatible clients, so no extra SDK is needed — swap the base URL and key to use every model.