anoman
Agent Integration Guides
CLI

Connect Aider to Anoman AI

Use Aider with Anoman by passing the --openai-api-base flag. All LLM calls in your aider sessions route through the guardrail pipeline automatically.

Prerequisites

  • An Anoman AI account with an active API key
  • Python 3.9+
  • Aider installed (pip install aider-chat)

Step 1: Install Aider

pip install aider-chat

Step 2: Run Aider with Anoman

Pass the Anoman base URL and your API key as flags. Aider sends all completion requests to Anoman's OpenAI-compatible endpoint.

aider \
  --openai-api-key anm-sk-your-key-here \
  --openai-api-base https://api.anoman.io/v1 \
  --model gpt-4o-mini

Alternative: environment variables

Set these before running aider to avoid passing flags every time:

export OPENAI_API_KEY=anm-sk-your-key-here
export OPENAI_API_BASE=https://api.anoman.io/v1

aider --model gpt-4o-mini

Using with Claude models

Anoman's OpenAI-compatible endpoint supports Claude models. Specify the model name directly:

aider \
  --openai-api-key anm-sk-your-key-here \
  --openai-api-base https://api.anoman.io/v1 \
  --model claude-sonnet-4-6

Guardrail transparency headers

X-Anoman-Guardrail-Injection: pass score=0.05
X-Anoman-Guardrail-Pii: pass
X-Anoman-Guardrail-Content: pass
X-Anoman-Cache: none

Need help with your integration?

Join the Founding 50 for early access and direct support from the Anoman team.

Join Founding 50