Documentation menu
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
Prompt-ready by default: plenty of memory stores can hand you a synthesized profile now — this isn't unique to Anansi. What's useful here is that static + dynamic come back in the exact shape a system prompt wants, so there's nothing to reshape before injection. If you'd rather have the raw scored chunks, POST /v1/search gives you those instead.

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