LibreCode: a native cross-platform code editor with local AI and integrated reverse engineering toolkits
LibreCode: a native cross-platform code editor with local AI and integrated reverse engineering toolkits
What it solves
LibreCode is a native, cross-platform code editor designed for developers and security researchers. It eliminates the need for cloud-based AI assistants and web-based editors by providing a fully local AI experience and a comprehensive suite of reverse engineering tools integrated directly into the IDE.
How it works
Built with .NET 10 and Avalonia UI, the editor avoids web-wrappers like Electron. It integrates with Ollama to run LLMs locally, using RAG (Retrieval-Augmented Generation) to index project files and provide codebase-aware AI assistance. For reverse engineering, it includes custom binary parsers and interpreters for .NET, WebAssembly (WASM), and ELF files, allowing users to disassemble, debug, and analyze binaries without needing external tools.
Who it’s for
- Developers seeking a fast, private AI-powered editor with no telemetry or subscriptions.
- Security Researchers and Reverse Engineers who need integrated tools for decompilation, bytecode debugging, and anti-debug evasion.
Highlights
- Local AI Assistant: Supports four interaction modes (Ask, Agent, Plan, Debug) powered by local Ollama models with codebase embeddings.
- Reverse Engineering Toolkit: Dedicated tools for .NET (C# decompiler, IL debugger), WASM (WAT disassembly, CDP live debugging), and ELF (x86/x86-64 disassembly, OLLVM deobfuscation).
- Stealth Analysis: Scans binaries for anti-debugging techniques and generates evasion playbooks or Harmony patches to bypass them.
- Native Performance: High-performance rendering via Avalonia UI across Windows, Linux, and macOS.
- Model Marketplace: Built-in browser for Ollama models with GPU VRAM detection to ensure model compatibility.
Sources
- undefinedre4/LibreCode