Step-by-step instructions for connecting your AI tools to Corveil.
Get Corveil running in under 2 minutes. No Docker, no database, no Kubernetes.
curl -sSL https://corveil.com/install.sh | sh
The installer automatically verifies the download against published SHA-256 checksums. Or download directly from GitHub Releases (macOS, Linux, Windows — ARM64 and AMD64) and verify manually.
corveil --dev --openrouter-api-key sk-or-v1-...
That's it. Corveil starts on localhost:8000 with:
You can also use --anthropic-api-key for direct Anthropic access, or any other provider flag. Run corveil --help to see all options.
Create an API key in the dashboard, then point your AI tool at Corveil. Pick your tool from the selector below to see the exact configuration.
Corveil supports two authentication modes for connecting AI tools:
Every guide below identifies which mode(s) it supports.
Select a client below to see install and configuration steps for connecting it to Corveil.
aichat is a powerful AI chat CLI that supports multiple providers via its OpenAI-compatible client configuration.
Direct mode only. aichat uses the OpenAI-compatible client type, which sends your Corveil key as the standard API key.
Open your aichat config file. Run aichat --info to find its location, then add a Corveil client:
clients: - type: openai-compatible name: corveil api_base: https://your-corveil-host/v1 # must include /v1 api_key: sk-citadel-your-key-here models: - name: or-claude-haiku-4.5 - name: or-gpt-5.1
Replace your-corveil-host with your Corveil URL and sk-citadel-your-key-here with your virtual API key. List any models your key has access to — check GET /v1/models for the full list.
# One-shot query aichat -m corveil:or-claude-haiku-4.5 "Explain zero-trust architecture" # Interactive session aichat -m corveil:or-claude-haiku-4.5
FAQ
Run "curl -sSL https://corveil.com/install.sh | sh" to install the binary. The installer verifies the download against SHA-256 checksums. Alternatively, download directly from GitHub Releases for macOS, Linux, or Windows (ARM64 and AMD64).
Yes. Set ANTHROPIC_BASE_URL to your Corveil instance URL and ANTHROPIC_API_KEY to your Corveil API key. Claude Code will route all requests through Corveil. Passthrough mode is also supported for Claude Code Max subscribers who want logging and guardrails while using their own subscription.
Corveil works with any tool that supports OpenAI-compatible or Anthropic-compatible APIs. Tested clients include aichat, Claude Code, OpenClaw, Cursor IDE, OpenCode, Codex CLI, and Gemini CLI. Setup guides are available for each.
No. Corveil runs as a single Go binary against PostgreSQL — no Lua runtime, no plugin DSL, no service mesh. The included pgvector docker-compose covers local dev; production deploys via Helm chart, ECS Fargate, or your container platform of choice.
Start Corveil with --dev mode enabled, open the dashboard at localhost:8000, and create an API key from the Keys page. The key will have the format sk-citadel-xxx. Use this key in your AI tool's configuration to authenticate requests through Corveil.
Yes. Configure multiple provider API keys (OpenRouter, Anthropic, Vertex AI, Bedrock) and Corveil routes requests to the appropriate provider based on the model name. Switch models with a configuration change — no code changes required in your AI tools.