Redis Array Playground

Simon Willison's Blog / 5/5/2026

📰 NewsDeveloper Stack & InfrastructureTools & Practical UsageModels & Research

Key Points

  • Redis has received a pull request that adds a new data type: arrays, along with many new array-oriented commands (e.g., ARCOUNT, ARLEN, ARGET/ARSET, and others).
  • An interactive “Redis Array Playground” was built in a web-based WASM-compiled subset of Redis to let users try the new array commands safely in the browser.
  • The new command ARGREP is highlighted as particularly interesting because it performs server-side “grep”-style matching across a range of array values using the vendored TRE regex library.
  • The article points readers to further details from Salvatore on the (including AI-assisted) development process behind the Redis array type.
Sponsored by: MongoDB — Join MongoDB.local London 2026 on 7 May to learn how teams move AI from prototype to production.

4th May 2026

Tool Redis Array Playground — # Redis Array Playground

Salvatore Sanfilippo submitted a PR adding a new data type - arrays - to Redis.

The new commands are ARCOUNT, ARDEL, ARDELRANGE, ARGET, ARGETRANGE, ARGREP, ARINFO, ARINSERT, ARLASTITEMS, ARLEN, ARMGET, ARMSET, ARNEXT, AROP, ARRING, ARSCAN, ARSEEK, ARSET.

The implementation is currently available in a branch, so I had Claude Code for web build this interactive playground for trying out the new commands in a WASM-compiled build of a subset of Redis running in the browser.

Screenshot of a Redis command builder UI. Left sidebar shows commands ARSCAN, ARSEEK, ARSET. Main panel has a "predicate oneof" section with a MATCH dropdown and value CHERRY, plus a "+ add another" button. Below is "options (optional) oneof" with checkboxes: AND (checked), OR (unchecked), LIMIT (checked, value 10), WITHVALUES (checked), NOCASE (checked). COMMAND section shows: ARGREP myarr - + MATCH CHERRY AND LIMIT 10 WITHVALUES NOCASE. A red "Run command" button is below. REPLY section shows "(no reply yet)".

The most interesting new command is ARGREP which can run a server-side grep against a range of values in the array using the newly vendored TRE regex library.

Salvatore wrote more about the AI-assisted development process for the array type in Redis array type: short story of a long development.

Posted 4th May 2026 at 3:53 pm

This is a beat by Simon Willison, posted on 4th May 2026.

c 53 redis 61 regular-expressions 37 salvatore-sanfilippo 19 ai 1999 webassembly 92 generative-ai 1772 llms 1738 agentic-engineering 47

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe