🤖 What is AICode?AICode is not an AI coding agent. It is a controlled AI development workflow. AICode is a new kind of AI coding assistant built on ChatGPT, designed to generate clean code engineered for long-term maintainability through structured, human-validated decisions. Instead of autonomous code generation, AICode introduces a review-first methodology focused on architecture and code quality.
Use it to:
Use case: Create, maintain, audit, and explain large production-grade enterprise applications. 📐 AICode's methodologyFor the most complex tasks, to give you maximum control and ensure the best architecture and code quality, AICode uses a structured methodology:
1. 👉 Ideate: Explain your need to the AI assistant and negotiate until you reach an agreement.
2. 👉 Specify: The AI generates a detailed specification.
3. 👉 Refine: Instruct the AI to double-check the specification several times before the coding phase, to reduce design mistakes, catch edge cases early, and lower the overall bug rate.
4. 👉 Code: The AI generates the code in a virtual workspace. You stay in control of your files.
5. 👉 Verify: After the coding phase, instruct the AI to audit the produced code versus the specification.
🚀 Quick setup
🎯 Why choose AICode?AICode is a review-first AI code assistant: no agents, no auto-edits. It generates detailed specifications and reviewable patches. You keep the architecture and assurance quality under the supervision of an expert developer. It is built for developers who care about long-term quality and maintainance. You still get the assistance of an AI, but it stays under your strict control. AI agents silently ruin your architectureIllustration: Ask an AI agent to find a shorter path from A to B, and this is what you might get:
Proven effectivenessAICode’s methodology was used to build AICode itself from scratch, in only 7 months, by a single developer with zero prior knowledge of VS Code extension development or AI protocols, using "vibe coding" for about 95% of the work. However, “vibe coding” with AICode is not about shipping a quick prototype that becomes unmaintainable. If you follow the methodology and its core principles, you can produce high-quality code through a tightly intertwined collaboration between the developer and the AI. Core principlesAICode is designed around two core principles:
Bottom line: If you want AI speed and knowledge with fewer hallucinations, regressions, bad patterns, or overconfident guessing, and if you want to ask targeted questions and have relevant conversations about the codebase, AICode is the tool you are looking for. 🔎 A real story: AI proposed a "fix" that deleted my dataOne day I had a subtle bug: the app couldn’t load an index file living under WSL. I asked an AI for help. At first it answered with vague explanations I didn’t really understand. After pushing it to be explicit, I eventually realized what it was suggesting: "fix" the issue by deleting the index file whenever loading it fails. I challenged it: "So your plan is: we spend an hour indexing data, save a persistent index, and if we can’t reload it later, we just delete it and start over? That’s like Word saving a document… and then opening an empty file next time. That’s not a fix, that’s a destructive workaround." After more pressure, the bot finally admitted that yes, this was its plan, and backed off. Now imagine the same AI as an autonomous coding agent with write access to the repo. It could have:
This real story is one example among many, and bad AI decisions happen over and over. That’s exactly why AICode is built around human-in-the-loop control, structured specifications, and manual patch review. The AI can propose ideas, but it never silently edits your codebase or ships a destructive "fix" behind your back. ✨ AICode Feature Highlights🖼️ User friendlyAICode doesn’t require you to type commands. Everything it can do is available through its intuitive graphical user interface. 💬 Chat with your own codebaseAsk architecture, refactoring, and debugging questions grounded in your real project, not generic boilerplate. AICode indexes your workspace using a five-dimensional index: a project map, a lexical index, a vector embedding index, an AST-based index, and access to Git history. This makes it extremely smart, lets it pull the right files and code regions to support its answers, and helps you navigate a large codebase fast. Because the chat is stateful, and because the context management is optimized, you can run a real investigation: ask follow-ups, explore alternative hypotheses, call out contradictions, and have AICode re-check the source to confirm or invalidate assumptions. In practice, this can turn "a week of digging" into "getting oriented in minutes". This also helps resist turnover: when the person who "knows module X" is gone, a new hire can ask AICode to explain how the module works, where the critical code lives, and what to look at next, backed by the actual repository. 📝 Automatic structured specificationsAICode follows the ISC methodology for structured, human-controlled AI work: Ideate → Specify → Code. Instead of jumping straight from a prompt to implementation, the assistant organizes the request into three phases. The extra Specify step keeps a human in the loop and significantly raises quality: the AI brings technical knowledge and speed, while the developer brings project knowledge and judgment. Turn any user request into a self-contained specification document: context, objectives, chosen design, per-file plan, exact file paths, and an estimated regression risk. Each specification can be iteratively refined before coding and verified after coding. For complex work, this multi-pass workflow dramatically improves quality by reducing design mistakes, catching edge cases earlier, and lowering the overall bug rate. 🐞 AI-assisted debuggerAICode is instructed out-of-the-box with several debugging workflows such as LLM-DEBUG-2: guided debugging with instrumentation or LLM-DEBUG-4: spotting regression cause through Git history. These workflows explore hypotheses and execution paths, audit regressions and runtime logs to help you track down the real root cause of a bug. 👀 Code reviewsAICode can perform code reviews of any PR, remote or local Git branch, because it can access your Git repository, but also though MCP connectors: Github, Gitlab, JIRA, etc. 💗 Honest-by-design AI assistantAICode is configured with strict instructions never to bluff, hide uncertainty, or pretend it has done something it hasn’t. When it misreads your code, lacks information, or isn’t confident about a solution, it says so clearly and asks for your guidance instead of improvising. No fake "I already fixed it, trust me" or "go ahead, it’s safe, nothing can break" moments that blow up your project later. AICode is designed to be transparent, to acknowledge its limits, and to work with you to reach a reliable result. On top of that, AICode is transparent about its reasoning: it lets you see the available "reasoning" trace, as well as all the tool calls behind each answer, including the files loaded, index searches and results, Git history lookups, MCP calls, and web searches and URLs. It helps you know what the assistant had access to, so you can retrace how conclusions were reached, catch flawed assumptions early, guide the model, and learn more from its analysis than from the final answer alone. 📋 Built-in prompt generatorWriting a good prompt that respects every constraint is hard. From each specification, the UI offers three actions: Refine, Code, Verify. Each action builds a rich XML-like clipboard prompt, already tuned with advanced prompt-engineering patterns. You just paste it back into the chat, and the assistant knows exactly what to do, under which constraints. 🛡️ Safe file-by-file patch workflowPatches and full-file proposals appear as code frames with headers, actions, and diffs. You open a VS Code diff, tweak the code if needed, then accept or discard the changes. No automatic commits, no hidden background writes, no "surprise" modifications. 🧩 MCP integrationYou can connect any kind of MCP to AICode:
🔑 Bring your own key (BYOK) for OpenAI ChatGPTConnect VS Code directly to the OpenAI ChatGPT API using your own account. AICode does not use any intermediate server between your computer and OpenAI’s servers. You are billed directly by OpenAI at the standard public prices and you retain ownership of your inputs and own the outputs, under OpenAI’s terms. 🔒 Offline-first secure & private designAICode does not upload your whole codebase contents to the cloud, because it runs primarily on your machine, connects directly to the OpenAI API servers, and sends only selected source code extracts:
🧪 Experimental local inferenceAICode also includes experimental support for local LLMs (llama.cpp and chatgpt-oss).
Local inference is ideal if you want to experiment without any OpenAI key, or if you need to keep all prompts and tokens entirely on your own machine. But this is mainly a research side project. For production workloads, we still recommend a high-quality cloud model. |







