Skip to main content

Installation

Requirements

  • Python >= 3.12
  • Core dependencies: diskcache, numpy (installed automatically)

Install from GitHub (available now)

pip install git+https://github.com/ashishpatel26/omnicache-ai.git
uv add git+https://github.com/ashishpatel26/omnicache-ai.git
pip install "omnicache-ai[langchain,redis] @ git+https://github.com/ashishpatel26/omnicache-ai.git"

Install from PyPI (coming soon)

# 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 add omnicache-ai
uv add 'omnicache-ai[langchain,redis]'
uv add 'omnicache-ai[all]'
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

ExtraPackageWhat it enables
redisredis>=5.0Redis-backed distributed cache
vector-faissfaiss-cpu>=1.7FAISS vector similarity search
vector-chromachromadb>=0.4ChromaDB persistent vector store
langchainlangchain-core>=0.2LangChain BaseCache adapter
langgraphlanggraph>=0.1LangGraph checkpoint adapter
autogenpyautogen>=0.2AutoGen 0.2.x adapter
crewaicrewai>=0.28CrewAI kickoff adapter
agnoagno>=0.1Agno agent adapter
AutoGen 0.4+

For the new AutoGen API, install autogen-agentchat>=0.4 separately:

pip install 'autogen-agentchat>=0.4' omnicache-ai