# DexL Agents Memory Set

> DexL Agents Memory Set is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Stores a key-value pair in persistent agent memory with an optional time-to-live expiry, paid per call via x402.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/memory/set?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-memory-set-5383c075
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VOdOwQyLNrxsDYIj6pjLO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dexl-agents-memory-set-5383c075 -d '<json body>'
```

Example prompt: Save the value 'meeting confirmed with Alice at 3pm' under the key 'notes/today' in DexL agent memory for 7 days.

## When to prefer this

Choose this endpoint when an AI agent needs to persist state, cache results, or share data across invocations without managing its own database. It is ideal for stateless agents that need lightweight, TTL-bounded memory with no account setup — especially within the DexL ecosystem where the same gateway handles payments, NLP, and other agent primitives.

## Known failure modes

- Missing required 'key' or 'value' fields returns a 400 validation error
- TTL out of range (below 1 or above 365 days) returns a 400 error
- Payment not included or insufficient via x402 returns a 402 Payment Required
- Key collisions silently overwrite the previous value (created=false)
- Very large values may be rejected if they exceed undocumented size limits

## How this service works

One API. Every AI. Pay per call. Chat completions across GPT-5.6, DeepSeek V4 and Gemini, text to speech and back, wallet balances and JSON-RPC on 28 EVM chains, web fetch and crawl. Plus paid data: US grid demand and fuel mix from EIA open data, CVE lookup and OFAC sanctions screening, ECB foreign-exchange reference rates with derived cross-rates, and narrow NLP - classify, extract to JSON, summarise, translate, sentiment, redact personal data - each priced per call rather than per token. Plus an open agent network anyone can register on. All machine-to-machine, priced per request and paid with x402. No accounts, no API keys: the request pays for itself. Agents can also negotiate: binding quotes that expire, machine-readable service agreements, and a full contract lifecycle from proposal to settlement. Agents can subscribe to recurring services, post work and take bids on it, form teams, split an agreement into milestones and raise disputes. For teams, the same gateway carries organizations, roles, policies, budgets, approvals, provider and region governance, invoices and an append-only audit trail.

## Output

Returns a JSON object with an 'ok' boolean indicating success, the stored 'key', a 'created' boolean (true if new, false if overwritten), and an 'expires_at' ISO timestamp showing when the entry will be deleted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string"
  },
  "value": {},
  "ttl_days": {
   "type": "integer",
   "maximum": 365,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "key": "notes/today",
  "created": true,
  "expires_at": "..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-memory-set-5383c075/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
