CLI

Agent memory, from your terminal

Add, search, and manage memories directly from the terminal. Python or Node. Same CLI, same behavior.

npm install -g @libra/cli
zsh — libra
$ libra init
✓ API key saved
✓ Default user: alice

$ libra add "Prefers dark mode and vim keybindings" --user-id alice
✓ Memory added (id: 7b3c1a2e)

$ libra search "What does Alice prefer?" --user-id alice
0.5ms  Prefers dark mode and vim keybindings
Built for agents

Designed to be driven by code

Full command tree

Lists every command, flag, and description. Agents learn the interface on their own.

Multiple output modes

Output in the format your code expects. Text or JSON.

Scoped to any entity

Scope memory to any user, session, or agent. No namespace collisions.

Quick Reference

CommandWhat it does
libra initInteractive setup wizard
libra addAdd a memory from text, messages, file, or stdin
libra searchQuery your memory store — semantic, keyword, or hybrid retrieval
libra getGet a specific memory by ID
libra listList memories with optional filters
libra updateUpdate a memory's text or metadata
libra deleteDelete a memory, all memories, or an entity
libra statusCheck connectivity and authentication
libra importImport memories from a JSON file
libra entityManage entities
libra eventInspect background processing events