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/clizsh — 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
| Command | What it does |
|---|---|
libra init | Interactive setup wizard |
libra add | Add a memory from text, messages, file, or stdin |
libra search | Query your memory store — semantic, keyword, or hybrid retrieval |
libra get | Get a specific memory by ID |
libra list | List memories with optional filters |
libra update | Update a memory's text or metadata |
libra delete | Delete a memory, all memories, or an entity |
libra status | Check connectivity and authentication |
libra import | Import memories from a JSON file |
libra entity | Manage entities |
libra event | Inspect background processing events |