Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

157 Commits

Repository files navigation

guIDE — The AI-Native Desktop IDE

guIDE Logo

Your code. Your models. Your machine. No cloud required.

A source-available, local-first IDE with built-in LLM inference, 52 autonomous MCP tools, browser automation, RAG-powered code intelligence, and 9 cloud AI providers — all in a single Electron desktop app.


Why guIDE Exists

VS Code is an incredible editor — but it was designed before the AI era. Every AI extension bolted onto VS Code requires a cloud subscription, sends your code to external servers, and gives you limited control over the models, prompts, and tooling.

guIDE was built from the ground up as an AI-native IDE:

VS Code + ExtensionsguIDE
AI integrationBolt-on extensions (Copilot, Cursor)Built into the core architecture
Local LLMNot supported nativelynode-llama-cpp with CUDA/Vulkan GPU acceleration
Your dataCode sent to cloud APIsRuns entirely on your machine — no telemetry, no cloud dependency
Tool useExtensions call their own cloud APIs52 MCP tools the AI calls autonomously — files, terminal, browser, git, memory
Browser automationRequires separate tools (Playwright, Puppeteer)Built-in BrowserView with 15 browser tools the AI controls directly
Cost$10-20/month for CopilotFree forever with local models. Optional cloud with free-tier providers pre-configured
ContextLimited to open filesRAG indexes your entire codebase. Persistent memory across sessions
CustomizationExtension marketplaceDirect source access — modify prompts, tools, UI, everything

Why Local-First Matters

  • Privacy: Your code never leaves your machine. No training on your proprietary code.
  • Speed: Local inference with GPU acceleration. No network latency.
  • Offline: Works without internet. Perfect for classified environments, airplanes, or unreliable connections.
  • Cost: No subscriptions. Download a model once, use it forever.
  • Control: You choose the model, the context window, the GPU layers. Fine-tune the system prompt.

Features at a Glance

Core IDE

  • Monaco Editor — The same editor engine as VS Code: syntax highlighting, IntelliSense, multi-cursor, minimap, bracket matching, code folding
  • Integrated Terminal — Full PTY terminal (node-pty + xterm.js) with multiple tabs, AI-powered IntelliSense suggestions
  • File Explorer — Tree and grid views, multi-select, drag & drop (internal + from Windows Explorer), copy/paste (Ctrl+C/X/V), context menus
  • Command PaletteCtrl+Shift+P for quick access to all commands
  • Split EditorCtrl+\ for side-by-side file editing
  • Inline ChatCtrl+I for AI-powered inline code editing directly in the editor
  • Next Edit Suggestions — Tab-to-accept ghost text completions (AI predicts your next edit)
  • Markdown, HTML & SVG Preview — Live preview toggle for documentation, web pages, and vector graphics
  • JSON Preview — Collapsible tree view with syntax highlighting for JSON files
  • CSV/TSV Table Preview — Sortable table view for data files
  • YAML/TOML/XML Preview — Syntax-highlighted formatted preview
  • Code Runner — F5 to run in 50+ languages and file types (Python, JavaScript, TypeScript, C/C++, Rust, Go, Java, Ruby, PHP, Haskell, Clojure, Nim, Zig, Fortran, and many more)
  • Cross-File Search — Search and replace across your entire project with optional AI-powered semantic search
  • 8 Themes — Dark Default, Monokai, Dracula, Nord, Solarized Dark, GitHub Dark, Light, Catppuccin Mocha
  • 364 File Icons — Vivid SVG icons for every file type via file-icon-vectors
  • Custom Titlebar — Native-feeling frameless window with integrated menu
  • Bracket Content SelectionCtrl+Shift+[ to select contents between matching brackets
  • Git Blame Decorations — Inline author and date annotations for each line
  • Paste with Auto-Imports — Automatically adds missing imports when pasting React/common code
  • Custom Instructions.prompt.md files for project-specific AI context injection
  • Drag Files into Chat — Drop code files directly into the AI chat for context
  • Mermaid Diagrams in Chat — Live SVG rendering of Mermaid.js diagrams in AI responses
  • Context Window Indicator — Visual progress bar showing token usage in chat input

AI Assistant

  • Local LLM Inference — Load any GGUF model (Qwen, Llama, Mistral, DeepSeek, etc.) via node-llama-cpp
  • CUDA & Vulkan GPU Acceleration — Auto-detects your GPU and offloads model layers
  • Adaptive Context Window — Automatically maximizes context based on available system RAM (up to 32K tokens)
  • Flash Attention — Memory-efficient attention for larger context windows
  • Streaming Responses — Real-time token-by-token output with thinking model support
  • Smart Context Budgeting — Priority-based prompt assembly (memory → tools → errors → RAG → code → web search)
  • Agentic Mode — Multi-step autonomous coding with up to 100 iterations
  • Plan Mode — Toggle between direct execution and plan-first reasoning in chat
  • Multi-Agent / Background Agents/agent command to spawn autonomous background tasks
  • Thinking Models — Collapsible reasoning display for models with chain-of-thought (DeepSeek, Qwen R1)
  • MCP Server Management UI — Visual panel to configure, enable/disable, and monitor MCP servers

Debug Framework

  • Node.js Debugging — Chrome DevTools Protocol (CDP) integration for breakpoints, stepping, variable inspection
  • Python Debugging — debugpy DAP (Debug Adapter Protocol) support
  • Debug Panel — Full UI with breakpoints list, variables, call stack, stepping controls (Ctrl+Shift+D)

Cloud LLM Support (9 Providers)

All providers come pre-configured with API keys — start chatting immediately:

ProviderModelsNotes
Google Gemini2.5 Flash, 2.5 Pro, 2.0 FlashDefault provider — generous free tier
GroqLlama 3, MixtralUltra-fast inference
OpenRouter100+ modelsDynamic model fetching
CerebrasLlama 3.1Fastest cloud inference
SambaNovaDeepSeek, Llama, QwQFast and free
APIFreeLLMCommunity modelsFree tier
OpenAIGPT-4o, GPT-4 TurboBring your own key
AnthropicClaude Sonnet 4, Claude 3.5Bring your own key
xAIGrok 3, Grok 3 MiniBring your own key

Automatic Fallback Chain: If one provider hits rate limits, guIDE automatically tries the next.

52 MCP Tools (Autonomous Agent Actions)

When Agentic mode is enabled, the AI can use any of these tools autonomously:

File Operations (17 tools)
ToolDescription
read_fileRead file contents (supports partial reads by line range)
write_fileCreate or overwrite files
edit_fileReplace specific text in a file (surgical edits with undo support)
delete_fileDelete files
rename_fileRename or move files/directories
copy_fileCopy files
append_to_fileAppend content to the end of a file
create_directoryCreate folders
list_directoryList folder contents
find_filesFind files by glob pattern
get_file_infoGet file size, dates, metadata
search_codebaseBM25 search through indexed code
get_project_structureFull project tree overview
grep_searchRegex search across files
search_in_fileSearch within a specific file
diff_filesCompare two files
replace_in_filesFind and replace across multiple files
Browser Automation (15 tools)
ToolDescription
browser_navigateNavigate to any URL
browser_clickClick elements using CSS selectors
browser_typeType into input fields
browser_screenshotCapture page screenshots
browser_get_contentRead page text/HTML content
browser_evaluateExecute JavaScript on the page
browser_list_elementsList all interactive elements with CSS selectors
browser_wait_for_elementWait for an element to appear
browser_scrollScroll up/down on the page
browser_waitWait for page to settle
browser_backNavigate back in history
browser_selectSelect dropdown options
browser_hoverHover over elements
browser_get_urlGet the current page URL
browser_get_linksGet all links on the page
Terminal & System (4 tools)
ToolDescription
run_commandExecute shell commands (configurable timeout)
install_packagesInstall npm/pip packages
check_portCheck if a port is in use
http_requestMake HTTP requests
Git (7 tools)
ToolDescription
git_statusCurrent branch and changed files
git_commitStage all and commit
git_diffView file diffs
git_logView commit history
git_branchCreate/switch/list branches
git_stashStash or apply changes
git_resetReset changes
Web, Memory & Utilities (9 tools)
ToolDescription
web_searchDuckDuckGo search (no API key needed)
fetch_webpageFetch and extract page content
save_memoryPersist notes across sessions
get_memoryRecall saved information
list_memoriesList all saved memory keys
analyze_errorTrace errors through codebase
undo_editUndo a previous file edit
list_undoableList files with undo history
open_file_in_editorOpen a file in the editor UI

RAG System (Retrieval-Augmented Generation)

  • BM25 Codebase Indexing — Indexes your entire project for relevant code retrieval
  • Context-Aware Responses — AI knows about your codebase without sending it anywhere
  • Auto-Indexing — Re-indexes when you open a project folder

Browser Tab

  • Integrated Browser — Browse the web as a tab in the editor viewport
  • AI-Controlled — The 15 browser tools let the AI navigate, click, type, and read pages
  • Auto-Show — Browser tab opens automatically when AI uses browser tools
  • URL Bar — Manual navigation with back/forward/reload controls
  • Smart Element Listing — After every page interaction, guIDE auto-lists interactive elements so the AI knows what to click next

Git Integration

  • Source Control Panel — View changed files, stage/unstage, commit
  • Branch Management — Checkout, create, view ahead/behind indicators
  • Inline Diffs — View file diffs for staged and unstaged changes

Speech

  • Voice Input — Groq Whisper-powered speech-to-text for hands-free prompting
  • Text-to-Speech — Read AI responses aloud using system speech synthesis

System Monitoring

  • CPU & RAM Gauges — Real-time system resource usage in the status bar
  • LLM Performance — Tokens/sec and context usage indicators

Image & Media Input

  • Drag & Drop — Drop images directly into the chat
  • Clipboard Paste — Paste screenshots with Ctrl+V
  • File Attach — Click the paperclip button to attach images
  • Vision Models — Auto-detects vision-capable models for image analysis

Quick Start

Prerequisites

  • Node.js 18+ and npm 9+
  • Visual C++ Build Tools (for native modules on Windows)
  • NVIDIA GPU + CUDA drivers (optional, for GPU acceleration)

Install & Run

git clone https://github.com/FileShot/guIDE.git
cd guIDE
npm install
npm run dev

Or on Windows, double-click START_NOW.bat.

GGUF Models

Place .gguf model files in either:

  • The project root directory
  • A models/ subdirectory

The IDE auto-detects and loads the first available model. Switch models via the AI Chat panel dropdown.

Recommended:Qwen 2.5 Coder 7B Q4_K_M (~4.7 GB)

GPU Configuration

guIDE automatically detects your GPU and optimizes accordingly:

GPUBehavior
NVIDIA (CUDA)Auto-detected, model layers offloaded to GPU
AMD (Vulkan)Auto-detected via Vulkan backend
CPU-onlyFalls back gracefully with optimized context sizing

For a 4GB VRAM GPU (e.g., RTX 3050 Ti):

  • ~20-28 of 32 model layers offloaded to GPU
  • KV cache stored in system RAM for larger context windows
  • Flash attention enabled for memory efficiency

Keyboard Shortcuts

ShortcutAction
Ctrl+Shift+PCommand Palette
Ctrl+BToggle Sidebar
Ctrl+`Toggle Terminal
Ctrl+JToggle AI Chat
Ctrl+IInline Chat (AI edit at cursor)
Ctrl+Shift+EFile Explorer
Ctrl+Shift+FSearch in Files
Ctrl+Shift+GSource Control (Git)
Ctrl+Shift+DDebug Panel
Ctrl+Shift+XExtensions / MCP Servers
Ctrl+SSave File
Ctrl+Shift+SSave All Files
Ctrl+NNew File
Ctrl+OOpen File
Ctrl+PQuick Open File
Ctrl+FFind in File
Ctrl+HFind & Replace
Ctrl+\Split Editor
Ctrl+Shift+[Select Bracket Contents
F5Run Current File
TabAccept Next Edit Suggestion
F11Toggle Fullscreen

Architecture

electron-main.js # Main process — IPC hub, AI chat handler, 100-iteration agentic loop
preload.js # Context bridge — secure API surface for renderer
scripts/
launch.js # Dev launcher (Vite + Electron, concurrent)
main/
llmEngine.js # node-llama-cpp — CUDA/Vulkan, GPU layer management, flash attention, thinking models
modelManager.js # GGUF model scanning & hot-swap
ragEngine.js # BM25 codebase indexing & retrieval (no embedding model needed)
terminalManager.js # node-pty terminal management
webSearch.js # DuckDuckGo web search (HTML scraping, no API key)
mcpToolServer.js # 52 MCP tools — autonomous LLM actions with fuzzy name matching
browserManager.js # Electron BrowserView + Chrome CDP + element listing
memoryStore.js # Persistent AI memory store (JSON on disk)
cloudLLMService.js # 9 cloud providers with automatic fallback chain
gitManager.js # Git operations (simple-git)
src/
components/
Layout/ # Main layout, activity bar, status bar, menu bar, command palette, theme picker, welcome guide
Editor/ # Monaco editor, tabs, search/replace, split editor, markdown/HTML preview, code runner
Chat/ # AI chat panel — streaming, thinking display, tool terminal output, image input
Terminal/ # xterm.js integrated terminal with multiple tabs
Search/ # Cross-file search with regex support
FileExplorer/ # File tree (list + grid), multi-select, drag & drop, copy/paste, 364 file icons
Browser/ # Embedded browser panel with URL bar and overlay management
SourceControl/ # Git source control panel — stage, commit, diff, branches
services/ # Frontend service layer (editor, file system, LLM, electron bridge)
types/ # TypeScript type definitions
config/ # Editor & LLM configuration constants

What I Built vs What I Reused

This is a solo project. Here's an honest breakdown:

Built from scratch (original work)

  • The entire AI integration layer — agentic loop, tool execution pipeline, context budgeting, stuck detection, auto-continue, nudge system
  • 52 MCP tool implementations — every tool handler, parameter validation, result formatting
  • Browser automation system — BrowserView management, element listing, CSS selector extraction, auto-inject page state
  • RAG engine — BM25 indexing, token-aware context retrieval
  • Cloud LLM service — 9-provider abstraction with automatic fallback chain, streaming, vision support
  • Memory system — persistent cross-session AI memory
  • All React components — layout, chat panel, file explorer, source control, browser panel, theme system
  • System prompt engineering — tool definitions, browser workflow, thinking model detection
  • Electron IPC architecture — 100+ IPC handlers connecting renderer to main process
  • File explorer features — grid/list view, multi-select, drag & drop, copy/paste, context menus
  • Theme system — 8 themes with CSS variable overrides mapping 30+ Tailwind arbitrary colors

Libraries and technologies used (not reinvented)

  • Electron — desktop shell and native OS integration
  • React + TypeScript — UI framework
  • Monaco Editor — code editor component (same engine as VS Code)
  • node-llama-cpp — GGUF model loading and inference
  • xterm.js + node-pty — terminal emulator and PTY
  • Tailwind CSS — utility-class styling
  • Vite — build tool and dev server
  • simple-git — git operations
  • DuckDuckGo — web search (HTML scraping, no official API)
  • file-icon-vectors — SVG file type icons
  • electron-builder — Windows NSIS installer packaging

Tech Stack

ComponentTechnology
Desktop ShellElectron 27
RendererReact 18 + TypeScript
Build ToolVite 4
Code EditorMonaco Editor 0.44
LLM Inferencenode-llama-cpp 3.15 (CUDA/Vulkan)
Terminalnode-pty + xterm.js 5.4
StylingTailwind CSS 3
RAG SearchBM25 (no embedding model needed)
BrowserElectron BrowserView + Chrome CDP
Web SearchDuckDuckGo (HTML scraping)
Installerelectron-builder (NSIS)
File Iconsfile-icon-vectors (364 SVGs)

Building for Distribution

# Build the renderer (React app)
npx vite build
# Package as Windows installer (.exe)
npx electron-builder --win

The installer (guIDE Setup 2.0.0.exe) will be in dist-electron/.


Author

Brendan Gray — Computer Science Student

Built as a solo project. This is my work — please respect the license.

Support the Project

If guIDE is useful to you, consider supporting continued development:


License

Source Available — Copyright (c) 2025-2026 Brendan Gray. All Rights Reserved.

You may view, download, and use this software for personal, non-commercial purposes. You may not rebrand, redistribute, sell, or claim this work as your own.

See LICENSE for full terms.


guIDEYour code, your models, your machine.

About

guIDE — The AI-Native Code Editor. Local LLM inference, 53+ MCP tools, 8+ cloud providers, agentic AI loop. Your AI. Your Machine. No Limits.

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages