Skip to main content

The repo index that makes coding agents smart

Project description

Repox

GitHub Repo Release

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repoxai-0.1.0a2.tar.gz (95.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repoxai-0.1.0a2-py3-none-any.whl (82.2 kB view details)

Uploaded Python 3

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

Hashes for repoxai-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 58a8ea32fd7cd4fd26aac01ab441b0d095367c8376c0b1d23e5310213d945544
MD5 77c39bf361971167f3bb70dd7f3ffb06
BLAKE2b-256 5dc8a7b77d5a5a0eb931d646e45de55abc603c16549b111af4200f610094514b

See more details on using hashes here.

Provenance

The following attestation bundles were made for repoxai-0.1.0a2.tar.gz:

Publisher: publish.yml on kmandana/RepoX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for repoxai-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 12beab6f79807d536cfc80ccbb7cc32fde4e7379922290dccdd636848c2281fe
MD5 fbd39ba3dfbedc4248ca78c25eb2cc0c
BLAKE2b-256 ed129ec9edca799f4c5e0cc8152b8d44afc24f68b49abbe1999e28c9bbeb0114

See more details on using hashes here.

Provenance

The following attestation bundles were made for repoxai-0.1.0a2-py3-none-any.whl:

Publisher: publish.yml on kmandana/RepoX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page