LaminarityDocs
View agent text
Integration guide

Aider

Point Aider's OpenAI-compatible client at Laminarity for routed or model-pinned coding sessions.

Read this guide as Markdown

Configure the environment

Aider prefixes OpenAI-compatible model ids with openai/; the API receives the suffix auto. Keep the Laminarity key in the environment or a private .env file, not in committed Aider configuration.

bash
export OPENAI_API_BASE=https://api.laminarity.ai/v1
export OPENAI_API_KEY="$LAMINARITY_API_KEY"

aider --model openai/auto

Pinning and reasoning

Use openai/auto for Laminarity routing and fallback. Use openai/<concrete-id> only after confirming the id with /v1/models; concrete requests do not receive Laminarity fallback.

Aider exposes reasoning effort controls for supported models. Apply them only to a compatible concrete model, and leave reasoning unset for auto.

Verify

Start Aider in a temporary repository, ask for a one-line edit, inspect the diff, and undo it. This verifies streaming and edit-tool behavior without risking an active worktree.

Upstream documentation

Docs build local