Purpose
Tribal is aimed at engineering teams, used to capture and query the tacit knowledge that usually does not get written into code or tickets. It focuses on: the reasoning behind a key decision, a heuristic someone uses repeatedly, the breakthrough point for solving a tricky bug. It does not try to remember everything, but rather retains the parts that remain useful after the work is done.
Main Capabilities
- Runs as a Model Context Protocol (MCP) server, and can be called by compatible agent harnesses just like other MCP tools.
- Ingests text on demand and exposes a graph composed of entries, with entries connected by relationships such as "support," "contradict," and "refine."
- Supports ingesting knowledge, querying knowledge, traversing the graph, and evaluating retrieval quality.
- Provides
tribal bootstrapas the canonical first-run command, used to initialize the database, apply model and graph settings, optionally register a worktree, and ensure namespaced default credentials are generated. - Provides
tribal checkdiagnostic suite, which checks configuration, database reachability, migration status, project resolution, token validity, advertised URL reachability, and binary uniqueness on PATH; plus--providerscan extend probing of embedding and inference providers. - Supports generating standard MCP configuration via
tribal integration mcp-configfor compatible agent harnesses to connect. - Provides skills (skills):
installing-tribalandusing-tribal, used to guide installation, verification, wiring, and troubleshooting, as well as to teach agents when and how to call each tool.
Usage
Installation paths are optional: Homebrew (macOS), Shell installer (macOS or Linux), Docker Compose (comes with Postgres). The Docker Compose file pins the image to a specific release version and should be obtained from the release tag rather than reusing an old checkout; the stack comes with Postgres and bootstraps on first startup. To point to a cloud provider instead of local Ollama at some stage, configure docker compose up before the first .env.
For the Homebrew and Shell installer paths, bootstrap must be run inside a git repository. This runs setup, registers the repository as a project, generates a bearer token, and prints the MCP configuration snippet required by the agent harness.
Prerequisites: Postgres 14 or later with the pgvector extension installed; a provider for embedding and inference, which can be a local Ollama installation (with the required models), or a supported cloud provider API key set in the environment.tribal bootstrap itself does not call the provider, but it does validate the configuration, so when running it, the configured cloud provider API key must already be in the environment. Provider reachability during ingestion is verified separately by tribal check --providers .
tribal bootstrap can safely be run repeatedly against the same persistent state. Common flags include:--project-path DIRECTORY to include project registration in the bootstrap combination;--transport stdio|http|sse to choose the connection shape for integration receipts;--auth oauth|persisted-bearer to choose the network authentication method (exporting bearer is explicit and does not apply to stdio);--json to output structured JSON records.
Daily use is through the agent harness. Once the MCP server is wired up, the harness can ingest knowledge, query, traverse the graph, and evaluate retrieval quality.using-tribal The skill teaches the framework when and how to call each tool, and how to phrase ingested content so that it persists in the graph long after the work is done.
When to use
- Engineering teams want to preserve and query tacit knowledge beyond code and tickets.
- Teams use an MCP-compatible agent framework and want agents to access the team's historical decisions and reasoning.
- A self-hosted semantic memory solution based on Postgres + pgvector is needed.
Limitations and caveats
- Requires Postgres 14+ and the pgvector extension.
- Requires an embedding and inference provider (local Ollama or a supported cloud provider API key).
- Cloud provider API keys must be exported in the shell before starting the agent framework, otherwise the framework and the Tribal binary it generates will not inherit them; keys exported in a terminal where the framework is already running will only be picked up after a restart.
- Common operational issues include: port already in use, incorrect credential state, corrupted Docker volumes, stale project context, missing provider environment variables. Logs are written to standard error; commands that support structured output can use
--json. - When
tribal checkreportsok: truebut the problem is still visible, it is usually a network-layer issue (such as a VPN or firewall between the binary and the database), not Tribal itself. - Uninstallation must be done manually: remove the binary, delete the namespace credential directory under
$XDG_CONFIG_HOME/tribal/credentials/, delete the Postgres database used by Tribal, and usenpx skills remove installing-tribal using-tribalto remove the skill.
Not yet provided
Information about billing, pricing, platform support scope, specific performance metrics, etc. is not yet provided in the materials.