Agent integration guide

OpenClaw.
Connected
in 60 seconds.

Ethical AI is a drop-in OpenAI-compatible endpoint. If your agent already speaks the OpenAI wire format — OpenClaw, Manus, Hermes, Cursor, LangChain or AutoGen — change the base URL and API key. Nothing else.

Start with your
API key.

Create an account and grab an API key. Free starter credit is included so you can test latency and routing before committing a cent.

Add the provider.

Add Ethical AI as a custom provider. Paste this into ~/.openclaw/openclaw.json (or your agent's models.json):

{
  "models": {
    "providers": {
      "ethical-ai": {
        "baseUrl": "https://ethicalaico.com/v1",
        "apiKey": "sk-ethical-YOUR_KEY_HERE",
        "api": "openai-completions",
        "models": [
          { "id": "ethical-ai-auto",  "name": "Ethical AI Auto",  "contextWindow": 128000, "maxTokens": 8192, "input": ["text", "image"] }
        ]
      }
    }
  }
}

Then set it as your default model:

openclaw models set ethical-ai/ethical-ai-auto

Two values.
Anywhere.

The same two values work everywhere. Point your SDK at https://ethicalaico.com/v1 and use your key as the Bearer token:

from openai import OpenAI

client = OpenAI(
    base_url="https://ethicalaico.com/v1",
    api_key="sk-ethical-YOUR_KEY_HERE",
)

resp = client.chat.completions.create(
    model="ethical-ai-auto",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Why agents,
specifically.

Agents handle your most sensitive data — email, codebases, client contracts and internal docs. Ethical AI keeps zero logs on our side and discloses power source + retention on every response. Verified 100% renewable compute is our Phase 2 milestone. Smart routing sends every prompt to the best-value engine, so you pay the minimum per request — no flat monthly fees, ever.