Repomix
A tool that packs a whole repository into one AI-friendly file, in XML, Markdown or plain text, with token counts and a check for leaked secrets.
What is Repomix?
Repomix collects the files of a repository, respects your ignore rules, and writes them into a single file you can paste or upload into a chat with Claude, ChatGPT, Gemini or another model. It reports token counts per file and for the whole output, so you know whether it fits a model's context window, and it can compress code to its key structures to save tokens. Secretlint runs over the files first to catch API keys and other secrets. It works from the command line, as an MCP server, or on the repomix.com website.
Good fit if
- You use chat-based models and want to give them a full codebase in one step.
- You need to check how many tokens a project would take before sending it.
Before you adopt it
Repomix is MIT-licensed and free. Almost all commits come from its creator, Kazuki Yamada, so the project relies on one person. Check the output for private code before you upload it to a hosted model.
Drafted with AI from the project's README and repository data, then checked against that data on 30 October 2026. Report a correction
Repomix health: is it still maintained?
72 of 100, actively developed
Read from GitHub on 1 November 2026. How the score works
Repomix license: is it open source?
Repomix uses MIT, an open-source license approved by the OSI.
- July 2024First published on GitHub.
- TodayMIT.
How to run Repomix yourself
- Docker
- Dockerfile or compose file in the repository
- Compose file
- website/compose.yml: 4 services (redis)
- Setup effort
- 3 of 5, judged from the compose file
- Kubernetes
- No Helm chart in the repository
- Desktop and mobile
- No app builds in GitHub releases
- Interface languages
- English only
Install instructions: repomix.com or the README on GitHub.
Alternatives to Repomix
- OpenHandsOpenHands: AI-Driven Development 83 health · MIT · 92.4k stars
- Qwen CodeAn open-source AI coding agent that lives in your terminal. 80 health · Apache-2.0 · 28.9k stars
- Kilo CodeKilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with the most popular… 76 health · MIT · 27.8k stars
- ArchonThe first open-source harness builder for AI coding. Make AI coding deterministic and repeatable. 68 health · MIT · 23.8k stars
- PR-AgentPR Agent: The Original Open-Source PR Reviewer. This project is not the Qodo free tier. 93 health · MIT · 13.9k stars
Questions about Repomix
Is Repomix open source?
Yes. Repomix is published under MIT, an OSI-approved open-source license.
Is Repomix still maintained?
Its health score is 72 of 100 (actively developed). It had 418 commits in the last 90 days, the latest on 1 November 2026, and its latest release came out on 21 September 2026.
How do I run Repomix?
You can run it with Docker. The README on GitHub has the exact steps.
What are the alternatives to Repomix?
Close alternatives in the AI coding agents category include OpenHands, Qwen Code, Kilo Code.