Skip to main content

Civyk Repo Index

Python 3.10+ License: Proprietary MCP Compatible PyPI Sigstore SLSA 3

Semantic code intelligence for AI coding agents — Give your AI assistant deep understanding of your codebase through the Model Context Protocol (MCP).

If you find this useful, please consider supporting the project!

Civyk Repo Index — Semantic Code Intelligence, Local & Private

Watch the Demo

Watch: What is Civyk Repo Index, why use it, and how to set it up


Local-First, Private, Secure

Your code never leaves your machine. Civyk Repo Index is a fully local MCP server:

  • 100% offline — No cloud services, no API calls, no telemetry
  • Your data stays yours — All indexes and caches stored locally in SQLite
  • Works air-gapped — Perfect for proprietary codebases and enterprise environments
  • Free binaries — Compiled binaries available via PyPI at no cost

Why Civyk Repo Index?

AI coding assistants have limited context windows. They can't read entire codebases. Civyk Repo Index provides token-budgeted semantic code intelligence:

  • Symbol-aware search — Find functions, classes, and types instantly
  • Smart context packs — Auto-select relevant code within token budgets
  • Relationship tracking — Understand calls, imports, and inheritance
  • Real-time indexing — Always up-to-date with your code changes
  • Multi-language — Python, TypeScript, JavaScript, Java, Go, C#, Rust, Ruby, PHP
  • Branch-aware — Separate indexes per git branch
  • AI Context Cache — Persist code understanding across sessions, save 80-90% tokens
  • Semantic Search — Vector embedding-based search across understanding cache
  • Tiered Tool Profiles — Core/extended/specialist tiers for right-sized tool surface

Quick Start

Installation

All extras are optional — the base install is fully functional on its own. Pick the combination for the capabilities you want:

# 1) Base — indexing, symbol/semantic search, AI cache, MCP tools.
#    Semantic search uses a lightweight lexical fallback (TF-IDF); no LLM features.
pip install civyk-repoix

# 2) With embeddings — local vector semantic search (sentence-transformers, offline, free)
pip install "civyk-repoix[embeddings]"

# 3) With LLM — deep-wiki generation & Q&A via an OpenAI-compatible API (OpenAI, Minimax, …).
#    (GitHub Copilot needs no extra — it uses your editor's Copilot sign-in, no SDK.)
pip install "civyk-repoix[llm]"

# 4) With both (recommended for deep-wiki) — semantic retrieval + LLM generation
pip install "civyk-repoix[embeddings,llm]"   # or the shorthand: civyk-repoix[all]
Install Adds Enables
civyk-repoix — Indexing, symbol search, TF-IDF semantic search, AI cache, all MCP tools
civyk-repoix[embeddings] sentence-transformers, numpy Local vector semantic search + wiki RAG retrieval
civyk-repoix[llm] openai Deep-wiki generation + ask via OpenAI-compatible APIs
civyk-repoix[all] both of the above Full feature set — best deep-wiki quality (RAG + LLM)

Deep-wiki is opt-in. After installing [llm] (or configuring GitHub Copilot), enable it with wiki.enabled: true and a generation provider. See Deep Wiki.

Setup for Your AI Agent

cd /path/to/your/project

# Interactive init (recommended)
civyk-repoix init

# Or configure specific agent
civyk-repoix init --ai claude        # Claude Code
civyk-repoix init --ai cursor-agent  # Cursor
civyk-repoix init --ai windsurf      # Windsurf
civyk-repoix init --ai copilot       # GitHub Copilot
civyk-repoix init --ai opencode      # OpenCode
civyk-repoix init --ai kilocode      # Kilo Code
civyk-repoix init --ai antigravity   # Antigravity

# Configure all supported agents at once
civyk-repoix init --all

Verify

civyk-repoix query status --action check

MCP Tools

15 consolidated tools for code intelligence. Each tool supports multiple actions via an action parameter.

Tier Tool Actions Purpose
Core status check, reindex, perf_stats Index health, re-indexing, performance stats
Core search symbols, code, definition Find symbols, text patterns, and definitions
Core symbol detail, references, callers, hierarchy, similar Symbol details, usage sites, call graphs, type hierarchy, similar symbols
Core file symbols, imports, related Per-file symbol listing, import analysis, related files
Core files — List/filter repository files
Core git changes, hotspots, diff Recent changes, churn hotspots, branch diffs
Core understand store, recall, stats, invalidate AI context cache — persist and recall understanding
Core explore — Multi-strategy deep-dive in one call
Core remember — Cross-session key-value memory
Extended architecture components, dependencies, endpoints Module graph, dependency analysis, API endpoints
Extended quality dead_code, duplicates, circular_deps, impact Code health and impact analysis
Extended context task, delta, docs, trace Token-budgeted context packs
Extended tests recommended, for_file, code_for_test Test discovery and mapping
Extended wiki ask, generate, status, list, read, export, lint Deep-wiki generation + grounded Q&A over the codebase
Specialist conversation list, history, search, context, log, finalize Conversation history across sessions

Tip: Use understand(action="recall") before reading files — cached analysis saves 80-90% of tokens.


AI Context Cache — Your AI Remembers

The killer feature: Your AI assistant remembers what it learned about your code.

Traditional AI coding assistants forget everything when you start a new chat or session. With Civyk Repo Index's AI Context Cache, understanding persists:

Monday:    AI reads auth.py → analyzes → stores understanding
Tuesday:   New chat → AI recalls cached understanding → no file read needed!
Wednesday: You modify auth.py → cache auto-invalidates → AI re-analyzes

Why This Matters

Without Cache With Cache
AI re-reads files every session AI recalls previous analysis instantly
Wastes tokens on repeated reads 80-90% token savings
Slow context building Sub-millisecond recall
Understanding lost on chat restart Persists across sessions and chats

How It Works

  1. First encounter: AI reads a file, analyzes it, calls understand(action="store")
  2. Future sessions: AI calls understand(action="recall") first — gets cached analysis
  3. File changes: Cache auto-invalidates via content hash — AI re-analyzes
  4. Per-repository: Each repo has its own persistent cache

Cache Tools

Tool Purpose
understand(action="recall") Call FIRST before reading any file — retrieves cached analysis
understand(action="store") Persist AI's analyzed understanding after reading files
understand(action="stats") Session start: List cached targets, filter by path/scope, sort, check freshness
understand(action="invalidate") Manually clear cached entries when needed

understand(action="store") supports structured fields (purpose, key_points, gotchas) plus a free-form analysis field for complex business logic, state machines, and workflows.

Pro tip: The AI Context Cache is stored locally in SQLite alongside your code index. Your analysis never leaves your machine.


Deep Wiki — Auto-Generated Docs Your Agent Can Query

A Devin DeepWiki–style knowledge base for your repo, generated by any OpenAI-compatible model (OpenAI, Minimax, OpenRouter, local servers, …) and queryable over MCP/CLI.

The wiki tool builds a structured, navigable wiki grounded in your actual code via semantic retrieval (RAG). Each page type has its own aspect-specific sections (overview, architecture, getting-started, data models, API/endpoints, and module pages), plus detector-gated pages that appear only when your repo has them: Configuration, Dependencies, Errors & Exceptions, Key Flows, and Examples. Overview and architecture are synthesized bottom-up from per-module digests for consistency. Each page carries [path:Lstart-Lend] citations to real files, relevance-gated inline Mermaid diagrams, a human README.md landing page (navigation + per-page table) with a 0–100 quality score, and a machine-readable manifest.json. The module page set is planned dynamically by the LLM from the real source tree, while code guarantees ~100% source coverage and prunes pages that leave the plan.

Inline diagrams (embedded in each page, only when they add meaning — trivial single-node or edgeless graphs and short sequence diagrams are dropped):

  • Deterministic, from the symbol/edge graph (no hallucination): component dependencies, a whole-system data-flow with upstream/downstream external systems (CLI, MCP client, LLM API, embeddings, SQLite, git, filesystem), per-module data-flow (providers → module → consumers), and class diagrams.
  • LLM-proposed, then validated against the indexed symbols: sequence diagrams for key flows on the architecture and high-importance module pages.

Output is written under your repo at memory/deep-wiki/<branch>/ (pages/*.md, README.md, manifest.json, plus business-context.json and digests.json caches), branch-aware, primary branch main/master (configurable). A grounded business-context pre-pass (product purpose, domain entities, glossary) sharpens the overview/getting-started pages, and a compact glossary anchor is fed to every page so terminology stays consistent. The page-synthesis prompt keeps an identical system prefix across all pages so providers can serve it from their prompt-prefix cache.

  • Ask the wiki: wiki(action="ask", query="how does auth work", mode="answer") — rag (sections + citations, no LLM cost), answer (LLM-synthesized), or deep (multi-step research).
  • Compounding research notes: wiki(action="ask", mode="deep", save=true) files the answer as a durable Research Notes page (chunked + embedded), so future asks retrieve it instead of re-deriving the research. Notes survive rebuilds and surface as stale when their cited files change.
  • Owner steering: an optional memory/deep-wiki/steering.yaml lets the repo owner add context notes, pin custom pages (pages: with path prefixes), emphasize topics per page or globally (emphasis:), and hide paths from the wiki (exclude_paths:). Steering changes automatically mark affected pages stale.
  • Wiki lint: wiki(action="lint") runs cross-page health checks — broken/dead links, orphan pages, dead citations, stale pages/notes, dead/unverifiable notes, coverage gaps, deliberately excluded paths, duplicate titles — plus an optional LLM contradiction/duplication pass (wiki.lint_llm). The free structural tier also runs after every changed build and lands in the manifest.
  • Append-only audit log: every build, filed note, and lint pass appends one grep-able line to memory/deep-wiki/<branch>/log.md — the wiki's chronological history.
  • Architecture-aware planning: the LLM planner sees the subsystem dependency graph and entry points (grouping by wiring, not folder shape); page importance and grounding depth are ranked by PageRank over the file dependency graph; oversized modules (wiki.max_files_per_page) decompose into child pages with a digest-grounded parent overview.
  • Intelligent (re)generation: triggered by a changed-file threshold and/or a schedule — never on every save. Opt-in — deep-wiki is off by default; set wiki.enabled: true and configure a generation provider to turn it on. Incremental: only pages whose sources changed are rebuilt.
  • Graceful degradation: with no LLM configured it still produces structural pages + deterministic diagrams, and ask returns retrieval-only results.

For the best wiki + ask quality, install the embeddings extra (semantic retrieval) alongside the llm extra and point generation at a capable chat model:

# 1. Install with semantic embeddings (sentence-transformers) + the OpenAI SDK
pip install "civyk-repoix[embeddings,llm]"

# 2. Provide the LLM key via env ONLY (never commit it)
export CIVYK_LLM_API_KEY=...

# 3. Initialize the repo (creates memory/codebase-index/config.yaml) and index it
civyk-repoix init
civyk-repoix status --action reindex          # builds the semantic index

# 4. In memory/codebase-index/config.yaml set:
#      daemon.embedding_backend: auto          # -> local sentence-transformers when installed
#      generation.enabled: true
#      generation.model: MiniMax-M3            # default; any OpenAI-compatible model
#      wiki.enabled: true
civyk-repoix query wiki --action generate
civyk-repoix query wiki --action ask --query "how does indexing work" --mode answer

Why the embeddings extra matters: without it the embedding backend falls back to tf-idf (keyword-only), which weakens ask retrieval. With sentence-transformers installed, embedding_backend: auto uses a local semantic model (all-MiniLM-L6-v2, offline, free) so ask retrieves by meaning. ask answers are grounded in both the wiki prose and real code symbols/snippets pulled from the index (wiki.code_context_token_budget), with every citation validated against the index.

Already wired to DeepWiki's MCP? read_wiki_structure, read_wiki_contents, and ask_question are exposed as drop-in aliases.

Choosing a model

Deep-wiki generation is grounded synthesis + Q&A — a capable instruction-following model with good code comprehension and a large context window is the sweet spot. GitHub Copilot with claude-opus-4.8 is the default (see below, no API key); the table below lists OpenAI-compatible alternatives if you'd rather use an API key. Reasoning models (e.g. MiniMax-M2.x/M3) emit a <think>…</think> block that the client strips automatically, so output stays clean; generation.max_output_tokens defaults to 16000 to leave headroom for the reasoning pass. Set provider/base_url/model in config.yaml (or via the CIVYK_LLM_* env vars); the API key always comes from CIVYK_LLM_API_KEY.

Provider Recommended (balanced) base_url Cheaper ↓ / Stronger ↑
MiniMax MiniMax-M3 https://api.minimax.io/v1 ↑ MiniMax-M2 (reasoning)
Z.AI (GLM) glm-4.6 https://api.z.ai/api/paas/v4 ↓ glm-4.5-air
OpenAI gpt-5-mini https://api.openai.com/v1 ↓ gpt-4.1-mini / ↑ gpt-5
Anthropic claude-sonnet-4-6 https://api.anthropic.com/v1 ↓ claude-haiku-4-5 / ↑ claude-opus-4-8
# Switch provider by overriding three values (key always via env):
export CIVYK_LLM_BASE_URL=https://api.z.ai/api/paas/v4
export CIVYK_LLM_MODEL=glm-4.6
export CIVYK_LLM_API_KEY=...

Note (Anthropic): the wiki client sends temperature. claude-sonnet-4-6 accepts it; the Opus 4.7/4.8 and Fable reasoning models reject sampling params over the API — prefer Sonnet for the OpenAI-compatible path. Provider model names/pricing change often — verify on the provider's docs.

Use your GitHub Copilot subscription (the default)

GitHub Copilot is the default LLM provider (generation.provider: copilot, generation.model: claude-opus-4.8), so it drives the entire deep-wiki pipeline (generation and ask) with no paid API key. The built-in adapter performs the GitHub→Copilot token exchange + refresh and sends the editor headers in-process (no separate proxy to run):

# 1. Authorize once — SKIP this if you're already signed in to Copilot in VS Code / Neovim
#    (the adapter reuses the editor's token from ~/.config/github-copilot automatically).
civyk-repoix copilot login

# 2. See which models your plan exposes (claude-*, gemini-*, gpt-5.*, …)
civyk-repoix copilot models

# 3. Generation already defaults to provider=copilot, model=claude-opus-4.8 — best deep-wiki
#    quality in our tests. Prefer speed? Pick the fast model in memory/codebase-index/config.yaml:
#      generation.model: claude-haiku-4.5    # ~6× faster, slightly shallower
#   (any id from `copilot models`; premium models like Opus require them enabled on your plan)

civyk-repoix copilot status              # verify the credential + configured model

Heads-up — the default claude-opus-4.8 is a premium Copilot model. It needs an entitled plan with available premium-request quota; if your plan lacks it (or the quota is exhausted), Copilot returns model_not_supported and the wiki degrades to structural (LLM-free) pages. For an always-available, fast alternative set generation.model: claude-haiku-4.5 (≈6× faster builds, no premium quota, zero stubs in our tests) — or any non-premium id from civyk-repoix copilot models.

The GitHub credential is resolved (in priority) from CIVYK_COPILOT_GITHUB_TOKEN → a cached copilot login → the editor's ~/.config/github-copilot/{apps,hosts}.json; it is never written to config.yaml, and the short-lived Copilot token is refreshed automatically so long builds keep working. (A self-hosted external Copilot proxy also still works the normal way: provider=openai + base_url=<proxy>.)

Output length / streaming. Responses are streamed by default (generation.stream: true, all providers). This matters for Copilot: its non-streaming responses are capped at 16k output tokens per model (max_non_streaming_output_tokens) and a request that hits that cap comes back empty — streaming lifts the ceiling to the model's full output limit (e.g. 64k for Claude Sonnet 4.6), so large pages generate completely. Tune generation.max_output_tokens to how long pages should run and keep generation.timeout_s comfortably above the time to generate that many tokens (it bounds total wall-clock per streamed call). Copilot also throttles concurrent requests per token, so a low generation.max_concurrency / wiki.concurrency (≈2) builds most reliably. Set generation.stream: false only for an endpoint that doesn't support SSE.


Conversation History — Context Across Sessions

Your AI assistant remembers conversation context across sessions and compactions.

When Claude Code or other AI agents hit context limits, they compact conversations — losing valuable context. With Civyk Repo Index's Conversation History, your discussions persist:

Session 1:  AI discusses auth refactor → conversation logged
[Compaction happens]
Session 2:  AI calls conversation(action="context") → restores key decisions and goals

Conversation Tools

Tool Purpose
conversation(action="list") Find recent sessions to restore context
conversation(action="history") Retrieve turns from a specific session
conversation(action="context") Build token-budgeted context from session history
conversation(action="search") Full-text search across all past conversations

Hook Integration: Conversation logging integrates with Claude Code hooks to automatically capture prompts and tool usage.


AI Cache Hooks — Session Continuity & Cache Hints

Civyk Repo Index installs a small set of Claude Code hooks. Everything they surface is delivered through Claude Code's additionalContext channel, so it actually reaches the model — a hook's systemMessage goes to the user terminal only and is never sent to the model:

flowchart TD
    A["SessionStart (startup / resume / compact)"] -->|additionalContext| B["Injects compact usage brief + AI-cache status + restored conversation context"]
    R["PreToolUse: Read a cached file"] -->|additionalContext| RH["Recall hint: understand(recall) before re-reading"]
    S["PreToolUse: Grep/Glob for a symbol"] -->|additionalContext| SH["Semantic nudge: search(symbols) / callers / explore (max 1 per 10 min)"]
    W["PostToolUse: Edit/Write a cached file"] -->|additionalContext| WH["Refresh hint: understand(store) — cache now stale"]
    C["UserPromptSubmit / PostToolUse"] --> D["Log prompt & tool usage to conversation history"]
    G["Stop"] --> H["Finalizes the session record"]

The per-file hints are deliberately rare. They fire only for a model-authored cached understanding (one you previously stored with understand(store)): check-cache on Read, refresh-cache when you Edit/Write a file whose stored understanding your edit may have outdated. The indexer auto-populates a thin structural understanding for every indexed file; those auto stubs are treated as a miss, so the hints don't fire on ordinary reads/edits. Each is one concise line via additionalContext, and advisory — the model receives it but is free to act or ignore it (it does not block the tool; for a hard guarantee you'd need a blocking PreToolUse deny). Earlier builds emitted these as systemMessage — invisible to the model yet noisy on every read; that is fixed, and the always-on remind-store/persist-learnings/save-compact nudges were dropped.

Supported Agents

Agent MCP Hooks Config Location
Claude Code Yes Yes .claude/settings.json
Cursor Yes Yes .cursor/hooks.json
Windsurf Yes Yes .windsurf/hooks.json
GitHub Copilot Yes Yes .github/hooks/

Setup

Hooks are configured automatically during setup:

civyk-repoix init              # Configures MCP + hooks + project skill + permission allow
civyk-repoix init --no-hooks   # Skip hook configuration
civyk-repoix init --no-skill   # Skip the project-scope agent skill

Conversation continuity: SessionStart hooks reinject prior context after resume/compaction so long sessions keep the thread, and the logging hooks build a searchable history (see the conversation tool).

Making Agents Actually Use the Index — the repoix Skill

Static instructions decay over long sessions, so agents drift back to grep and re-discover the same code every session. Three layers counter that:

  1. The repoix skill — a decision-time playbook (when to use the semantic tools vs grep, scenario recipes, CLI fallback, freshness rules) that the agent loads when a discovery-shaped task appears. Embedded in the executable; install once for all your projects:

    civyk-repoix skill install                   # user scope (~/.claude/skills)
    civyk-repoix skill install --scope project   # this project only (also done by init)
    civyk-repoix skill status                    # installed versions per scope
    

    Installs are version-stamped — re-running after an upgrade refreshes the skill.

  2. The suggest-repoix nudge (Claude, PreToolUse Grep|Glob) — when a search pattern looks like symbol discovery, one additionalContext line points at search(action="symbols") / symbol(action="callers") / explore. Rate-limited to once per 10 minutes; never fires for literal/regex searches (grep is right there).

  3. Zero permission friction — setup pre-allows the mcp__civyk-repoix server in the project settings, so a semantic call never costs a prompt that a plain grep doesn't.


Language Support

Tier Languages
Full Python, TypeScript, JavaScript
Standard Java, Go, C#, Rust, Ruby, PHP
SQL T-SQL, PL/SQL, Standard SQL
Docs Markdown

Architecture

Daemon-based architecture for multi-repository support with dual interface — MCP protocol for AI agents or CLI for direct use.

graph LR
    IDE[IDE] --> Shim[stdio Shim] --> Daemon[Daemon Manager] --> Workers[Repository Workers] --> DB[(SQLite)]

Key Components:

  • Daemon Manager — Coordinates worker lifecycle
  • Repository Worker — One per repo, handles indexing and queries
  • Indexer — Tree-sitter parsing, symbol extraction
  • Context Builder — Token-budgeted context generation
  • Embedding Engine — Vector embeddings with 3-backend fallback (sentence-transformers, API, TF-IDF)
  • Conversation Manager — Session tracking and history persistence
  • Tool Health Tracker — Auto-disables failing tools, re-enables after cooldown

Dual Interface

Mode Usage Interface
MCP AI agents (Claude, Cursor, etc.) JSON-RPC over stdio
CLI Direct terminal use, scripts civyk-repoix query <tool>

Both interfaces use the same underlying daemon and tool implementations — identical functionality, different access methods.


CLI Mode

Use tools directly without MCP protocol:

civyk-repoix query search --action symbols --query "%User%" --kind class
civyk-repoix query context --action task --task "implement auth" --token-budget 1000
civyk-repoix query conversation --action list --days 7  # View recent sessions
civyk-repoix query --schema  # Get JSON schema of all tools
civyk-repoix skill install   # Install the agent skill (see AI Cache Hooks section)

Tool Name Mapping: MCP uses snake_case (e.g., search), CLI uses kebab-case (e.g., search). Actions are passed via --action.


Configuration

Location (per-repo, auto-created on first daemon run, takes precedence): <repo>/memory/codebase-index/config.yaml. Falls back to the global default ~/.config/civyk-repoix/config.yaml. Edit the per-repo file to set generation/wiki. (Note: memory/config.json is a separate file for hooks/conversation settings only — wiki settings do not go there.)

index:
  max_file_size_mb: 10
  debounce_ms: 500

daemon:
  max_workers: 10
  idle_worker_timeout_s: 3600
  embedding_backend: auto  # auto, local, api, tfidf, openai

context:
  default_token_budget: 800
  max_token_budget: 4000

# Deep-wiki generation LLM. Defaults to GitHub Copilot (no API key — uses your
# editor's Copilot sign-in). For an OpenAI-compatible API instead, set provider +
# base_url and put the key in the CIVYK_LLM_API_KEY env var only — never in this file.
generation:
  enabled: false
  provider: copilot                     # GitHub Copilot adapter (or "openai"/"minimax" for an API)
  base_url: https://api.minimax.io/v1   # OpenAI-compatible endpoint (ignored when provider=copilot)
  model: claude-opus-4.8                # PREMIUM Copilot model; claude-haiku-4.5 = always-available + fast
  embedding_model: ""   # optional; enables the "openai" embedding backend

wiki:
  enabled: false              # opt-in: set true AND configure `generation` above to build the wiki
  branches: []                # empty => default branch (main/master) only
  default_branch_only: true   # lock ALL wiki gen to the default branch; ignores `branches` when on
  view: comprehensive         # comprehensive (8-12 pages) or concise (4-6)
  file_change_threshold: 25    # regenerate after N changed source files
  schedule_interval_s: 0       # 0 => disabled; else periodic build cadence (seconds)
  incremental_edits: true      # delta: reuse unchanged prose; minimal LLM edits when changed
  steering: true               # honor memory/deep-wiki/steering.yaml (owner notes/pages/emphasis/excludes)
  lint_llm: false              # wiki lint: also run the LLM contradiction/duplication pass
  max_files_per_page: 40       # split a module page into child pages above this many files

incremental_edits (on by default) keeps delta rebuilds quiet. On a delta build, a page whose grounding (its code snippets + deterministic diagrams) is unchanged reuses its prior prose with no LLM call — so an unrelated edit elsewhere never reword-churns the page; a page whose grounding did change is revised (the model edits the prior page minimally) instead of rewritten from scratch. Citations are re-validated against the index either way. force=true always does a full re-synthesis. Set it to false to re-synthesize every stale page.

default_branch_only (on by default) restricts every wiki build — delta/file-change, scheduled, and manual wiki(action="generate") (including force=true) — to the repo's default branch (main/master, git-detected). Auto-triggers on other branches are silently skipped; a manual generate on another branch is refused with a skipped status and a message. Set it to false to build on the branches listed in branches (or to force-build on any branch). Setting this key restarts the repo's worker so it takes effect immediately.

Environment Variables:

Variable Default Description
CIVYK_LOG_LEVEL INFO Log level
REPOIX_PARSE_WORKERS CPU count Parallel parsing workers
REPOIX_CACHE_TTL 60 Query cache TTL (seconds)
CIVYK_EMBEDDING_BACKEND auto Embedding backend: auto, local, api, tfidf, openai
CIVYK_LLM_API_KEY — API key for the OpenAI-compatible LLM (deep wiki). Secret — env only
CIVYK_LLM_BASE_URL — Base URL of the OpenAI-compatible endpoint (e.g. Minimax)
CIVYK_LLM_MODEL — Chat model id used for wiki generation/Q&A
CIVYK_LLM_PROVIDER openai Provider label (informational)
CIVYK_LLM_EMBEDDING_API_KEY — Optional separate key for the openai embedding backend (falls back to CIVYK_LLM_API_KEY)
CIVYK_LLM_EMBEDDING_MODEL — Embedding model id for the openai backend
CIVYK_WIKI_ENABLED false Enable deep-wiki generation
CIVYK_WIKI_FILE_CHANGE_THRESHOLD 25 Changed source files before an auto-rebuild
CIVYK_WIKI_STEERING true Honor memory/deep-wiki/steering.yaml
CIVYK_WIKI_LINT_LLM false Wiki lint: run the LLM contradiction pass
CIVYK_WIKI_MAX_FILES_PER_PAGE 40 Module-page decomposition threshold

Performance

Benchmarked on Windows 11 Pro, Python 3.13, AMD Ryzen processor with a codebase of 178 files and 7,677 symbols.

Tool Performance

Tool Avg Latency Throughput Category
status --action check 0.5ms 3,700+ req/s Fast
symbol --action detail 0.6ms 3,600+ req/s Fast
search --action definition 0.6ms 3,400+ req/s Fast
files 0.7ms 3,100+ req/s Fast
file --action symbols 0.8ms 2,800+ req/s Fast
search --action symbols 1.8ms 600+ req/s Medium
symbol --action callers 2.2ms 500+ req/s Medium
symbol --action references 2.5ms 450+ req/s Medium
search --action code 4ms 280+ req/s Medium
architecture --action components 2ms 550+ req/s Medium
context --action task 16ms 60+ req/s Compute
quality --action impact 35ms 30+ req/s Compute
quality --action dead_code 45ms 25+ req/s Compute
symbol --action similar 90ms 12+ req/s Compute

Index Performance

Operation Performance
Full index (178 files) ~3 seconds
Delta index < 500ms
Symbol search < 2ms
Context pack build < 20ms

Indexed scope: git-tracked source files with .gitignore respected. Standard build/cache directories (node_modules, __pycache__, dist, .venv, …) and civyk-repoix's own memory/ workspace (memory/codebase-index, memory/deep-wiki) are skipped.


Support

Help keep this project alive and growing!

If Civyk Repo Index has helped your development workflow, consider supporting its continued development. Your contribution helps with:

  • Ongoing maintenance and bug fixes
  • New feature development
  • Infrastructure costs

50% of all donations go directly to children's charities helping those in need. The remaining funds support project maintenance and feature upgrades.

Buy Me a Coffee Ko-fi

Every contribution, no matter the size, makes a difference.


Security

All releases are cryptographically signed and include supply chain provenance.

Verify Package Signatures

pip install sigstore
sigstore verify identity \
  --cert-oidc-issuer https://token.actions.githubusercontent.com \
  civyk_repoix-*.whl

Security Features

  • Sigstore signing on all releases
  • SLSA provenance for supply chain security
  • OpenSSF Scorecard for security best practices
  • 100% local operation - your code never leaves your machine

See SECURITY.md for our full security policy and vulnerability reporting.


License

Proprietary — see LICENSE

Free to use: Compiled binaries are available via PyPI at no cost for personal and commercial use.

Metadata

Release files for civyk-repoix 1.10.1

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

Built distributions (wheels)

Table of built distributions (wheels) for civyk-repoix 1.10.1
File
civyk_repoix-1.10.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
civyk_repoix-1.10.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
civyk_repoix-1.10.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
civyk_repoix-1.10.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
civyk_repoix-1.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
civyk_repoix-1.10.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
civyk_repoix-1.10.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
civyk_repoix-1.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
civyk_repoix-1.10.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
civyk_repoix-1.10.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
civyk_repoix-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
civyk_repoix-1.10.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 111.8 MB

Release files / civyk_repoix-1.10.1-cp313-cp313-win_amd64.whl

Download URL civyk_repoix-1.10.1-cp313-cp313-win_amd64.whl
Size 8.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
48c31e3c8b7d9f3b8daf7d94e095ced1a32db581619245046a14b758d4d09f2f
BLAKE2b-256 checksum
How to use checksums
c106c0638ee37ea96bc887a084c5969b4c6dcfe9bf09dc14bd3c7c81789d0c77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL civyk_repoix-1.10.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 11.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
025d4429f7d6df23a3755f65fac331b59d2176f2243b313b037fa46789a4e451
BLAKE2b-256 checksum
How to use checksums
5937dbb36759ba040141541e69e132c9371f402efc5cf21b03d5efbae67d8122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL civyk_repoix-1.10.1-cp313-cp313-macosx_11_0_arm64.whl
Size 8.8 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ae5453ab478d003242bbc5d5eb761aa3ed0a29578e4d1a766a5dd6540fed62e9
BLAKE2b-256 checksum
How to use checksums
15a7f8e181185801364f0c5dbae146cdb63710846cf1cf66bc890903fcaffb8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp312-cp312-win_amd64.whl

Download URL civyk_repoix-1.10.1-cp312-cp312-win_amd64.whl
Size 8.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
b08c5b3eed1907e7d39d7d68b97996c0dd21bab11a275a203de1bd997a5717fc
BLAKE2b-256 checksum
How to use checksums
76e6881fc9922be72df9a2c535edab09b7ba1837e69261ff509b14af1f49676f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL civyk_repoix-1.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 11.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c68cef1cc58c01be2019a9eab07181e7a9e4d3b4b33e91397e77afbe0b6a36a5
BLAKE2b-256 checksum
How to use checksums
590fb62d375a8a82ac5c9f7923e9b113c1dbcddac1376066726fb64b8d33d51c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL civyk_repoix-1.10.1-cp312-cp312-macosx_11_0_arm64.whl
Size 8.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
485297f80b188aaf7219492d1e6edacb6a9092135e09a1701ce621e444d67ffb
BLAKE2b-256 checksum
How to use checksums
a98a8713532b757cdf16621a63baef8a6fb75ef95da765bd26926b3751c13a5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp311-cp311-win_amd64.whl

Download URL civyk_repoix-1.10.1-cp311-cp311-win_amd64.whl
Size 8.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2a5f9c530889823bc75a4d5d5c37ab0e53ea5b6da6a1c2f706d3816382fb106b
BLAKE2b-256 checksum
How to use checksums
9a1982bce3c21ee39946dcb3557987f374fcc9b1d762b8669978dfde2039ca61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL civyk_repoix-1.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 10.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9d1c07077eac7fc9c47abcd33ab7bf3ca8d027c2c26eecd6506fbaabc416f6d0
BLAKE2b-256 checksum
How to use checksums
3852c469cb79285f25ee58833da7b7c13c17ed936f4f47aea1b3cd83b3ef2646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL civyk_repoix-1.10.1-cp311-cp311-macosx_11_0_arm64.whl
Size 8.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c6d8bd21d84b0bcb244a52cfe474a5c88dfd25fbb0d97ac99dcc8eead239ad86
BLAKE2b-256 checksum
How to use checksums
a43700c30c97f16ed37bd19fcc4afad2433a9c48680aed714c2debb0dbb8ceab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp310-cp310-win_amd64.whl

Download URL civyk_repoix-1.10.1-cp310-cp310-win_amd64.whl
Size 8.4 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e1a0354db241deef161ce89a77b23ebde4db31ceba0afc881092b669356d51ad
BLAKE2b-256 checksum
How to use checksums
e06e9f1d4d1c3cd232aad962751d63a4db6d2108514115743f66163a07173321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL civyk_repoix-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 10.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2bd27106ffc8ec656b98aa1276c2ceeee939d760f0343e2a46ea8e7cdd9673cd
BLAKE2b-256 checksum
How to use checksums
f7f5a59ff579b5e4687fcdd045dc467a2dc42e30e4faff02ec12bcfea0af01d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / civyk_repoix-1.10.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL civyk_repoix-1.10.1-cp310-cp310-macosx_11_0_arm64.whl
Size 8.4 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a689fea2c41ef0fa87d5ecc8a7bad1521f0c8ab7a033d8870c389d07985a7c5d
BLAKE2b-256 checksum
How to use checksums
cc0bcbecd7325b7798a30da7d95fcf2ad0e5324aeceeaf2cc7c7d4b8e5482d5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

2.1.1

12 release files

2.1.0

12 release files

2.0.1

12 release files

2.0.0

12 release files

This release

1.10.1 This release

12 release files

1.5.0

4 release files

1.3.0

4 release files

1.1.0

12 release files

1.0.0

12 release files

0.7.0

12 release files

0.6.0

12 release files

0.5.0

12 release files

0.4.0

12 release files

0.3.0

9 release files

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