THE ETHICAL AI COMPANY Launch App →
🧠 Agent Integration Guide

Point OpenClaw at Ethical AI 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, AutoGen — you change two things: the base URL and the API key. Nothing else.

1 Get a key

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

Get an API Key →

2 Add the provider (OpenClaw)

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"] },
          { "id": "ethical-ai-pro",   "name": "Ethical AI Pro",    "contextWindow": 128000, "maxTokens": 8192, "input": ["text"] },
          { "id": "ethical-ai-flash", "name": "Ethical AI Flash",  "contextWindow": 128000, "maxTokens": 8192, "input": ["text"] },
          { "id": "ethical-ai-ultra", "name": "Ethical AI Ultra",  "contextWindow": 128000, "maxTokens": 8192, "input": ["text", "image"] }
        ]
      }
    }
  }
}

Then set it as your default model:

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

3 Any OpenAI-compatible framework

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, internal docs. Ethical AI is the only backend that guarantees zero logs and zero data retention, on 100% renewable compute, with no military contracts. Smart routing sends every prompt to the cheapest engine that can handle it, so you pay the minimum per request — no flat monthly fees, ever.