Redis is going all in on AI.
They just built Redis Iris, a real-time engine that delivers relevant and accurate context for production agents.
In production, support agents receive the same intent in many phrasings:
- "What's the status of my refund?" - "Has my refund gone through yet?"
A semantic cache matches these paraphrases and returns the stored response, which works well when the answer is static.
But, at times, context is not static over time (like refund status). The stored response might indicate "processing" even after the refund has gone through, so the cache returns a stale answer.
A plain agent avoids this by running the full reasoning loop on every request, which gives the right answer but spends tokens re-deriving the same steps each time.
@Redisinc's Iris implements an approach that separates the procedure from the answer.
Here's what happens when a request comes in:
- The Intent Router recognizes similar requests.
- It then pulls the Agent Playbooks for that request. The Playbook doesn't store an answer. It stores the steps to produce one, like "look up the order, check the refund status, reply using this template."
- The agent follows those steps, so it skips re-planning, and the app fetches the current refund status before the reply goes out.
In short, semantic cache reuses the answer while Iris reuses the steps, so the answer is always computed on live data.
This lets the workflow avoid any additional reasoning while still working on the live data.
You can try Redis Iris here: fandf.co/3XbeaVc
To test this, I built a small app to compare all three setups (plain agent, Semantic cache, and Iris-backed agent).
I asked about the refund while it was processing, then updated the status to refunded and asked again with a paraphrase.
Question 1 (status: processing):
- Plain agent: 2 LLM calls, 9.4s, correct - Semantic cache: cache miss, so 2 LLM calls, 10.2s, correct - Iris: 1 LLM call, 5.9s, correct
Question 2 (status: refunded, paraphrased):
- Plain agent: 2 LLM calls, 12.7s, and the reply didn't confirm status - Semantic cache: cache hit, 0.5s, but it returned the stale "processing" answer - Iris: 1 LLM call, 5.6s, correct
Iris skips the planning call because the procedure is already stored, so it ran about 2x faster than the plain agent and was the only setup that was right on both turns.
The video below shows this in action, and I worked with the Redis team to put this together.
If you want to dive deeper, my co-founder wrote a detailed breakdown of KV, prefix, prompt, and semantic caching in the article quoted below. This demo builds on the final technique and shows it running in practice.
Read it below.
