Skip to content

Installation

Run memlayer as a self-contained local process with file-backed storage at ~/.memlayer/.

Terminal window
git clone https://github.com/alenkis/memlayer.git
cd memlayer
cp .env.example .env
# Edit .env and fill in OPENAI_API_KEY and GROQ_API_KEY
Terminal window
bb local-server
Terminal window
curl http://localhost:8090/health

You should get a 200 OK response with version info.

If you have GraalVM 25+ installed, you can build a native binary that starts in milliseconds and needs no JVM:

Terminal window
bb local-native-image
./target/memlayer-local

If you want to contribute to memlayer or need the full development server with auth and cloud integrations:

Terminal window
bb server # starts on port 8080

See the README for details on the development setup.