Skip to main content

griot

CI

Local-first RAG over your git repositories. griot indexes source code, git history (commits, tags, branches) and code-platform data (PRs/MRs, releases, issues) into an embedded vector store — no database server, no Docker — and lets you search it or ask questions about it, from the CLI or from an AI agent via MCP.

Named after the West African storyteller who keeps a community's history: griot remembers what your repositories have been through.

Highlights

  • Fully local storage — vectors live in an in-process Qdrant Edge shard under your XDG data dir. No services to run.
  • Free by default — the default embedding profile (jina-code) runs locally via ONNX. Paid profiles (OpenAI, Gemini) are opt-in.
  • Spend circuit breaker — daily ceiling + 5-minute velocity ceiling on every paid call, with atomic on-disk state. The openai and deepseek chat profiles refuse to run until you set their price (griot config set openai-chat-price <USD per 1M tokens>, or deepseek-chat-price), so the breaker always tracks real cost.
  • Five platforms — GitHub, GitLab (incl. self-hosted), Bitbucket Cloud, Azure DevOps and Gitea/Forgejo adapters for PRs/releases/issues, detected from each repo's origin remote. What has run against a real platform: Platforms.
  • MCP server — expose search/status/quality tools to Claude Code, opencode or any MCP client. Indexing via agent is off by default and path-allowlisted.
  • Security-hardened — API keys never in URLs or logs, 0600/0700 file modes on everything it writes, no credential ever follows a redirect. See SECURITY.md.

Status: v1.0.0, stable. One maintainer, used daily by its author. From 1.0 on, commands and flags, --json output, the MCP tools and the files griot writes follow semantic versioning; message wording and the vector store's internal format, which a re-index rebuilds, do not.

Installation

pipx install griot-rag    # the distribution is griot-rag; the command is griot
griot update              # later: upgrade griot to the newest release (shows the command, asks first)

Requires Python ≥ 3.11 and git. The first run of a local profile downloads its ONNX model from Hugging Face (~1.1 GB for the default jina-code) and caches it under your data directory; griot profiles list shows each profile's RAM tier against the RAM you actually have.

Installing from a checkout, what the first run downloads, and what griot update does: Getting started.

Quickstart

# 1. register the repos you want to index (asks you to confirm, in a terminal)
griot repos add ~/code/my-app

# 2. see what would be indexed (never spends anything)
griot index all --repo my-app --dry-run

# 3. index for real (default profile is local & free)
griot index all --repo my-app

# 4. search (no LLM: by meaning and exact words; --mode keyword for a hash or an error code)
griot search "where is the retry logic for the payment API?"

# 5. ask (search + LLM synthesis — requires a chat provider, see Documentation below)
griot ask "how does authentication work in this codebase?" --show-sources

When something does not work, run griot doctor: every check at once, reads only. See Getting started.

Documentation

Guide
Getting started Installing, a first index and search, griot stats, griot doctor and griot update
Configuration Embedding and chat profiles, every environment variable, where things live, griot config
Credentials griot auth, the OS keychain and .env, griot auth migrate, and credentials in indexed content
Search Search modes, filters, grouping, whether the index is behind, and griot ask
Quality The golden set, griot quality-check and griot golden-set review
MCP server Registering the server, the skills and agent for Claude Code and opencode, and running several sessions
Platforms The five platform adapters, their tokens, and what has run against a real platform
All documentation Every document: security, the roadmap, contributing, the changelog, and the maintainers' own

Development

uv sync --locked --extra dev   # the versions CI runs (or: pip install -e ".[dev]")
uv run pytest -q               # no test ever calls a real API or needs credentials

License

Apache-2.0

Metadata

Release files for griot-rag 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for griot-rag 1.0.0
File Size Uploaded Provenance Actions
griot_rag-1.0.0.tar.gz 1.1 MB With provenance Details for griot_rag-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for griot-rag 1.0.0
File Interpreter ABI Platform Actions
griot_rag-1.0.0-py3-none-any.whl Python 3 none any Details for griot_rag-1.0.0-py3-none-any.whl

Total release size: 1.5 MB

Release files / griot_rag-1.0.0.tar.gz

Download URL griot_rag-1.0.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b6b2de0fb30f495c4f59d8c9fcb1213d2a58f0dc3170cbcc59e11c054815555b
BLAKE2b-256 checksum
How to use checksums
dd4bee12426e1759f6d7e0f50ccd4fea9703a0877adb60e8beb40d60856e8af0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / griot_rag-1.0.0-py3-none-any.whl

Download URL griot_rag-1.0.0-py3-none-any.whl
Size 458.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19a221047d26fa9f00fd30ede29d1d15f68f894ac14cd68731c3e606ae0919af
BLAKE2b-256 checksum
How to use checksums
1d89b1048555dbca48ec039be0b440eb8b59e54b059c5bb47076a8839852c3b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for griot-rag 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for griot_rag-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page