ContextForger API

Memory and context for your AI.

A GraphQL API that gives your AI services long-term memory. Store text and documents per user, search with hybrid search, and ground every answer in the right material — on infrastructure in Sweden.

GraphQL endpoint
1
memory tiers
3
to get started
$0

Exchange your API key for a token and search the context.

quickstart.sh
# 1. Exchange your API key for a token
curl -X POST https://api.contextforger.com/auth/token \
  -d '{"apiKey": "ctx_…"}'

# 2. Hybrid search in a participant's context
query {
  hybridSearchContext(
    participantId: "customer-42"
    query: "Which terms apply to ROT?"
    limit: 5
  ) { content score }
}

01Features

Everything an AI memory needs.

01

Context memory

Store text, documents and structured data per participant. Memory is tiered — working, daily and long-term — with automatic expiry.

02

Hybrid search

Semantic search, keywords and recency in one call, with tunable weights and a diversity filter so answers don't repeat themselves.

03

Conversations

Run AI conversations where every answer builds on the participant's context, in the language the user writes in.

04

Document review

Review contracts, quotes and reports against your own guidelines and get structured, traceable assessments.

05

Information requests

When material is missing, the API automatically asks for the information it needs instead of guessing.

06

Full transparency

Every token counted and every model visible in the portal. You always know what's running and what it costs.

02Use cases

Built for real services.

Support with memory

An assistant that remembers earlier cases and answers from the customer's history.

Document review

Check contracts and documents against your routines before they go out.

Internal assistants

Let staff ask questions of manuals, routines and past projects.

AI agents

Give autonomous agents long-term memory with provenance and validity for every memory.

03Get started

Three steps to the first answer.

  1. 01

    Create an API key

    Register in the portal and create a key in seconds.

  2. 02

    Add context

    Send text and documents tied to a participant — a user, customer or agent.

  3. 03

    Search and answer

    Call hybrid search, conversations or document review — grounded in your data.

04Pricing

Start free, grow when you need to.

Prices in USD per month excl. VAT. Annual billing gives two months free.

Free

$0

  • 1 requests/min
  • 1 API key
  • 20,000 tokens/week
Get started
Most popular

Pro

$39/mo

  • 200 requests/min
  • 10 API keys
  • 2,000,000 tokens/week
Get started

Enterprise

$149/mo

  • 2,000 requests/min
  • Unlimited API keys
  • 25,000,000 tokens/week
Get started

Unlimited

Contact us

  • Unlimited requests
  • Unlimited API keys
  • Unlimited tokens
Contact us

Hosted in Sweden

The API and database run on our own infrastructure in Sweden. Your data is never used to train models.

Ready to build with memory?

Create a free account and make your first call in minutes.