agent.ts
import { AirJSON } from "airjson";
const db = new AirJSON({ apiKey: process.env.AIRJSON_KEY });
// Your AI agent stores data instantly
await db.insert("agent-memory", "conversations", {
user: "alice",
topic: "project planning",
summary: "Discussed Q2 roadmap priorities",
sentiment: "positive"
});
// Query it back later
const history = await db.list("agent-memory", "conversations", {
limit: 10
});Everything your agents need
Zero Config
No schema definitions, no migrations, no setup. Just start storing JSON.
Instant APIs
REST API and JavaScript SDK ready to go. Insert, query, and manage documents in milliseconds.
Scoped API Keys
Fine-grained access control with account, project, and store-level API keys.
Built for AI
Designed for AI agent workflows. Give your agents persistent memory with one line of code.