# Cache-Pot ## Docs - [REMEMBER and RECALL commands for agent session memory](https://cache-pot.thatdevguy.in/commands/agent-memory.md): REMEMBER stores a key-value pair scoped to a session. RECALL retrieves one or all values for a session. Backed by Cache-Pot hashes. - [Cache-Pot connection and server commands reference](https://cache-pot.thatdevguy.in/commands/connection.md): Reference for Cache-Pot's connection and server commands: PING, ECHO, AUTH, SELECT, QUIT, COMMAND, INFO, DBSIZE, FLUSHDB, and FLUSHALL. - [Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HMGET](https://cache-pot.thatdevguy.in/commands/hashes.md): Full reference for Cache-Pot hash commands: HSET, HGET, HDEL, HGETALL, HKEYS, HVALS, HLEN, HEXISTS, and HMGET for managing field-value maps. - [Key commands: DEL, EXPIRE, TTL, SCAN, TYPE, RENAME](https://cache-pot.thatdevguy.in/commands/keys.md): Reference for Cache-Pot generic key commands: DEL, EXISTS, EXPIRE, TTL, PERSIST, KEYS, SCAN, TYPE, RENAME, RENAMENX, MEMORY. - [List commands in Cache-Pot: LPUSH, RPUSH, LRANGE](https://cache-pot.thatdevguy.in/commands/lists.md): Reference for Cache-Pot list commands: LPUSH, RPUSH, LPOP, RPOP, LLEN, LINDEX, LRANGE. Lists are ordered sequences with O(1) push/pop. - [Observability commands: MONITOR, SLOWLOG, CLIENT, CONFIG](https://cache-pot.thatdevguy.in/commands/observability.md): Reference for Cache-Pot observability commands: MONITOR, SLOWLOG, CLIENT LIST/KILL, CONFIG GET/SET, and MEMORY USAGE. - [Cache-Pot persistence commands: SAVE, BGSAVE, BGREWRITEAOF](https://cache-pot.thatdevguy.in/commands/persistence.md): Use SAVE, BGSAVE, and BGREWRITEAOF to manually trigger point-in-time snapshot writes and compact the append-only file in Cache-Pot. - [Pub/Sub commands: SUBSCRIBE, PUBLISH, PSUBSCRIBE](https://cache-pot.thatdevguy.in/commands/pubsub.md): Reference for Cache-Pot pub/sub commands: SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE, PUBLISH for real-time messaging. - [Cache-Pot semantic cache: SCACHE.SET and SCACHE.GET](https://cache-pot.thatdevguy.in/commands/semantic-cache.md): SCACHE.SET stores a prompt-response pair using embeddings. SCACHE.GET retrieves cached responses by semantic similarity, not exact match. - [Set commands in Cache-Pot: SADD, SMEMBERS, SISMEMBER](https://cache-pot.thatdevguy.in/commands/sets.md): Reference for Cache-Pot set commands: SADD, SREM, SMEMBERS, SISMEMBER, SCARD. Sets are unordered collections of unique string members. - [Sorted set commands in Cache-Pot: ZADD, ZRANGE, ZRANGEBYSCORE](https://cache-pot.thatdevguy.in/commands/sorted-sets.md): Reference for Cache-Pot sorted set commands: ZADD, ZREM, ZSCORE, ZCARD, ZRANGE, ZRANGEBYSCORE with WITHSCORES option. - [String commands in Cache-Pot: GET, SET, INCR, APPEND](https://cache-pot.thatdevguy.in/commands/strings.md): Full reference for Cache-Pot string commands: GET, SET, GETSET, APPEND, STRLEN, GETRANGE, SETRANGE, INCR, DECR, INCRBY, DECRBY, MGET, MSET. - [Transactions in Cache-Pot: MULTI, EXEC, WATCH](https://cache-pot.thatdevguy.in/commands/transactions.md): Cache-Pot supports atomic transactions with MULTI/EXEC. Use WATCH for optimistic locking to prevent concurrent modification. - [Cache-Pot vector commands: VSET, VSEARCH, VDEL, VCARD, VDIM](https://cache-pot.thatdevguy.in/commands/vectors.md): Store and search float32 vectors in Cache-Pot collections using cosine similarity. Full reference for VSET, VSEARCH, VDEL, VCARD, and VDIM commands. - [Agent memory: persistent key-value state for AI sessions](https://cache-pot.thatdevguy.in/concepts/agent-memory.md): REMEMBER and RECALL give AI agents a simple key-value memory scoped to a session, backed by Cache-Pot's hash store with optional TTL. - [Cache-Pot data types: strings, hashes, lists, sets, vectors](https://cache-pot.thatdevguy.in/concepts/data-types.md): Cache-Pot supports six data types: strings, hashes, lists, sets, sorted sets, and vector collections. Each type has its own set of commands. - [Persistence in Cache-Pot: snapshots and append-only file](https://cache-pot.thatdevguy.in/concepts/persistence.md): Cache-Pot offers two durability modes: periodic snapshots and an append-only file (AOF). Enable either or both to keep your data safe across restarts. - [Semantic caching: cache LLM responses by prompt meaning](https://cache-pot.thatdevguy.in/concepts/semantic-cache.md): Cache-Pot's semantic cache stores LLM responses and retrieves them by meaning using vector embeddings — not just exact text match. - [Vector store: cosine similarity search in Cache-Pot](https://cache-pot.thatdevguy.in/concepts/vector-store.md): Cache-Pot provides a built-in vector store with cosine similarity search. Store float32 embeddings and query by nearest neighbours in the same keyspace. - [Configure and access the Cache-Pot web dashboard UI](https://cache-pot.thatdevguy.in/configuration/dashboard.md): Cache-Pot's embedded web dashboard runs on port 8080 by default. Configure its address or disable it entirely using --dashboard-addr. - [Configure embeddings for semantic caching in Cache-Pot](https://cache-pot.thatdevguy.in/configuration/embeddings.md): Set CACHEPOT_EMBED_URL, CACHEPOT_EMBED_KEY, and CACHEPOT_EMBED_MODEL to enable semantic caching with any OpenAI-compatible embeddings provider. - [Configure the Cache-Pot server: ports, auth, persistence](https://cache-pot.thatdevguy.in/configuration/server.md): Configure Cache-Pot's listen address, authentication password, snapshot interval, AOF settings, and expiry sweep using flags or environment variables. - [Browse, search, and edit keys in the Cache-Pot dashboard](https://cache-pot.thatdevguy.in/dashboard/key-browser.md): The Key Browser lets you search, filter, create, edit, rename, and delete keys visually — including strings, hashes, lists, sets, and sorted sets. - [Cache-Pot dashboard: monitor your server in real time](https://cache-pot.thatdevguy.in/dashboard/overview.md): The Cache-Pot dashboard provides live stats, key browsing, a command workbench, profiler, slowlog, pub/sub monitor, memory analysis, and client management. - [Run RESP commands interactively in the Cache-Pot Workbench](https://cache-pot.thatdevguy.in/dashboard/workbench.md): The Workbench is an in-browser CLI for Cache-Pot. Run any RESP command, view typed responses, browse history, and get syntax hints as you type. - [AI agent patterns with Cache-Pot: semantic cache and memory](https://cache-pot.thatdevguy.in/guides/ai-agents.md): Use Cache-Pot to give AI agents persistent memory, fast vector similarity search, and semantic response caching to reduce LLM API calls. - [Run Cache-Pot with Docker: images, volumes, and Compose](https://cache-pot.thatdevguy.in/guides/docker.md): Pull the official Cache-Pot Docker image, mount a data volume for persistence, and configure via environment variables in a docker-compose.yml. - [Connect Claude to Cache-Pot using the built-in MCP server](https://cache-pot.thatdevguy.in/guides/mcp-integration.md): Cache-Pot includes a built-in MCP server. Add it to Claude Desktop or Claude Code so your AI agent can get, set, search, and remember values directly. - [Migrate from Redis to Cache-Pot without changing code](https://cache-pot.thatdevguy.in/guides/redis-migration.md): Cache-Pot speaks RESP2 and supports the same core commands as Redis. Point your existing Redis client at Cache-Pot and it works immediately. - [Install Cache-Pot: Go, Docker, or build from source](https://cache-pot.thatdevguy.in/installation.md): Install Cache-Pot using Go install, Docker, or by building from source. Cache-Pot is a single binary with zero external dependencies. - [Cache-Pot: Redis-compatible cache built for AI applications](https://cache-pot.thatdevguy.in/introduction.md): Learn what Cache-Pot is, how it compares to Redis, and why it's purpose-built for AI apps that need semantic caching and vector search. - [Get started with Cache-Pot in under 5 minutes](https://cache-pot.thatdevguy.in/quickstart.md): Install Cache-Pot, connect your first Redis client, run your first vector search, and explore the web dashboard — all in under 5 minutes.