XMem

(★ 234)

Xmem is a India's First open source multi-modal, multi-agentic long‑term memory layer for AI agents.

  • .env.example
  • .gitattributes
  • .gitignore
  • Aptfile
  • benchmark.py
  • CHANGELOG.md
  • CONTRIBUTING.md
  • Dangerfile.js
  • docker-compose.local.yml
  • Dockerfile
  • LICENSE
  • Local.md
  • package.json
  • Procfile
  • pyproject.toml
  • README.hi.md
  • README.ja.md
  • README.md
  • README.zh-CN.md
  • server.py
  • setup.py
  • uv.lock

# Installation Guide

1. Get the code
git clone https://github.com/XortexAI/XMem

Downloads the entire project code from GitHub to your computer.

cd XMem

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker-compose.local.yml up -d --build

Runs the command against the services defined in the compose file.

Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
npm run dev

Starts the development/run server.

npm run setup

Type this command into your terminal and run it.

npm run start

Starts the development/run server.

npm run verify

Type this command into your terminal and run it.

npm run doctor

Type this command into your terminal and run it.

After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

4. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -e ".[local]"

Installs the Python libraries listed in requirements.txt (or similar).

python -m src.scanner.runner \

Runs the Python script (or module).

If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

5. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
cd xmem-go

This project's files live in a subfolder, so move into it first.

go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation