Installation¶
Accrue requires Python 3.10+.
Install¶
pip install accrue # Base install (includes OpenAI support)
pip install "accrue[anthropic]" # Add Anthropic (Claude) support
pip install "accrue[google]" # Add Google (Gemini) support
pip install "accrue[ui]" # Add Accrue Watch, the run dashboard (`accrue watch`)
API Keys¶
Set the environment variable for your provider:
export OPENAI_API_KEY="sk-..." # Required for OpenAI (default provider)
export ANTHROPIC_API_KEY="sk-ant-..." # Required for Anthropic
export GOOGLE_API_KEY="AI..." # Required for Google
Accrue reads keys from the environment. To keep them in a .env file, load it at the top of your script with python-dotenv (installed with accrue):