Skip to main content

Use Zeldoc.ai with any AI tool

Zeldoc.ai isn't limited to a specific agent harness. As long as your tool or framework lets you configure a custom base URL and API key, you can use Zeldoc.ai.

Base URL

All requests should be sent to:

https://api.zeldoc.ai/v1

Authentication

Set your Zeldoc.ai API key as a bearer token or in the tool's API key field:

export ZELDOC_API_KEY=your-api-key
Need an API key?

If you don't have one yet, see Generate an API key.

Supported API formats

Zeldoc.ai supports the most common API formats, so you can connect it to tools and frameworks that expect any of the following:

  • OpenAI-compatible (/chat/completions)
  • Anthropic-compatible (/messages)

This means most AI tools, frameworks, and libraries that let you point to a custom endpoint will work with Zeldoc.ai out of the box.

Quick test

You can verify your connection with a simple request:

curl https://api.zeldoc.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ZELDOC_API_KEY" \
-d '{
"model": "z-code",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'
note

Don't see your tool listed in our guides? As long as it supports custom base URLs and one of the API formats above, you can connect it to Zeldoc.ai. Check back for tool-specific guides as we add them.