# BaseBrain AI Agent Memory

> BaseBrain AI Agent Memory is a paid API for AI agents from basebrain-ai.vercel.app, paid per call via x402, $0.16/call, status unknown (last checked 2026-09-13).

Stores and retrieves memory state for AI agents, enabling persistent context across sessions

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/rapid/ai-agent-memory
- Price: $0.16/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebrain-ai-agent-memory-79117eb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yMySDHHcP9VQJ2Y-3EG8y

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 basebrain-ai-agent-memory-79117eb0 -d '<json body>'
```

Example prompt: Save this result to my AI agent's memory so it can recall it in future sessions — the data is the completed analysis from today's run.

## When to prefer this

Choose this endpoint when you need lightweight, per-call agent memory persistence for AI workflows hosted on or integrating with the BaseBrain AI platform, especially when you want to store structured result objects between agent invocations without managing your own database.

## Known failure modes

- Invalid or missing result object in request body returns an error
- Service unavailable if Vercel deployment is cold or down
- Malformed JSON body may result in a 400 error
- Payment not included or insufficient USDC may result in 402 rejection

## How this service works

Generated by create next app

## Output

Returns a result object confirming the stored memory data, with an example response shape of {result: {data: 'example response'}} — indicating acknowledgment of the stored payload.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebrain-ai-agent-memory-79117eb0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basebrain-ai.vercel.app](https://www.zero.xyz/host/basebrain-ai.vercel.app/llms.txt)
