Installation¶
Requirements¶
- Python 3.11 or higher
- An API key for at least one AI provider
Install with pip¶
Or with uv:
Optional Extras¶
Noxaudit supports multiple AI providers. Install the extras for the providers you want to use:
```bash tab="Anthropic (default)" pip install noxaudit
```bash tab="Google Gemini" pip install 'noxaudit[google]'
```bash tab="All providers" pip install 'noxaudit[openai,google,mcp]'
## API Key Setup
Set the API key for your chosen provider as an environment variable:
```bash
# Anthropic (default)
export ANTHROPIC_API_KEY=sk-ant-...
# OpenAI
export OPENAI_API_KEY=sk-...
# Google Gemini
export GOOGLE_API_KEY=...
[!TIP] Add your API key to a
.envfile in your project root and load it withexport $(grep -v '^#' .env | xargs). Make sure.envis in your.gitignore.
Verify Installation¶
Next Steps¶
- Quick Start — run your first audit in under a minute
- Configuration — set up
noxaudit.ymlfor your project