AI-powered code assistant that generates, reviews, optimises, and debugs code with natural language prompts and editor integrations.
AICodePrep v2
About AICodePrep v2
AICodePrep v2 is a local Rust application with both GUI and CLI interfaces designed to transform a project folder into a single structured context block. Users select a folder, and the tool filters out noise such as dependencies, build outputs, and caches while preserving relevant source and project files. The result is a Markdown or XML output containing file paths, contents, token totals, and a user-defined prompt, ready to paste into AI chat interfaces like ChatGPT, Claude, or Gemini. The application emphasizes privacy by processing files locally, ensuring no data leaves the user’s computer. It includes features for secret detection and redaction to avoid exposing credentials. The tool supports both visual selection via a native GUI and command-line execution for scripting and automation. It is optimized for speed, capable of handling folders with tens or hundreds of thousands of files efficiently. The structured output allows users to switch between models without repacking context, leveraging existing chat subscriptions and avoiding additional API costs.
Key features
- Local Rust app with GUI and CLI
- Filters dependencies, caches, and build outputs
- Generates structured Markdown or XML context blocks
- Includes token budget calculations for model compatibility
- Secret detection and optional redaction
- Supports auto-add for source and project files
- Command-line tool for scripting and automation
- Reusable context blocks across different AI models
Use cases
- Preparing large codebases for AI-assisted debugging
- Generating project context for code review or documentation
- Creating structured prompts for AI chat interfaces without API costs
Pros
- Local processing with no API setup required
- Supports both GUI and CLI for flexibility
- Includes secret detection and redaction
- Optimized for large projects with fast Rust engine
- Structured Markdown or XML output with token budgets
Cons
- Requires Apple Silicon and macOS 11+ for Mac version
- Not Apple code-signed, requiring manual Gatekeeper removal
- Trial limited to 10 generations over 14 days before purchase
Frequently asked questions about AICodePrep v2
What is AICodePrep v2?
AICodePrep v2 is a local Rust application that transforms a project folder into a single structured context block for AI chat interfaces. It filters out noise like dependencies and caches while preserving relevant files, and outputs the result in Markdown or XML format.
Who should use AICodePrep v2?
The tool is designed for developers and teams who need to provide full project context to AI models without manual file-by-file copying. It suits users who want to avoid API costs or subscription limits by reusing existing chat models.
How does AICodePrep v2 handle privacy?
All file processing occurs locally on the user’s computer, ensuring no data leaves the device. The tool includes secret detection and redaction to prevent accidental exposure of credentials in the output.
Can AICodePrep v2 be used with command-line workflows?
Yes, the tool supports both a native GUI and a CLI interface. Users can run commands like `aicodeprep-fast pack ` for scripting and automation, with the same filtering and output generation as the GUI.
What output formats does AICodePrep v2 support?
The tool generates structured output in either Markdown or XML format, including file paths, contents, token totals, and a user-defined prompt. This output can be directly pasted into AI chat interfaces like ChatGPT, Claude, or Gemini.
How do I get started with AICodePrep v2?
Download the trial version for 10 context generations over 14 days. For macOS, extract the zip, move the app to Applications, and run specific Terminal commands to remove Gatekeeper’s quarantine. Windows users can run the executable directly.