Give your AI agents long-term memory across sessions. Personal and team-scoped, with semantic search.
npx skills add Lyzr-Cognis/cognis-skills- Get your API key at studio.lyzr.ai
- Set the environment variable:
export LYZR_API_KEY="your-key"
- Save memories — Personal and team-scoped persistent memory
- Search memories — Semantic search across past sessions
- Auto context — Assembled context from relevant memories
- Cross-agent — Works with Claude Code, Cursor, Copilot, Gemini CLI, and 40+ more
Just talk to your AI agent naturally:
- "Remember that we use PostgreSQL for the main database" → saves a personal memory
- "What database do we use?" → searches and retrieves the memory
- "Save for the team: deploy process is merge to main then auto-deploy" → saves a team memory
Memories persist across sessions and are available in any agent that supports Agent Skills.
| Scope | Visibility | Use For |
|---|---|---|
| Personal (default) | Only you, in this project | Preferences, notes, personal context |
Team (--team) |
All repo contributors | Architecture decisions, conventions, processes |
Works with any agent that supports the Agent Skills standard, including:
- Claude Code
- Cursor
- GitHub Copilot
- Gemini CLI
- Goose
- And 40+ more
| Variable | Default | Description |
|---|---|---|
LYZR_API_KEY |
(required) | Your Cognis API key |
COGNIS_OWNER_ID |
$(whoami) |
Override user identifier |
COGNIS_API_URL |
https://memory.studio.lyzr.ai |
Override API URL |