Agents
Add Zrelay to a project
Add this context to your project instructions. Store the real credential in the runtime environment, never in the prompt.
Project instructions
text
This project uses Zrelay for model inference.
API host: https://api.zrelay.net
OpenAI-compatible SDK base URL: https://api.zrelay.net/v1
Anthropic-compatible SDK base URL: https://api.zrelay.net
Read ZRELAY_API_KEY from the environment. Never print or commit it.
Choose an exact enabled model and endpoint from the selected pool's catalog.
Use /v1/chat/completions, /v1/responses or /v1/messages as appropriate.
Preserve native request and response formats; do not assume feature parity.
Bound output tokens, retries, tool iterations and concurrency.
Record x-zrelay-request-id for troubleshooting without logging credentials.
Consult https://zrelay.net/docs/ for the integration contract.Adapt to your application
Add the provider, pool, model ID and output budget your project actually uses. Document which component sends requests and which component executes tools. Do not embed account codes or credentials in project instructions.
Questions about your integration? support@zrelay.net