Installation¶
Get Attune AI installed and configured in about 2 minutes.
Step 1: Install the Package¶
The core install covers most users — the CLI, all workflows, the MCP server, RAG, and the Agent SDK are core dependencies:
Add extras only for the surfaces you use (they combine, e.g.
'attune-ai[developer,ops]' — keep the quotes; zsh and bash treat
square brackets as glob characters):
| You want | Install |
|---|---|
| Claude API mode + LangChain/LangGraph agent teams | pip install 'attune-ai[developer]' |
The ops dashboard (attune ops) |
pip install 'attune-ai[ops]' |
| Redis / Agent Memory Server memory backend | Already included — the redis client is a core dependency. You only need a running Redis server. |
Help authoring (.help/ templates) |
pip install 'attune-ai[author]' |
Verify Installation¶
Step 2: Configure an LLM Provider¶
Attune AI uses Anthropic Claude as its LLM provider.
Option A: Environment Variable (Quick)¶
Option B: .env File (Persistent)¶
Create a .env file in your project root:
The framework auto-detects .env files.
Option C: Interactive Setup¶
Verify Provider¶
Expected output:
Current provider: anthropic
Available models: claude-opus-4-8, claude-sonnet-5, claude-haiku-4-5
API key configured
Step 3: Optional - Redis for Memory¶
Redis enables multi-agent coordination and session persistence. Skip this for now if you just want to try the framework.
The framework works without Redis (falls back to in-memory storage).
You can add Redis later when you need:
- Multi-agent coordination
- Session persistence
- Pattern staging
See Redis Setup for production configuration.
Troubleshooting¶
"No API key configured"¶
# Check your environment
env | grep API_KEY
# Set it
export ANTHROPIC_API_KEY="sk-ant-..."
# Verify
attune provider show
"ModuleNotFoundError: attune"¶
Python version too old¶
See Also¶
- Redis Setup - Configure Redis for production use
- MCP Integration - Connect to Claude Code
- Configuration Reference - Customize settings
- First Steps - Run your first workflow
Next Step¶
You're installed! Continue to First Steps to run your first workflow.