A lightweight, ergonomic framework for building bug bounty-ready Cybersecurity AIs (CAIs).
4.9K
This guide provides instructions for running the Cybersecurity AI (CAI) application using Docker with a local Ollama server.
To quickly start using CAI with a local Ollama server, run the following command:
docker run --network host -e OLLAMA="127.0.0.1" -e OPENAI_API_KEY="sk-1234" -it --rm --name cai neptune1212/cai
This command will:
OLLAMA_API_BASE environment variable to point to your local Ollama servercaiOnce inside the Docker container, activate the CAI environment and run the application:
source /cai/bin/activate && cai
For more detailed information about CAI, including configuration options, advanced usage, and troubleshooting, please refer to the official GitHub repository:
Cybersecurity AI (CAI) on GitHub
You can customize the behavior of CAI by setting various environment variables. Here are some commonly used ones:
OLLAMA_API_BASE: The base URL for your Ollama server.OPENAI_API_KEY: Your OpenAI API key.ANTHROPIC_API_KEY: Your Anthropic API key.Example:
docker run --network host -e OLLAMA_API_BASE="http://localhost:11434/v1" -e OPENAI_API_KEY="your_openai_api_key" -e ANTHROPIC_API_KEY="your_anthropic_api_key" -it --rm --name cai neptune1212/cai
Content type
Image
Digest
sha256:0686cafdd…
Size
690.3 MB
Last updated
about 18 hours ago
docker pull neptune1212/cai:arm64