Context as a Service

Memory primitives for AI agents

Ingest messages, tool calls, and app events. Recall context under token budgets. Forget with compliance receipts. CLAIV returns context; your LLM generates the reply.

Read the docs
Event Types

Three event types

Ingest every interaction. CLAIV enriches them into searchable context.

message

User and assistant messages in conversations. The most common event type.

type: "message"

tool_call

Tool and function calls made by the AI assistant, with results.

type: "tool_call"

app_event

Application-level events: navigation, purchases, feature usage.

type: "app_event"
Core Features

Built for production

Everything you need to add persistent memory to your AI applications

Token Budget Control

Recall packs memories under a specified token budget, ensuring your LLM context window stays optimized.

Compliance Receipts

Every forget operation returns a cryptographic receipt for GDPR/CCPA audit trails.

Multi-tenant Isolation

Each project gets its own tenant with complete data isolation. Perfect for SaaS applications.

Async Enrichment

Ingest returns immediately. Workers enrich events in 1-5 seconds with facts, episodes, and embeddings.

Smart Retrieval

Task-aware recall finds the most relevant memories for your specific use case.

Thread Scoping

Scope memories to threads/conversations or access user-wide context across sessions.

Simple API

Three endpoints. That's it.

Ingest, recall, forget. Everything your AI needs to remember.

POST /v1/ingest
curl -X POST https://api.claiv.io/v1/ingest \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user_id": "user-123",
    "type": "message",
    "content": "User prefers dark mode"
  }'
# => { "event_id": "evt_abc", "deduped": false }
POST /v1/recall
curl -X POST https://api.claiv.io/v1/recall \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user_id": "user-123",
    "task": "Get user preferences",
    "token_budget": 2000
  }'
# => { "system_context": "...", ... }
POST /v1/forget
curl -X POST https://api.claiv.io/v1/forget \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user_id": "user-123"
  }'
# => { "receipt_id": "rcpt_xyz", ... }
Beta Access

Be the first to build with CLAIV

We're opening the platform to a small group of developers. Register below and we'll send you an invite when your spot is ready.