Registry / llm-agents / repomix

repomix

JSON →
library0.5.0pypypi✓ verified 86d ago

A tool for analyzing and summarizing code repositories into a single text file for LLM context. Supports multiple output formats and file exclusion rules. Current version: 0.5.0, released on PyPI with monthly releases.

pip install repomix
INSTALL
IMPORT
SIG · REPOMIX
R
repomix
llm-agentspythonv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RepoProcessor
✓ from repomix import RepoProcessor
✗ from repomix import Repomix
RepomixConfig
✓ from repomix import RepomixConfig
✗ from repomix import Repomix
load_config
✓ from repomix import load_config
✗ from repomix import Repomix

Basic usage to analyze a local repository and save the summary.

from repomix import Repomix # Initialize with a repository path repomix = Repomix(path='/path/to/repo') # Run analysis (default format is text) result = repomix.run() # Access summary print(result.summary) # Output to file result.to_file('output.txt')
repomix --version
Debug
Known issues
breakingVersion 0.5.0 renamed the method `analyze()` to `run()`. Old code using `repomix.analyze()` will break.
fix
Use `run()` instead of `analyze()`.
affects: >=0.5.0
breakingThe `output_format` parameter was removed in 0.5.0; use format-specific methods or the `format` argument in `run()`.
fix
Pass `format='json'` to `run()` instead of setting `output_format`.
affects: >=0.5.0
gotchaRepomix requires Python >=3.10. Installing on older Python versions will fail with a syntax error.
fix
Use Python 3.10 or higher.
affects: all
gotchaWhen specifying `exclude_patterns`, use Unix glob patterns, not regex. Common mistake is using regex-like patterns.
fix
Use `['*.pyc', 'node_modules/*']` instead of `['.*\.pyc', 'node_modules/.*']`.
affects: all
Upgrade
Version history
0.5.0latest on PyPI · released Feb 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
1
Resources
repomix — pip install repomix · libregistry