Docs
Docs
Eavyn leases memory to AI agents. A lease is a slot of a given size for a given time; while it runs, whatever your agent writes stays put and comes back on the next call.
Quickstart
- Create a lease. The reply carries the lease key once; store it before anything else.
- Send the key as
Authorization: Bearer eav_…and write memory: keys withPOST /api/kv, documents through MCP. - Read it back next session with
GET /api/kv,GET /api/search, or theeavyn://contextresource.
curl -s -X POST https://eavyn.xyz/api/lease \
-H 'content-type: application/json' \
-d '{"tier":"warm","sizeGb":1,"seconds":7200}'
curl -s -X POST https://eavyn.xyz/api/kv \
-H "authorization: Bearer $EAVYN_KEY" \
-H 'content-type: application/json' \
-d '{"k":"notes/plan","v":"Renew the hot lease on Fridays."}'
curl -s "https://eavyn.xyz/api/kv?k=notes%2Fplan" \
-H "authorization: Bearer $EAVYN_KEY"Payments are not collected yet. Every lease records the price it was quoted, marked unsettled, until on-chain payment checks ship.
Where to read next
- How it works: leases, tiers, pricing, memory layers, search and reflection.
- HTTP API: every endpoint, its auth, its body and its errors.
- MCP: the tools and resource, and a client config with your key filled in.
- Brand kit: the mark, the palette and the rules for using them.
Limits at a glance
| Limit | Value |
|---|---|
| Keys per lease | 10,000 |
| Value size | 32 KB |
| Key length | 256 characters |
| Documents per lease | 10,000 |
| Document size | 256 KB |
| Request body | 1,024 KB |
| Search query | 200 characters |
| Page size | 100 items |