🗃️ KV Store
Key-Value Store for AI Agent State
Per-agent state. Compare-and-set. No database to run.
What it does
Give every agent its own namespaced key-value store. Read and write JSON values with optional TTL expiry and compare-and-set (CAS) tokens for safe concurrent updates. State is isolated per agent and per tenant.
Why agents need this
- •Agents are stateless by default and need durable memory between runs
- •Long-running agents need checkpointable progress that survives restarts
- •Concurrent agent invocations corrupt shared state without optimistic locking
- •Running your own Redis or Postgres for agent memory is infrastructure you should not have to manage
Get started in 30 seconds
One API call. No SDK. No configuration.
cURL
curl -X PUT "https://www.agent-utils.com/v1/kv/state/last-seen" \
-H "x-agent-id: poller" -H "x-api-key: agutil_agt_…" \
-H "content-type: application/json" \
-d '{
"value": { "event_id": "evt_42" },
"ttl_seconds": 86400
}'Python
import requests
resp = requests.put(
"https://www.agent-utils.com/v1/kv/state/last-seen",
headers={
"x-agent-id": "poller",
"x-api-key": "agutil_agt_…",
"content-type": "application/json",
},
json={
"value": {"event_id": "evt_42"},
"ttl_seconds": 86400,
},
)
assert resp.status_code == 200JavaScript
const res = await fetch("https://www.agent-utils.com/v1/kv/state/last-seen", {
method: "PUT",
headers: {
"x-agent-id": "poller",
"x-api-key": "agutil_agt_…",
"content-type": "application/json",
},
body: JSON.stringify({
value: { event_id: "evt_42" },
ttl_seconds: 86400,
}),
});Use cases
Conversation memory
Store per-user chat context so an agent picks up exactly where the last turn left off
Cursor tracking
Remember the last-processed event ID so a polling agent never reprocesses or skips work
Feature flags & config
Agents read live config values per namespace without a redeploy or a separate config service
Idempotency keys
Store request fingerprints with TTL so retried agent actions do not double-execute
AgentUtils vs. alternatives
Traditional tools like Redis, DynamoDB, Upstash Redis require SDK integration, credential management, and infrastructure setup. AgentUtils replaces all of that with a single HTTP call.
| AgentUtils | Alternatives | |
|---|---|---|
| Setup time | 30 seconds | Hours to days |
| SDK required | No (REST API) | Yes |
| Credentials to manage | 1 API key | Multiple keys/tokens |
| Infrastructure | Zero-config | Provision + configure |
Related tools
All AgentUtils tools
Start building for free
500 free API calls per month. No credit card required.