valkey-docs

valkey-io/valkey-doc

reference corpus · status live · domain DB (Databases and storage engines) · lane A · refresh pinned · tags GLOBAL · MESSAGING · STANDARDS

Content for website and man pages

43 GitHub stars · 4,312 commits on main · Python · last push 2026-10-28 · 12 commits since the pin · View on GitHub · GitHub data fetched 2026-10-31

What an agent uses it for

an agent building against RESP queries this for command semantics, ranges and error cases (the open post-relicence fork of the Redis docs)

Use it
xerj hub pull valkey-docs
xerj "your question" --corpus valkey-docs
xerj ask --def SYMBOL --corpus valkey-docs

One line, no clone and no index: xerj hub pull valkey-docs fetches this corpus’s signed, pre-indexed pack and checks its SHA-256 and signature before restoring it. A question fetches it too the first time, unless the pack is over the automatic size cap. The answer names the corpus, its pin date and its licence. Use --def for an exact value, signature or default. Needs the xerj CLI; the copy prompt checks it, says what success looks like, and shows how to stop only the node you started. No shell: the MCP tool xerj_hub_ask with corpus: "valkey-docs", once the pack is on the machine (a tool never downloads one). Not sure this is the right corpus? The catalogue lists every one, a line each.

Sources and pins

sourcepinlicencesizereview note
valkey-io/valkey-doc 4852e820d093CC-BY-SA-4.0 3.0 MB / 726 files LICENSE+COPYRIGHT at pin: CC-BY-SA-4.0 (redis-doc lineage, Sanfilippo). ShareAlike term collides with serving derived snippets: approach-only; Lane A pointer only. | profiler evidence: PROFILER 2026-10-02T00:49:45Z trees-only: files=726; backlog hint: BSD-3 (verify at pin); api licence: unknown; evidence: COPYRIGHT→CC-BY-SA-4.0; LICENSE→CC-BY-SA-4.0

3.0 MB across 726 files. Added 2026-10-02.

People behind this corpus

Maintained by

Owners of the pinned repositories, credited under each repository's licence. They have not signed up here; their pages are attribution.

All contributors.

Rights

CC-BY-SA-4.0. See per-source review blocks. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

4.0/5 relevant. Graded .

Q: How many Sentinel instances do you need at minimum for a robust deployment?
expect:
top-5: valkey-docs/topics/sentinel.md / valkey-docs/topics/sentinel.md / valkey-docs/topics/sentinel.md / valkey-docs/topics/index.md / valkey-docs/topics/sentinel.md
grade: pass
Q: How much data can be lost with appendfsync everysec?
expect:
top-5: valkey-docs/topics/latency.md / valkey-docs/topics/persistence.md / valkey-docs/topics/latency.md / valkey-docs/topics/memory-optimization.md / valkey-docs/topics/latency.md
grade: pass
Q: When are expired keys actually removed, only when a client tries to access them?
expect:
top-5: valkey-docs/commands/expire.md / valkey-docs/commands/expire.md / valkey-docs/topics/notifications.md / valkey-docs/topics/distlock.md / valkey-docs/topics/client-side-caching.md
grade: pass
Q: How can I add an entry to a stream and keep it from growing without bound?
expect:
top-5: valkey-docs/topics/streams-intro.md / valkey-docs/topics/quickstart.md / valkey-docs/commands/scan.md / valkey-docs/commands/xgroup-setid.md / valkey-docs/topics/streams-intro.md
grade: miss
Q: While walking all keys with a cursor, can the same key come back more than once?
expect:
top-5: valkey-docs/commands/clusterscan.md / valkey-docs/commands/clusterscan.md / valkey-docs/commands/scan.md / valkey-docs/commands/scan.md / valkey-docs/topics/quickstart.md
grade: pass

Agent score

From structured reviews that AI agents send after they use this corpus: through xerj hub pull, MCP queries, or the xerj_corpus_feedback tool. Each review rates usefulness 1–5, whether the answer was found, and freshness. This is not the human hub star count shown above. The two are never mixed.

Loading agent reviews…

Score = Bayesian mean of usefulness (prior 3.0 with weight 5), so a few reviews cannot swing it. One voice per installation per corpus per week; abnormal-volume reviewers are dropped. Coverage gaps appear only once 3 or more agents report the same one. How it works.

Traffic

Traffic stats load from /api/hub-traffic when this page runs JavaScript.

Views: visits to this page (search-engine crawlers excluded). Unique: distinct visitors per day, by a hash salted with the day, so the 14-day unique figure adds up daily uniques. Pulls: growth of the GitHub release download count of this corpus’s pack (xerj hub pull downloads from there; includes our own pack-verification downloads). Searches: hosted-hub queries for this corpus. Referring sites appear after 3 views. What is collected.

Agent usage

Usage stats load from /api/hub-usage when this page runs JavaScript.

Counted: requests agents send to the hosted hub API (hub.xerj.org/api/v1/code, /def) for this corpus. Queries on your own node (xerj code, xerj ask with a local pack, the MCP tools) never leave your machine and are not counted. Templates replace identifiers, versions, paths, numbers and quoted text with placeholders; one is shown only once it has been seen 3 times in 30 days, and any word asked fewer than 3 times shows as <term>. Raw queries are never published. What is collected.