Logicore requires Python 3.10 or later (3.10, 3.11, 3.12, and 3.13 are all tested and supported).
Prerequisites
Before installing, you need:- Python 3.10+ — Check with
python --version - An LLM provider — Either Ollama installed locally, or API credentials for a cloud provider (Gemini, Groq, Azure OpenAI, or Anthropic)
Install the core package
Install the base Logicore framework:The core package includes
pydantic, requests, and python-dotenv. Provider clients and optional tool dependencies are installed separately as extras.Install provider extras
Install only the extras you need. Each extra pulls in the official client library for that provider.Then pull a model before running agents:
- Ollama (local)
- Gemini
- Groq
- Azure OpenAI
- Anthropic
- MCP
- Built-in tools
- Everything
Set environment variables
Cloud providers require API credentials. Set these before running any agent.
- Gemini
- Groq
- Azure OpenAI
- Anthropic
- OpenAI
Optional extras reference
| Extra | Installs | Use case |
|---|---|---|
ollama | ollama>=0.1 | Local models (no API key required) |
gemini | google-genai>=1.0 | Google Gemini models |
groq | groq>=0.4 | Groq inference API |
azure | openai>=1.0, httpx>=0.24 | Azure OpenAI deployments |
anthropic | anthropic>=0.20 | Anthropic Claude models |
mcp | mcp>=0.9 | Model Context Protocol servers |
tools | pypdf, python-docx, python-pptx, openpyxl, playwright | Built-in document and browser tools |
all | Everything above + watchdog | Full install |
Common installation issues
Ollama connection refused
Ollama connection refused
Logicore can’t reach the Ollama server. Start it with:Ollama listens on
http://localhost:11434 by default.Missing provider package error
Missing provider package error
If you see an Replace
ImportError for a provider (e.g., No module named 'groq'), you installed the base package without the extras. Fix it:groq with whichever provider you’re using.Python version below 3.10
Python version below 3.10
Logicore uses structural pattern matching and union type syntax that require Python 3.10+. Upgrade Python or create a new virtual environment with a supported version.