Welcome! This guide walks you through setup in 5-10 minutes.
- Python: 3.9 or higher
- Node.js: 18+ (for web UI)
- Internet: For LLM provider API keys (optional for local LLMs)
git clone https://github.com/doronpers/council-ai.git
cd council-aiChoose your operating system:
macOS / Linux:
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"Windows (PowerShell):
python -m venv venv
.\venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -e ".[dev]"Windows (Command Prompt):
python -m venv venv
venv\Scripts\activate.bat
python -m pip install --upgrade pip
pip install -e ".[dev]"Create a .env file in the repository root:
cp .env.example .envThen edit .env and add your LLM provider details. See Configuration section below.
Web interface (recommended):
python launch-council.py --webThen open http://localhost:8000 in your browser.
CLI interface:
council --helpThat's it! 🎉
Create a .env file with your LLM provider credentials:
# OpenAI (cloud)
OPENAI_API_KEY=sk-...
# Anthropic (cloud)
ANTHROPIC_API_KEY=sk-ant-...
# Google Gemini (cloud)
GEMINI_API_KEY=AIzaSy...
# LM Studio / Ollama (local)
# No API key needed; just set the provider in the web UICouncil AI checks settings in this order (first match wins):
- Command-line arguments (e.g.,
council --provider openai) - Environment variables (e.g.,
OPENAI_API_KEY) - Config file (
config.yaml) - Defaults (built-in values)
For persistent settings, create config.yaml in the repository root:
# Example config.yaml
provider: openai
model: gpt-4
domain: research
temperature: 0.7
web_search_enabled: trueFor full configuration options, see CONFIGURATION.md.
- Open http://localhost:8000
- Complete the onboarding wizard (first time only)
- Type your question in the consultation bar
- Add team members (personas) to help
- Click Submit to get a response
# Start interactive session
council run
# Analyze with a specific domain
council run --domain research
# Use a specific LLM provider
council run --provider openai --model gpt-4
# See all options
council --helpWith LM Studio:
- Download LM Studio
- Start the LM Studio local server
- In Council AI: Select "LM Studio" as provider
- No API key needed
With Ollama:
- Install Ollama
- Pull a model:
ollama pull llama2 - In Council AI: Select "Ollama" as provider
- No API key needed
Your virtual environment isn't activated. Run:
source venv/bin/activate # macOS/Linux
# or
venv\Scripts\activate # WindowsThen reinstall:
pip install -e ".[dev]"Another process is using port 8000. Either:
- Stop the other process
- Run on a different port:
python launch-council.py --web --port 8080
Issue: Venv activation fails with script error
Solution:
- Ensure you're using
python3(notpython) to create the venv - Delete the venv and recreate:
rm -rf venv && python3 -m venv venv - Activate again:
source venv/bin/activate
Windows-specific:
-
If PowerShell says "cannot be loaded because running scripts is disabled":
Set-ExecutionPolicy -ExecutionPolicy RemoteS igned -Scope CurrentUser
Then try activating again
- Verify your API key in
.envis correct - Check internet connection
- Test with a known-working provider (e.g., swap to local Ollama)
- See TROUBLESHOOTING.md for provider-specific issues
See TROUBLESHOOTING.md for common issues and solutions.
- Learn features: WEB_APP.md for web UI guide
- Set up web search: WEB_SEARCH_AND_REASONING.md
- Add custom personas: CONTRIBUTING.md
- Reference: QUICK_REFERENCE.md for code examples
Are you using the right one?
- council-ai: The main open-source framework
- council-ai-personal: Personal agent templates for individual use
See REPOSITORY_STRUCTURE.md for details on which to use.
- Docs: Start with README.md
- Questions: Check documentation/
- Issues: See TROUBLESHOOTING.md
- Contributing: See CONTRIBUTING.md
Happy researching! 🚀