Ethrix Forge is an AI-powered code review and refactoring assistant. This extension provides sidebar chat capability and automatically generates/updates a permanent report file directly in your workspace.
Features
-
Sidebar Chat Panel:
- Access the AI chatbot directly from the sidebar.
- Run quick actions: "Analyze Active Selection", "Optimize & Fix Code", and "Generate Documentation".
- Support for both Online Cloud (Groq API) and Offline Local (Ollama) providers.
-
Workspace Report Integration:
- Every time code analysis, fixing, or documentation generation is run, the extension creates/overwrites the
ethrix_report.mdfile at the root of the active workspace. - The report is automatically opened in VS Code next to the active editor with a live Markdown preview!
- If the file is deleted or if you change workspaces, Ethrix will automatically recreate it.
- Every time code analysis, fixing, or documentation generation is run, the extension creates/overwrites the
-
Backend Server Auto-Start:
- If the local FastAPI server (
http://localhost:8000) is not running, the extension offers to spin it up automatically in the background, matching the CLI behavior.
- If the local FastAPI server (
Installation
- Open this project in VS Code.
- Press
F5to start a new Extension Development Host window. - Open a project folder in the host window to test the workspace report.
Extension Settings
Exposes the following settings under the ethrix namespace:
ethrix.backendUrl: URL of the FastAPI server (defaults tohttp://127.0.0.1:8000).ethrix.provider: Model provider ("online" or "offline").ethrix.model: Model name (defaults tollama-3.3-70b-versatileorllama3).ethrix.groqApiKey: Custom override API key for Groq API.ethrix.reportFileName: Name of the report file (defaults toethrix_report.md).