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: v0.9.0, beta. One maintainer, used daily by its author. The CLI surface and the on-disk layout may still change between 0.x releases.

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 0.9.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 0.9.0
File Size Uploaded Provenance Actions
griot_rag-0.9.0.tar.gz 1.0 MB With provenance Details for griot_rag-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / griot_rag-0.9.0.tar.gz

Download URL griot_rag-0.9.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
64558970ac04bbe87286d282aa5d95d51886477ed9561bf84db358401b5ac538
BLAKE2b-256 checksum
How to use checksums
0111fb5cd73fb019898e44e3b6cf364b4612c65744e9240fc2803941f6428f2c
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-0.9.0-py3-none-any.whl

Download URL griot_rag-0.9.0-py3-none-any.whl
Size 447.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
670e8198d14bddceeca83558d18f81270fbb27919fb87fe89431ce1839c32d24
BLAKE2b-256 checksum
How to use checksums
f0d1ee0a8dcaace4e2aee451e52bfa90d53f567de81c30ddce63e51a9b2d413c
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 0.9.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-0.9.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