Skip to main content

Architecture

1. System Overview

Levitate IDE is an intelligent, AI-native code editor built on Electron with React and TypeScript, providing semantic code understanding through vector embeddings and local LLMs.

2. Process Architecture

Levitate uses Electron's multi-process architecture with strict separation of concerns.

2.1 Process Structure

3. Communication Architecture

3.1 IPC Communication

3.2 IPC Channels Structure

4. Data Flow Architecture

4.1 File Operations Flow

4.2 Editor and LSP Flow

4.3 AI Assistance Flow

5. State Management Architecture

5.1 Store Structure

5.2 Store Data Models

6. Core Subsystems

6.1 Editor Subsystem

6.2 Terminal Subsystem

7. Electron Runtime Architecture

7.1 Electron Initialization

7.2 Build and Packaging

8. Security Architecture

9. Database Schema

10. Performance Optimization

11. Plugin System Architecture