Repomix: Efficiently Prepare Your Codebase for Large Language Models

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Repomix: Efficiently Prepare Your Codebase for Large Language Models

Summary

Repomix is an innovative tool designed to package your entire codebase into a single, AI-friendly file. This makes it incredibly easy to feed your projects to various Large Language Models (LLMs) and other AI tools, streamlining code analysis and interaction. It supports a wide range of AI platforms, enhancing developer workflows.

Repository Information

Analyzed by OSRepos on October 11, 2025

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

Repomix is a powerful and innovative tool designed to streamline how developers interact with Large Language Models (LLMs) and other AI tools. It efficiently packs your entire codebase into a single, AI-friendly file, making it easy to feed complex projects to platforms like Claude, ChatGPT, DeepSeek, and Gemini. Repomix has even been nominated for the "Powered by AI" category at the JSNation Open Source Awards 2025, highlighting its significant impact on AI-driven development workflows.

Installation

Getting started with Repomix is straightforward, whether you prefer a quick, temporary run or a global installation for frequent use.

To try Repomix instantly in your project directory without installation:

npx repomix@latest

For repeated use, you can install it globally:

# Install using npm
npm install -g repomix

# Alternatively using yarn
yarn global add repomix

# Alternatively using bun
bun add -g repomix

# Alternatively using Homebrew (macOS/Linux)
brew install repomix

After installation, simply run repomix in any project directory to generate your AI-friendly output file.

Examples

Repomix offers flexible usage options, from local directories to remote repositories, and various output formats.

Basic Usage:

To pack your current repository into an repomix-output.xml file:

repomix

Packing a Remote Repository:

Analyze a GitHub repository directly without cloning:

repomix --remote yamadashy/repomix
# Or with a full URL and specific branch
repomix --remote https://github.com/yamadashy/repomix --remote-branch main

Code Compression:

Reduce token count while preserving code structure using the --compress option, ideal for large codebases:

repomix --compress

Different Output Styles:

Repomix supports XML (default), Markdown, JSON, and Plain Text formats. For example, to output in Markdown:

repomix --style markdown

Using the Website or Extensions:

For quick online use, visit repomix.com. Browser extensions for Chrome and Firefox, and a VSCode extension, also provide convenient ways to use Repomix directly from your development environment.

Why Use Repomix

Repomix addresses the critical challenge of providing comprehensive codebase context to AI models. Its key features ensure efficient and secure AI interaction:

  • AI-Optimized Output: Formats your code for optimal AI comprehension, enhancing analysis and generation tasks.
  • Token Counting: Provides essential token counts for files and the entire repository, helping manage LLM context limits.
  • Simple & Customizable: Pack your repository with a single command, or configure inclusions, exclusions, and output styles to fit your needs.
  • Git-Aware & Secure: Automatically respects .gitignore rules and includes Secretlint for robust security checks, preventing sensitive data leakage.
  • Code Compression: Utilizes Tree-sitter to extract key code elements, significantly reducing token count while maintaining structural integrity.
  • Versatile Access: Available as a CLI tool, a web application, browser extensions, a VSCode extension, and even integrates as an MCP server for advanced AI assistant workflows.

Links

Related repositories

Similar repositories that may be relevant next.

CCCC: Coordinate Your Coding Agents Like a Group Chat

CCCC: Coordinate Your Coding Agents Like a Group Chat

September 29, 2026

CCCC is a production-minded orchestrator designed to coordinate coding agents like a group chat, offering features such as read receipts, delivery tracking, and remote operations from your phone. It enables 24/7 workflow for multi-agent teams with a single `pip install` and zero infrastructure. This tool helps manage diverse AI runtimes, ensuring persistent collaboration across different machines and trusted working groups.

ai-agentschatgptllm-orchestration
AI Session Search: Ultra-Fast AI Agent Session Analysis

AI Session Search: Ultra-Fast AI Agent Session Analysis

September 29, 2026

AI Session Search (aise) is an ultra-fast, Rust-powered tool designed for searching and analyzing local AI agent coding sessions. It seamlessly integrates and indexes nine different session formats, including those from Claude, Codex, Cursor, and Gemini CLI. This powerful utility enables developers to quickly recover context, track agent behavior, and efficiently manage their AI-generated code history.

AIAI ToolsRust
Pydantic AI Harness: Enhancing Your AI Agents with Robust Capabilities

Pydantic AI Harness: Enhancing Your AI Agents with Robust Capabilities

September 28, 2026

Pydantic AI Harness is the official capability and harness library for Pydantic AI, designed to extend agents for complex, long-running tasks. It provides a modular system of "capabilities" for functionalities like file system interaction, web research, memory, and sub-agent delegation. This library enables developers to build sophisticated and durable AI agents with ease.

PythonAIAgents
Router: Optimize AI Model Selection and Costs for Agentic Systems

Router: Optimize AI Model Selection and Costs for Agentic Systems

September 28, 2026

The Weave-OS Router is an intelligent model router for agentic systems, optimizing AI model selection for every request. It acts as a drop-in proxy for major AI providers, routing prompts to the most suitable model in under 50ms. This solution helps users significantly cut costs, often by 40-70%, simply by changing an endpoint.

GoAIAgentic Systems

Source repository

Open the original repository on GitHub.

19 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️