Back to directory

omnicache-ai

A multi-layer caching library for AI agent pipelines that sits in front of LLM calls, embeddings and retrieval queries across frameworks such as LangChain, LangGraph, AutoGen, CrewAI and Agno, caching by semantic similarity as well as exact match.

Visit website (opens in a new tab)ashishpatel26.github.io
omnicache-ai

omnicache-ai is a caching library for AI agent pipelines, designed to sit in front of any LLM call, embedding request, retrieval query or agent workflow step to avoid repeating identical or semantically similar work. It caches LLM responses keyed by model and message content, stores computed embedding vectors for reuse, and caches retrieval results by query and top-k so that semantically similar questions can return a cached answer through cosine-similarity matching rather than only exact matches.

It ships thirteen framework adapters, including LangChain, LangGraph, AutoGen, CrewAI and Agno, an adaptive semantic similarity threshold, a streaming cache for streamed responses, a tiered backend combining an in-process layer with a persistent store such as Qdrant or Weaviate, stampede protection, multi-tenant namespacing, and Prometheus and OpenTelemetry metrics export. The project describes itself as an actively maintained alternative to GPTCache, which it says has been effectively unmaintained since 2024.

It is written in Python and MIT licensed.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.