> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minns.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Minns Memory Layer

> The graph-native database built for agentic AI workflows. Store events, form memories, extract knowledge, and learn strategies — automatically.

Minns Memory Layer is a purpose-built database for **agentic workflows**. Unlike traditional databases, it understands the *intent* (Goals) and *context* of every interaction your AI agents perform.

Every event you log is automatically woven into a knowledge graph that powers long-term memory, episode detection, claim extraction, and strategy learning.

<CardGroup cols={2}>
  <Card title="Core concepts" icon="lightbulb" href="/concepts">
    Understand Events, Episodes, Goals, Memory, and Strategies.
  </Card>

  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get up and running in under 5 minutes.
  </Card>

  <Card title="TypeScript SDK" icon="cube" href="/sdk/installation">
    Install the SDK and start logging events immediately.
  </Card>

  <Card title="API Reference" icon="square-terminal" href="/api-reference/introduction">
    Explore every endpoint with full request and response schemas.
  </Card>
</CardGroup>

## How it works

<Steps>
  <Step title="Log events">
    Send structured events — actions, observations, messages, reasoning — to the `POST /api/events` endpoint or via the SDK.
  </Step>

  <Step title="Automatic graph construction">
    Minns Memory Layer builds a knowledge graph in real time: nodes for events, goals, actions, and contexts — connected by typed edges.
  </Step>

  <Step title="Episode detection">
    Events sharing the same goal are grouped into **Episodes**. When a goal reaches `progress: 1.0`, the episode is completed.
  </Step>

  <Step title="Memory & strategy extraction">
    Completed episodes become searchable **Memories**. Successful patterns are extracted as reusable **Strategies**.
  </Step>

  <Step title="Query & recall">
    Retrieve memories by context, search claims semantically, or ask the Policy Guide "What should I do next?"
  </Step>
</Steps>

## Choose your path

<CardGroup cols={3}>
  <Card title="I want to build" icon="hammer" href="/quickstart">
    Jump straight to the quickstart guide.
  </Card>

  <Card title="I want to understand" icon="book" href="/concepts">
    Read the core concepts first.
  </Card>

  <Card title="I want to explore" icon="map" href="/api-reference/introduction">
    Browse the full API surface.
  </Card>
</CardGroup>
