Installation Guide
Prerequisites
- Python 3.11 or later
- pip package manager
- Valid API key(s) for your chosen LLM provider(s)
Installation Options
Recommended: Install from PyPI
bash
pip install core-for-aiInstall from Source (Development Version)
bash
pip install git+https://github.com/BrunoV21/AiCore@mainOptional Features
AiCore supports additional functionality through optional dependencies:
bash
# Observability dashboard (requires Node.js for frontend)
pip install "core-for-ai[dashboard]"
# SQL database integration
pip install "core-for-ai[sql]"
# All optional features
pip install "core-for-ai[all]"Configuration Setup
Environment Variables:
- Copy
.env-exampleto.envin your project root - Fill in your API keys for the providers you plan to use
- Copy
LLM Configuration:
- Copy example config files from
config/directory - Set
CONFIG_PATHenvironment variable to point to your config file - Or use environment variables prefixed with
LLM_(e.g.,LLM_PROVIDER,LLM_API_KEY)
- Copy example config files from
Verification
After installation, verify the package is working:
python
import aicore
print(aicore.__version__)Troubleshooting
- Permission Errors: Use
pip install --useror a virtual environment - Missing Dependencies: Run
pip install -r requirements.txtfrom the source directory - API Connection Issues: Verify your API keys and network connectivity