Open source CLI tool

Shared memory for AI agents

Remember, recall, and share knowledge across projects and teams. Give your AI development agents persistent memory that survives beyond a single conversation.

terminal
$ tribal remember "The auth middleware was rewritten for compliance — session tokens must not be stored client-side"
Saved to project memory
$ tribal recall "why was auth middleware changed?"
Rewritten for compliance — session tokens must not be stored client-side (0.94)

How it works

Three simple commands to build your team's knowledge base.

Remember

Store knowledge in natural language. An LLM automatically parses it into structured, searchable entries.

Recall

Semantic search across your project memory. Find relevant knowledge even without exact keywords.

Share

Teams share knowledge through the same account. Every agent and developer contributes to collective memory.

Built for developer workflows

A lightweight CLI that fits naturally into how you already work.

Agent-native

Works with any AI agent that can run shell commands — no special plugins or integrations needed.

Structured memory

Free-form notes are automatically parsed into categorized, structured knowledge entries.

Semantic search

Vector-powered recall finds relevant knowledge even when you don't know the exact words used.

Cross-repo search

Search knowledge across all repos in your account with the --all flag.

Team knowledge

Multiple developers and agents contribute to the same shared knowledge base.

Dashboard UI

Browse, search, and manage memories in a visual dashboard with tribal ui.

Get started in 60 seconds

Three commands and your agents have persistent memory.

1

Install

$ pip install tribalmind

Install from PyPI. Requires Python 3.11+.

2

Initialize

$ tribal init --global

One-time setup to store your API key.

3

Set up agents

$ tribal setup-agents

Adds TribalMind instructions to your AI agents.

Then start using it in any project:

$ tribal remember "Use Redis for session caching — PostgreSQL was too slow under load"
$ tribal recall "session caching"

Works with your agents

TribalMind integrates with any agent that can run shell commands. tribal setup-agents auto-configures them all.

Claude Code CLAUDE.md
Cursor .cursorrules
Windsurf .windsurfrules
GitHub Copilot .github/copilot-instructions.md
Custom Agents AGENTS.md