samyama-graph

(โ˜… 170)

Graph-vector database that queried 1 billion edges for $2.50. Rust, OpenCypher, vector search, 14 graph algorithms. 74M nodes / 1B edges on a single machine.

  • .dockerignore
  • .env.example
  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
  • CODEOWNERS
  • CONTRIBUTING.md
  • deny.toml
  • Dockerfile
  • ldbc-benchmark-results.png
  • LICENSE
  • README.md
  • ROADMAP.md
  • SECURITY.md

# Installation Guide

1. Get the code
git clone https://github.com/samyama-ai/samyama-graph

Downloads the entire project code from GitHub to your computer.

cd samyama-graph

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • APT (Debian/Ubuntu ๊ณ„์—ด) Built into Debian/Ubuntu-based Linux distributions.
  • Python 3 Python is required to use pip.
sudo apt-get install -y build-essential cmake pkg-config libssl-dev clang libclang-dev

Installs directly from the APT package repository (Debian/Ubuntu-based).

pip install samyama[mcp]

Installs the package published on PyPI directly โ€” no need to clone the source.

โœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
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 pull public.ecr.aws/f9f6l5u4/samyama-graph:1.1.0

Type this command into your terminal and run it.

touch docker-compose.yml

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

notepad docker-compose.yml

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

docker compose up -d

Builds and starts all defined containers (server, database, etc.) at once, in the background.

docker ps

Type this command into your terminal and run it.

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

Pulled directly from this repo's README.

4. 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.
โš ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd sdk/typescript

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

npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

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

5. 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.
cargo build --release && pip install rich requests

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

pip install samyama[mcp]

Installs the package published on PyPI directly โ€” no need to clone the source.

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

Pulled directly from this repo's README.

6. Rust

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
cargo build --release

Compiles the Rust project.

cargo build --release && pip install rich requests

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

โœ… If cargo build finishes without errors, it worked. The executable is created under target/.

Pulled directly from this repo's README.

// repository documentation