Loopix BETA v0.9.0
An AI-native developer IDE and agentic operating system (Public Beta Release)
Public Beta Notice: Loopix is currently in Public Beta (v0.9.0-beta). Active development is ongoing. Feedback and feature suggestions are highly appreciated on GitHub!
Loopix is an AI-native developer IDE and agentic operating system. It orchestrates complex software development tasks by understanding your codebase, creating transactional multi-file edits, executing terminal commands safely, managing VS Code extensions, and verifying execution through automated self-repair.
Core Architectural Subsystems
- AgentRuntime (Orchestration Authority) — Canonical authority managing execution cycles via a strict state machine:
IDLE ➔ PLANNING ➔ EXECUTING ➔ WAITING_FOR_APPROVAL ➔ VERIFYING ➔ REPAIRING ➔ COMPLETED. - ContextEngine — Gathers multi-layered L0–L4 context using AST symbol graphs, vector embeddings (ChromaDB), and workspace file trees.
- PermissionEngine — Enforces fail-closed security, workspace path bounds, secret redaction, and prompt injection isolation across all model actions.
- Dynamic Extension Host — Dynamically parses and executes
.vsixpackages and registers extension commands as native AI capabilities. - ToolExecutor & Self-Repair — Transactional file edits with automatic snapshots and rollbacks if syntax or verification fails.
Technology Stack
| Layer | Technologies Used |
|---|---|
| Backend Stack | Python 3.10+, FastAPI, Uvicorn, SQLite/Alembic, ChromaDB, Pytest |
| Frontend Stack | React 18, TypeScript, Vite, WebSockets, Tailwind CSS, Monaco Editor |
| Desktop Packaging | Electron / PyInstaller (loopix.spec, build_executable.bat) |
System Requirements
Prerequisites and system specifications for running Loopix
Operating System & Environment
| Requirement | Minimum | Recommended |
|---|---|---|
| OS | Windows 10 (64-bit) | Windows 11 (64-bit) |
| Python Runtime | Python 3.10+ | Python 3.11+ |
| Node.js Runtime | Node 18+ | Node 20+ (LTS) |
| RAM | 8 GB | 16 GB or more |
| Storage | 500 MB free | 2 GB free (for ChromaDB & Symbol graphs) |
The desktop bundle includes an integrated Uvicorn FastAPI backend server and Monaco editor environment. Internet connectivity is required for external LLM API calls.
Installation
Set up Loopix locally or package as a standalone Windows executable
Option 1: Installing via Setup Scripts (Local Dev)
-
1
Clone the repository
git clone https://github.com/logeshn554/ai_coding_assistant.git cd ai_coding_assistant
-
2
Run Setup Initialization
Execute the automated setup script
setup.bator configure python virtual environments manually.python -m venv venv .\venv\Scripts\activate pip install -r requirements.txt cp .env.example .env
-
3
Install Frontend Dependencies
cd frontend npm install
Option 2: Standalone Desktop Packaging
Build a single native Windows desktop application executable using PyInstaller and Electron:
.\build_executable.bat
The compiled Loopix.exe binary will be generated inside the dist/ directory.
Quick Start
Launch Loopix IDE and start orchestrating AI agents in 3 simple steps
1. Configure API Credentials
Set your provider key in your environment or .env file:
$env:ANTHROPIC_API_KEY = "your-anthropic-api-key"
2. Start Backend API Server
python -m uvicorn backend.app.main:app --host 127.0.0.1 --port 8000 --reload
3. Launch UI or Standalone Agent
You can run the full frontend desktop app or test with the standalone agent script:
# Frontend Dev UI cd frontend npm run dev # Or CLI Standalone Agent python coding_agent.py "create a Flask REST API"
Alternatively, launch both backend and UI in one click using Loopix.bat.
API Keys & Provider Configuration
Universal multi-provider key management in user profile and environment
Universal Provider Support: In your profile settings (or via environment variables), you can add the API key of any AI provider including Anthropic Claude, OpenAI, Google Gemini, OpenRouter, Mistral AI, or any custom OpenAI-compatible endpoint.
Supported LLM Providers
| Provider | Environment Variable | Supported Models |
|---|---|---|
| Anthropic | ANTHROPIC_API_KEY | Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku |
| OpenAI | OPENAI_API_KEY | GPT-4o, GPT-4-turbo, GPT-3.5-turbo |
| Google Gemini | GEMINI_API_KEY | Gemini 1.5 Pro, Gemini 1.5 Flash |
| Custom / OpenRouter | OPENROUTER_API_KEY / CUSTOM_API_KEY | Any OpenAI-compatible or OpenRouter hosted model |
Security & Redaction Guarantees
Loopix's PermissionEngine scans all incoming and outgoing prompts to scrub private credentials before sending requests. API keys stored locally in your profile setting or .env are never exposed to remote endpoints or logged to disk.
Settings
Configuring runtime policies, execution boundaries, and dual-LLM models
Runtime & Security Configurations
| Configuration Parameter | Type / Values | Description |
|---|---|---|
permission_policy | Safe | Balanced | Autonomous | Custom | Fail-closed safety mode regulating terminal tool execution and workspace edits. |
brain_model | String (Model ID) | Dual-LLM Planner model used for architectural breakdown and execution strategy. |
generator_model | String (Model ID) | Executor model optimized for transactional code edits and repair cycles. |
auto_apply | Boolean (true / false) | Automatically apply verified code changes without requiring manual user confirmation. |
redis_url | String (URL) | Optional Redis bridge configuration for distributed worker tool confirmation. |
Code Generation
Agentic planning, multi-file synthesis, and transactional execution
How Code Generation Works in Loopix
Code generation in Loopix is an agentic, multi-step process rather than simple completion:
- Planning Stage (
PLANNING): TheContextEngineparses AST symbol graphs and ChromaDB embeddings to construct a contextual prompt map. The Brain model creates an execution plan. - Execution Stage (
EXECUTING): The Generator agent produces multi-file code modifications using structured transactional file tools. - Verification Stage (
VERIFYING): Output code is parsed for syntax correctness, linted, and checked against workspace unit tests.
Debugging & Automated Self-Repair
Continuous state verification and automated repair loops
Self-Repair Engine Cycle
When runtime exceptions or Pytest test failures occur, Loopix transitions automatically into the self-repair loop:
EXECUTING ➔ VERIFYING (Failure detected) ➔ REPAIRING ➔ VERIFYING (Pass) ➔ COMPLETED
- Stack Trace Diagnosis: Analyzes traceback errors, AST node offsets, and symbol definitions.
- Transactional Rollback: If a proposed fix causes further regressions, Loopix restores the workspace snapshot automatically.
Code Explanation
Deep AST symbol graph analysis and codebase understanding
SymbolGraph & Vector Search
Loopix provides granular breakdowns of complex functions, algorithms, and dependencies by querying the ContextEngine L0–L4 index layers:
- L0 Context: Currently active Monaco Editor file buffer & cursor position.
- L1 Context: AST symbol nodes, class hierarchies, and imports.
- L2-L4 Context: ChromaDB vector search rankings across the entire workspace repository.
Refactoring
Safe, transactional refactoring with automatic rollback protection
Loopix executes refactoring instructions across non-contiguous files safely. Every refactoring operation creates an isolated filesystem snapshot prior to execution, ensuring zero data loss and simple one-click rollbacks if changes fail linting (Ruff/MyPy) or test checks.
File Editor & Monaco Integration
Monaco Editor interface with real-time WebSocket event synchronization
The Loopix IDE frontend integrates Monaco Editor connected via WebSockets to the AgentRuntime backend session API. Features include:
- Real-time File Tree Sync: Reflects transactional workspace edits immediately.
- Inline Agent Diff Views: Preview AI-generated code edits prior to accepting or applying them.
- Dynamic Extension Tooling: Commands registered by installed
.vsixextensions are surfaced directly inside the editor command palette.
Troubleshooting
Common issues and how to fix them
Windows SmartScreen blocks the installer
Click More info on the blue SmartScreen dialog, then click Run anyway. The app is not yet code-signed, but the source is fully open on GitHub for inspection.
AI is not responding
- Check your internet connection
- Verify your API key is entered correctly in Settings → API
- Confirm your API key has credits/quota remaining on the provider's dashboard
- Try switching to a different model in Settings
App won't start
- Try running the installer again as Administrator (right-click → Run as administrator)
- Check that your Windows is 64-bit (Settings → System → About)
- Temporarily disable antivirus and retry — add an exclusion for the install folder
Code is not being inserted into the editor
Make sure your cursor is clicked into the editor panel before clicking Insert at Cursor. The editor panel must be focused.
Still stuck? Open an issue on GitHub with the steps to reproduce your problem.
Frequently Asked Questions
Common questions about Loopix
Is it free?
Yes. The application is completely free and open source under the MIT licence. You only pay for API usage billed directly by your AI provider (e.g. OpenAI), which is separate from this app.
Does it store my code?
No. Your code is sent directly from your machine to the AI provider's API and is not stored by this application or any intermediary server.
Does it work without internet?
The file editor works offline. AI features (generation, debugging, explanation) require an internet connection to reach the AI API.
Which AI model does it use?
You choose the model in Settings. It works with any OpenAI-compatible API, plus Anthropic Claude and Google Gemini. The default is GPT-4o.
Can I contribute to the project?
Absolutely. Fork the repo on GitHub, make your changes, and open a pull request. All contributions are welcome.
Is a Mac or Linux version planned?
The current release is Windows-only. Mac and Linux support may come in a future version — watch the GitHub repo for updates or open an issue to express interest.