The repo index that makes coding agents smart
Project description
Repox
The repo index that makes coding agents smart.
Repox scans any codebase and builds a persistent intelligence profile - 13 extraction dimensions covering everything from tech stack and architecture to auth flows, state machines, and security posture. Instead of starting from zero, your coding agent gets institutional knowledge so generated code fits the project like a senior wrote it.
Installation
With uv (recommended):
uv tool install repoxai
With pip:
pip install repoxai
Requires Python 3.12+.
Quick Start
# Set up LLM (needed for scan + context)
export ANTHROPIC_API_KEY=sk-... # or OPENAI_API_KEY or GEMINI_API_KEY
# Scan a repo
repox scan /path/to/repo
# View full profile (no LLM needed)
repox show
# Get a task-specific advisory brief
repox context "Fix the login bug in auth.py" --target-files src/auth.py
What It Extracts
| # | Dimension | What it captures |
|---|---|---|
| 1 | Tech Stack | Language, framework, package manager, test runner, dependencies |
| 2 | Architecture | Pattern detection (layered, DDD, MVC, hexagonal, flat, etc.) |
| 3 | Symbols | Full AST symbol graph - functions, classes, methods, constants |
| 4 | Dependencies | Import graph, call graph, PageRank-based file importance |
| 5 | API Surface | HTTP endpoints, MCP tools, Celery tasks, WebSocket events |
| 6 | Data Models | ORM entities, Pydantic models, Prisma schemas, field definitions |
| 7 | Design Patterns | Factory, Builder, Observer, Repository, Middleware, Strategy |
| 8 | Infrastructure | Docker services, env vars, deployment targets, external integrations |
| 9 | Conventions | Naming, error handling, async patterns, import style, type hints |
| 10 | Test Patterns | Framework, file naming, fixtures, mocking, assertion style |
| 11 | Hotspots | Churn-complexity analysis, temporal coupling, knowledge islands |
| 12 | Custom Rules | Team conventions from CLAUDE.md, .cursorrules, AGENTS.md, etc. |
| 13 | Behavioral | Auth flows, state machines, middleware chains, background jobs, API contracts |
Plus LLM Interpretation (architecture insights, convention synthesis) and Security Posture (auth defaults, input validation, SQL safety, CORS, secret management).
Agent Integration
Add to your agent's rules file (CLAUDE.md, .cursorrules, AGENTS.md):
Before starting any task, run `repox show` to understand the codebase structure, conventions, and patterns. Use this context to write code that fits the project.
Links
- Full documentation: https://github.com/kmandana/RepoX
- Issues: https://github.com/kmandana/RepoX/issues
- Releases: https://github.com/kmandana/RepoX/releases
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repoxai-0.1.0a2.tar.gz.
File metadata
- Download URL: repoxai-0.1.0a2.tar.gz
- Upload date:
- Size: 95.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58a8ea32fd7cd4fd26aac01ab441b0d095367c8376c0b1d23e5310213d945544
|
|
| MD5 |
77c39bf361971167f3bb70dd7f3ffb06
|
|
| BLAKE2b-256 |
5dc8a7b77d5a5a0eb931d646e45de55abc603c16549b111af4200f610094514b
|
Provenance
The following attestation bundles were made for repoxai-0.1.0a2.tar.gz:
Publisher:
publish.yml on kmandana/RepoX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repoxai-0.1.0a2.tar.gz -
Subject digest:
58a8ea32fd7cd4fd26aac01ab441b0d095367c8376c0b1d23e5310213d945544 - Sigstore transparency entry: 1245644290
- Sigstore integration time:
-
Permalink:
kmandana/RepoX@b91e919ff76053f809500702b9aad475f9f3d71a -
Branch / Tag:
refs/tags/v0.1.0a2 - Owner: https://github.com/kmandana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b91e919ff76053f809500702b9aad475f9f3d71a -
Trigger Event:
push
-
Statement type:
File details
Details for the file repoxai-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: repoxai-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 82.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12beab6f79807d536cfc80ccbb7cc32fde4e7379922290dccdd636848c2281fe
|
|
| MD5 |
fbd39ba3dfbedc4248ca78c25eb2cc0c
|
|
| BLAKE2b-256 |
ed129ec9edca799f4c5e0cc8152b8d44afc24f68b49abbe1999e28c9bbeb0114
|
Provenance
The following attestation bundles were made for repoxai-0.1.0a2-py3-none-any.whl:
Publisher:
publish.yml on kmandana/RepoX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repoxai-0.1.0a2-py3-none-any.whl -
Subject digest:
12beab6f79807d536cfc80ccbb7cc32fde4e7379922290dccdd636848c2281fe - Sigstore transparency entry: 1245644292
- Sigstore integration time:
-
Permalink:
kmandana/RepoX@b91e919ff76053f809500702b9aad475f9f3d71a -
Branch / Tag:
refs/tags/v0.1.0a2 - Owner: https://github.com/kmandana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b91e919ff76053f809500702b9aad475f9f3d71a -
Trigger Event:
push
-
Statement type: