Documentation

Build faster with AiSnapBuild

Everything you need to create, deploy, and scale with agentic AI.

Memory API

Intelligent memory for AI agents

Give your agents context that persists. Temporal awareness understands when memories matter. Relationship mapping connects the dots. Built for cost efficiency at scale.

Temporal
Relational
Efficient
Explore Memory API
// Store a memory with temporal context
const memory = await aisnapbuild.memory.store({
  content: "User prefers dark mode",
  entityId: "user_123",
  relationships: [
    { type: "preference", target: "theme_dark" }
  ],
  temporalWeight: 0.9
});

// Query with time-decay
const relevant = await aisnapbuild.memory.query({
  text: "user theme preference",
  decayHalfLife: "7d",
  limit: 5
});