- Python: 3.10 or higher
- OpenAI API Key: Required for GPT-4.1-mini access
- Operating System: Cross-platform (Windows, macOS, Linux)
pip install hmlrWith optional dependencies:
# For LangChain integration
pip install hmlr[langchain]
# For telemetry support (Arize Phoenix)
pip install hmlr[telemetry]
# For development and testing
pip install hmlr[dev]
# Install all extras
pip install hmlr[langchain,telemetry,dev]git clone https://github.com/Sean-V-Dev/HMLR-Agentic-AI-Memory-System.git
cd HMLR-Agentic-AI-Memory-System
pip install -e .With optional dependencies:
pip install -e .[langchain,telemetry,dev]Create a .env file in your project directory:
OPENAI_API_KEY=your-openai-api-key-hereOptional variables:
# For test result tracking
LANGSMITH_API_KEY=your-langsmith-key-here
# For telemetry (if using [telemetry] extra)
PHOENIX_COLLECTOR_ENDPOINT=http://localhost:6006from hmlr import HMLRClient
# Should import without errors
print("HMLR installed successfully!")openai>=1.0.0- OpenAI API clientsentence-transformers>=2.2.0- Embedding generationnumpy>=1.24.0- Numerical operations
[langchain]:
langchain>=0.1.0langchain-openai>=0.1.0
[telemetry]:
arize-phoenix>=4.0.0opentelemetry-api>=1.20.0opentelemetry-sdk>=1.20.0
[dev]:
pytest>=7.0.0pytest-asyncio>=0.21.0ragas>=0.4.0langsmith>=0.2.0datasets>=2.14.0python-dotenv>=1.0.0
If you get import errors, ensure you're using Python 3.10+:
python --versionIf you see "API key not found", ensure your .env file is in the correct directory or set the environment variable:
export OPENAI_API_KEY="your-key-here" # Linux/macOS
set OPENAI_API_KEY="your-key-here" # Windows CMD
$env:OPENAI_API_KEY="your-key-here" # Windows PowerShellHMLR creates SQLite databases. Ensure you have write permissions in the directory where you run your code.
- See Quickstart Guide for basic usage
- Review Model Compatibility for important model warnings
- Check out examples/ for sample code