SimpleMem

(★ 3,708)

SimpleMem: Efficient Lifelong Memory for LLM Agents — Text & Multimodal

File Explorer

  • .dockerignore
  • .env.example
  • .gitignore
  • config.py.example
  • docker-compose.yml
  • Dockerfile
  • LICENSE
  • main.py
  • README.md
  • requirements-gpu.txt
  • requirements.txt
  • setup.py
  • SimpleMem.skill
  • simplemem_router.py
  • test_locomo10.py

# Installation Guide

python
Prerequisites

Setup Steps

cp .env.example .env

Copy and create the environment configuration file.

pip install -e .

Install the SimpleMem package in editable mode.

docker-compose up -d

Run required backend services in the background via Docker.

Key Commands

pip install -e .

Install the package to make SimpleMem library available locally.

docker-compose up -d

Start container-based services in the background.

Configure your API keys in the .env file before running.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Release Timeline

Actively Maintained

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

Bob

View Details ▼

Manage and switch between Neovim versions.

bob use {{nightly|stable|latest|version_string|commit_hash}}

Install and switch to the specified version of Neovim:

bob list

List installed and currently used versions of Neovim:

bob uninstall {{nightly|stable|latest|version_string|commit_hash}}

Uninstall the specified version of Neovim:

🔍

docker compose down

View Details ▼

Stop and remove containers, networks, images, and volumes created by `docker compose up`.

docker compose down

Stop and remove all containers and networks:

docker compose down --rmi all

Stop and remove containers, networks, and all images used by services:

docker compose down --rmi local

Stop and remove containers, networks, and only images without a custom tag:

🔍

docker compose logs

View Details ▼

View output from containers in a Docker Compose application.

docker compose logs

View logs for all services:

docker compose logs {{service_name}}

View logs for a specific service:

docker compose logs {{[-f|--follow]}}

View logs and follow new output (like `tail --follow`):

🔍

docker compose up

View Details ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker compose

View Details ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

// repository documentation