🗄️ KV Store

Key-Value Store for AI Agents

Persistent state between agent runs. No database config.

What it does

Give agents persistent storage they can read and write between invocations. Store conversation state, share data between agents, manage counters, and cache results. Simple REST API with TTL support — no Redis, no MongoDB, no database credentials.

Why agents need this

Get started in 30 seconds

One API call. No SDK. No configuration.

cURL

# Set a value
curl -X POST https://www.agent-utils.com/api/kv \
  -H "x-api-key: au_your_key" \
  -H "Content-Type: application/json" \
  -d '{"key": "user:123:preferences", "value": {"lang": "en", "tz": "UTC"}}'

# Get a value
curl https://www.agent-utils.com/api/kv/user:123:preferences \
  -H "x-api-key: au_your_key"

Python

import requests

headers = {"x-api-key": "au_your_key"}

# Set
requests.post("https://www.agent-utils.com/api/kv",
    headers=headers,
    json={"key": "counter", "value": 42},
)

# Get
resp = requests.get("https://www.agent-utils.com/api/kv/counter",
    headers=headers,
)
print(resp.json()["data"]["value"])  # 42

JavaScript

// Set
await fetch("https://www.agent-utils.com/api/kv", {
  method: "POST",
  headers: { "x-api-key": "au_your_key", "Content-Type": "application/json" },
  body: JSON.stringify({ key: "counter", value: 42 }),
});

// Get
const res = await fetch("https://www.agent-utils.com/api/kv/counter", {
  headers: { "x-api-key": "au_your_key" },
});
const { data } = await res.json();
console.log(data.value); // 42

Use cases

Conversation memory

Store user preferences and conversation history between agent sessions

Multi-agent coordination

Agent A writes results, Agent B reads them — no shared filesystem needed

Rate limit counters

Track API call counts across agent runs to stay within rate limits

Configuration cache

Cache frequently accessed config so agents do not re-fetch on every run

AgentUtils vs. alternatives

Traditional tools like Redis Cloud, Upstash KV, DynamoDB require SDK integration, credential management, and infrastructure setup. AgentUtils replaces all of that with a single HTTP call.

AgentUtilsAlternatives
Setup time30 secondsHours to days
SDK requiredNo (REST API)Yes
Credentials to manage1 API keyMultiple keys/tokens
InfrastructureZero-configProvision + configure

Related tools

All AgentUtils tools

Start building for free

500 free API calls per month. No credit card required.