Installation¶
Prerequisites¶
- Python 3.11+
- Neo4j or FalkorDB database
- OpenAI API key (or compatible LLM provider)
Install Aletheia¶
# Clone the repository
git clone https://github.com/david-morales/aletheia.git
cd aletheia
# Install dependencies (with dev tools for testing/linting)
pip install -e ".[dev]"
Database Setup¶
Option A: FalkorDB (Recommended for local development)¶
Option B: Neo4j¶
# Run Neo4j with Docker
docker run -p 7474:7474 -p 7687:7687 \
-e NEO4J_AUTH=neo4j/password \
neo4j:5
Configuration¶
Create a .env file or set environment variables:
# Database (choose one)
ALETHEIA_DATABASE_TYPE=falkordb # or neo4j
# FalkorDB
FALKORDB_HOST=localhost
FALKORDB_PORT=6379
# Or Neo4j
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
# LLM
OPENAI_API_KEY=sk-...
Verify Installation¶
Next Steps¶
- Quickstart Guide - Build your first knowledge graph
- Configuration Reference - Detailed configuration options