Every AI agent session starts with a blank slate. Your agent learns something, computes something, decides something — and then the session ends and it's all gone. The next run, it starts over. Here's how to fix that without provisioning a database, configuring Redis, or writing a single line of infrastructure code.
Context windows are not memory. They're working memory for one session. When the session ends, everything in the context window evaporates. This causes problems that compound over time:
The obvious fix is Redis or DynamoDB. But you have to provision it, configure access, write read/write code, handle TTL, and maintain it. For an agent prototype, that's a full infrastructure decision before you've validated anything.
Slopshop provides three distinct memory primitives, each suited to different patterns:
Arbitrary JSON values keyed by string. Supports TTL, namespacing, and list operations. The right choice for session state, user preferences, and computed results.
Named entities and typed relationships. Store what your agent learns as a graph — nodes, edges, properties. Query by entity or relationship type.
Shared workspace state for multi-agent systems. Multiple agents reading and writing the same named state space, with channel-based access control.
The simplest case. Store anything as JSON under a key, retrieve it in any future session, on any machine, with any LLM, as long as you use the same API key.
curl -X POST https://slopshop.gg/v1/memory-set \ -H "Authorization: Bearer demo_key_slopshop" \ -H "Content-Type: application/json" \ -d '{ "key": "agent:research:transformer-papers", "value": { "papers": ["arxiv:2401.00001", "arxiv:2401.00042"], "summary": "Key insight: sparse attention reduces quadratic complexity", "fetched_at": "2026-03-26T10:00:00Z", "confidence": 0.88 }, "ttl": 604800 }' # Response: { "ok": true, "stored": true, "credits_used": 0 }
curl -X POST https://slopshop.gg/v1/memory-get \ -H "Authorization: Bearer demo_key_slopshop" \ -d '{"key": "agent:research:transformer-papers"}' # Returns the full value you stored, including metadata. # The agent using GPT-4o today gets what the Claude agent # stored last week. Cross-LLM memory, zero configuration.
When your agent is researching, it's not just accumulating facts — it's building a web of entities and relationships. A knowledge graph is the right structure for that. Store Person, Company, Concept, Paper nodes and the typed edges between them.
curl -X POST https://slopshop.gg/v1/graph-add \ -H "Authorization: Bearer demo_key_slopshop" \ -d '{ "nodes": [ {"id": "vaswani_2017", "type": "Paper", "props": {"title": "Attention Is All You Need", "year": 2017}}, {"id": "concept_attention", "type": "Concept", "props": {"name": "Self-Attention Mechanism"}} ], "edges": [ {"from": "vaswani_2017", "to": "concept_attention", "type": "INTRODUCES", "props": {"significance": "foundational"}} ] }'
curl -X POST https://slopshop.gg/v1/graph-query \ -H "Authorization: Bearer demo_key_slopshop" \ -d '{ "start": "concept_attention", "direction": "incoming", "edge_type": "INTRODUCES", "depth": 2 }' # Returns: all papers that introduced or built on self-attention, # up to 2 hops from the concept node. The graph grows each # session as the agent discovers new relationships.
Memory in Slopshop is keyed to your API key, not to a model or a session. That means:
| Factor | Redis (managed) | DynamoDB | Slopshop Memory |
|---|---|---|---|
| Setup time | 30–60 min (VPC, auth, client) | 20–40 min (IAM, table design) | 0 — your API key is already the auth |
| Cost (prototype scale) | ~$15–30/mo (smallest instance) | ~$1–5/mo + provisioning complexity | $0 — permanently free |
| Knowledge graph | Not native (RedisGraph deprecated) | Not native (use Neptune separately) | Built-in, free |
| Cross-LLM access | Yes, with custom client per framework | Yes, with SDK per framework | Yes, same HTTP call from any context |
| TTL support | Yes | Yes | Yes, per-key TTL in seconds |
| MCP-native | No — custom MCP tool required | No — custom MCP tool required | Yes — Claude Code sees memory tools natively |
Store any JSON value with optional TTL. Overwrites if key exists.
Retrieve a value by key. Returns null if not found or expired.
Remove a key and its value immediately, regardless of TTL.
List all keys matching a prefix. Paginated. Supports namespace traversal.
Semantic search over stored values. Returns ranked results by relevance.
Atomic increment/decrement. Use for run counts, version numbers, rate tracking.
FIFO and LIFO queues per named key. Coordinate sequential tasks between agents.
Add nodes and typed edges to the knowledge graph for this API key.
Traverse the graph from any node with configurable depth and edge type filters.
Add Slopshop to Claude Code's MCP config and all memory tools become native Claude tools. No curl, no HTTP — Claude calls memory_set, memory_get, graph_query the same way it uses any other tool.
{
"mcpServers": {
"slopshop": {
"command": "npx",
"args": ["-y", "slopshop-mcp"],
"env": {
"SLOPSHOP_API_KEY": "your_key_here"
}
}
}
}
// Claude now has memory_set, memory_get, graph_add,
// graph_query, queue_push, queue_pop as native tools.
// 0 credits. No database to maintain.
Sign up, get 500 credits for paid tools, and unlimited free memory. No credit card required.