Skip to content

Assistants

An assistant is a Backboard entity that acts as a namespace for memories. Each assistant has its own isolated memory store. When you run tribal init, TribalMind creates an assistant for your project.

TribalMind identifies projects using the git remote URL. When you run tribal init:

  1. It reads the git remote URL (e.g., github.com/yourorg/yourrepo)
  2. It creates (or finds) a Backboard assistant with that identifier
  3. The assistant ID is stored in .tribal/config.yaml

This means the same repo cloned on different machines will automatically share the same assistant and memories.

Terminal window
tribal init

Creates a .tribal/config.yaml in your project root with the assistant ID for that specific repo. Memories are scoped to this project only.

Terminal window
tribal init --global

Creates a config at ~/.config/tribalmind/tribal.yaml. Any repo that doesn’t have its own .tribal/config.yaml will use this global assistant.

Even with per-project assistants, you can search across all assistants in your Backboard account:

Terminal window
tribal recall --all "auth token handling"

This is useful when you know knowledge exists somewhere but aren’t sure which project it’s in.

List all assistants in your account:

Terminal window
tribal config assistants

Clear all memories for a specific assistant:

Terminal window
tribal config clear-memory --assistant asst_abc123

TribalMind resolves the assistant ID using this chain:

  1. Environment variable: TRIBAL_PROJECT_ASSISTANT_ID
  2. Per-project config: .tribal/config.yamlproject_assistant_id
  3. Global config: ~/.config/tribalmind/tribal.yamlproject_assistant_id

See Configuration for the full config precedence chain.