Skip to main content

Quick Start

Get CogMem up and running with your first knowledge ingestion and search.

Prerequisites

  • Python 3.12+
  • Docker (for databases)

Installation

For solo mode (SurrealDB only):

Start Infrastructure

Start the required databases:

Configure Environment

Create a .env file:
.env

Initialize Schema

This creates all required tables and indices.

Start the Server

The API is now running at http://localhost:8000.

1. Create an Item

2. Start the Worker

In another terminal, start the worker to process the item:
The worker will chunk the item and index it for search.
You’ll get results with highlights and facets:

Next Steps

Configuration

Configure providers and settings

API Reference

Explore all endpoints

Search First Cookbook

Build a search application

Architecture

Understand the system design