kv-storage

Solid

Use the swarm KV store (Redis-like, namespaced) for cross-task / cross-session / per-page state. Auto-scoped to your context (Slack thread / PR / Linear issue / agent / page). Use for counters, cursors, page state. Do NOT use for secrets (`swarm_config`), embedded knowledge (`memory`), or files (`agent-fs`).

AI & Automation 483 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# KV Storage Namespaced key/value store inside the swarm SQLite DB. Auto-scoped to your calling context — same string used by `agent_tasks.contextKey`. > **Capability gate**: the `kv-*` MCP tools are only available when your > `CAPABILITIES` includes `kv` (default-on; check `my-agent-info`). The REST > endpoints under `/api/kv/*` are always present on the API server. ## When to use KV | You need… | Use this | Not this | |---|---|---| | Count something in this Slack thread / PR / Linear issue | **KV** (auto-scoped) | memory / agent-fs | | Save a cursor / last-seen state for a recurring schedule | **KV** | swarm_config | | Page-internal counter / vote / state across reloads | **KV** via `swarmSdk.kv` | memory | | Cross-task state in the same conversation | **KV** (auto-scoped to `task:slack:...`) | parentTaskId only | | Secrets, API tokens, OAuth creds | `swarm_config` (encrypted + masked) | **NOT KV** | | Cross-session knowledge for this agent ("how do I…") | `memory_search` / `memory-get` | **NOT KV** | | Files, binaries, long documents | `agent-fs` | **NOT KV** | | Workflow run state | workflow vars (own KV) | **NOT KV** | Rule of thumb: - If a future invocation should *find this without knowing the key* → memory. - If a future invocation will *know exactly which key to read* → KV. - If it has secrets in it → `swarm_config`. - If it's bytes (image, pdf, large doc) → agent-fs. ## Namespacing Namespace is just a string. It mirrors the `contextKey` schema (`src/tasks/con...

Details

Author
desplega-ai
Repository
desplega-ai/agent-swarm
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

swarmvault

Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, context-pack, task-ledger, retrieval, and MCP artifacts to disk from books, notes, transcripts, exports, datasets, slide decks, files, URLs, code, and recurring source workflows.

0 Updated today
anitagraviti-sys
AI & Automation Listed

kg-core

Knowledge Graph — persistent memory, your twin across sessions. Treat it as primary context before reaching for any other tool. Session start: if kg_read hasn't been called yet, call it before any task work. kg_read(cwd="<project root>") Output has two sections — USER GRAPH and PROJECT GRAPH. On large graphs the result may start with <persisted-output> and show only a preview; the full output is saved to the file path shown — read it with the Read tool to get the complete picture including session_id. Announce "I have recalled KG Memories" once both sections have been read. Connection refused means the server is down — let the user know: `kg-memory start` will bring it back. If kg-memory isn't found, the install script hasn't been run yet: knowledge-graph/install_command.sh registers both kg-memory and kg-visual. Before searching files, docs, or the web — check what's already known. The graph often has the answer, and reading from memory is faster than rediscovering. Writes during conversation are cheap (cont

1 Updated 3 days ago
mironmax
AI & Automation Solid

knowledge-ops

Knowledge base management, ingestion, sync, and retrieval across multiple storage layers (local files, MCP memory, vector stores, Git repos). Use when the user wants to save, organize, sync, deduplicate, or search across their knowledge systems.

199,464 Updated today
affaan-m
AI & Automation Listed

vllm-caching

vLLM tiered KV cache configuration for production H100/H200 clusters. Native CPU offload, LMCache (CPU+NVMe+GDS), NixlConnector (disaggregated prefill), MooncakeConnector (RDMA), MultiConnector composition. Version gates, sizing math (flag total across TP, not per-GPU — opposite of SGLang), KV-vs-weights offload distinction operators most often get wrong.

3 Updated today
air-gapped
AI & Automation Listed

vault-operations

Operational knowledge for working with /home/user/Vault/ - the persistent user-curated note store. Layout, who-writes-where, wikilink convention, hard rules. Invoked when the agent touches vault files or the user references vault contents.

24 Updated today
nikolanovoselec