Anansi Documentation

Persistent, synthesized memory for any LLM application. Two API calls. Works with any model.

What is Anansi?

Anansi is a memory layer for AI applications. You send content to it — conversations, documents, notes, meeting transcripts — and it returns synthesized, curated context ready to inject into your LLM system prompt.

Unlike raw vector databases, Anansi runs a two-layer synthesis pass on every user's data:

  • Static facts — stable knowledge about a user (up to 30). Preferences, background, recurring interests.
  • Dynamic context — current state (up to 15). What they're working on now, recent friction, active projects.
  • Relevant chunks — top vector search results for a specific query.

This is what you inject before an LLM call — not a wall of raw chunks, but a curated profile that fits cleanly in a system prompt.

Tip
The synthesis advantage: Supermemory, Mem0, and Zep return raw vector chunks. Anansi returns curated facts + context — the format your system prompt actually needs.

Quick navigation

How it works

1

Create an API key

Sign up at /portal/login and generate a key. Keys start with ans_.

2

Ingest content

POST /v1/ingest with a userId and content string. Chunking, embedding, and synthesis queue automatically.

3

Synthesis runs in the background

Anansi distills accumulated content into static facts and dynamic context for each user.

4

Retrieve before your LLM call

GET /v1/context?userId=X&q=topic returns the synthesized profile. Inject into your system prompt.

Base URL

text
https://anansimemory.com