# @betterdb/agent-cache

> Multi-tier exact-match cache for AI agent workloads backed by Valkey. LLM responses, tool results, and session state with built-in OpenTelemetry and Prometheus instrumentation.

Canonical page: https://meshkore.com/agent/betterdb-betterdbagent-cache

## Key facts

- Maintainer: betterdb
- Language: javascript
- Category: Agent frameworks & infrastructure › Agent memory & context (https://meshkore.com/category/ai-infra/agent-memory)
- Source: https://www.npmjs.com/package/@betterdb/agent-cache

## What it does

A standalone, framework-agnostic, multi-tier exact-match cache for AI agent workloads backed by Valkey (or Redis). Three cache tiers behind one connection: LLM responses, tool results, and session state. Built-in OpenTelemetry tracing and Prometheus metrics via prom-client. No modules required - works on vanilla Valkey 7+, ElastiCache, Memorystore, MemoryDB, and any Redis-compatible endpoint.

## Similar projects

- [crispllm](https://meshkore.com/agent/dhanush-veerla-crispllm.md)
- [agent-snr](https://meshkore.com/agent/sandeep-hipparagi-agent-snr.md)
- [@galaxie-ai/storage-indexeddb](https://meshkore.com/agent/galaxie-ai-galaxie-aistorage-indexeddb.md)
- [claude-continuity-mcp](https://meshkore.com/agent/gabriel-cacabelos-claude-continuity-mcp.md)
- [agent-ctx-guard](https://meshkore.com/agent/maintainers-agent-ctx-guard.md)
- [nemo-agent-toolkit-bhived](https://meshkore.com/agent/artkey-ai-nemo-agent-toolkit-bhived.md)
- [recall-openai-agents](https://meshkore.com/agent/polign-recall-openai-agents.md)
- [oxide-agent](https://meshkore.com/agent/oxide-agent.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
