Installation
Requirements
- Python >= 3.12
- Core dependencies:
diskcache,numpy(installed automatically)
Install from GitHub (available now)
- pip
pip install git+https://github.com/ashishpatel26/omnicache-ai.git
- uv
uv add git+https://github.com/ashishpatel26/omnicache-ai.git
- With extras
pip install "omnicache-ai[langchain,redis] @ git+https://github.com/ashishpatel26/omnicache-ai.git"
Install from PyPI (coming soon)
- pip
# Core (in-memory + disk backends)
pip install omnicache-ai
# With framework adapters
pip install 'omnicache-ai[langchain]'
pip install 'omnicache-ai[langgraph]'
pip install 'omnicache-ai[crewai]'
pip install 'omnicache-ai[agno]'
# With storage backends
pip install 'omnicache-ai[redis]'
pip install 'omnicache-ai[vector-faiss]'
pip install 'omnicache-ai[vector-chroma]'
# Everything
pip install 'omnicache-ai[all]'
- uv
uv add omnicache-ai
uv add 'omnicache-ai[langchain,redis]'
uv add 'omnicache-ai[all]'
- conda
conda install -c conda-forge omnicache-ai
From Source
git clone https://github.com/ashishpatel26/omnicache-ai.git
cd omnicache-ai
uv sync --dev
uv run pytest # verify install
Verify Installation
python -c "import omnicache_ai; print(omnicache_ai.__version__)"
# 0.1.0
Optional Dependencies
| Extra | Package | What it enables |
|---|---|---|
redis | redis>=5.0 | Redis-backed distributed cache |
vector-faiss | faiss-cpu>=1.7 | FAISS vector similarity search |
vector-chroma | chromadb>=0.4 | ChromaDB persistent vector store |
langchain | langchain-core>=0.2 | LangChain BaseCache adapter |
langgraph | langgraph>=0.1 | LangGraph checkpoint adapter |
autogen | pyautogen>=0.2 | AutoGen 0.2.x adapter |
crewai | crewai>=0.28 | CrewAI kickoff adapter |
agno | agno>=0.1 | Agno agent adapter |
AutoGen 0.4+
For the new AutoGen API, install autogen-agentchat>=0.4 separately:
pip install 'autogen-agentchat>=0.4' omnicache-ai