GridAI Pro Code Studio Documentation

GridAI Pro is a next-generation autonomous AI software engineer, multi-format document intelligence engine, and industrial zero-cost AI gateway. Engineered with Google Antigravity IDE standards, GridAI combines Tier-1 High-Performance Free-Tier routing (1M token context) with Tier-2 Flagship Pro Escalation (DeepSeek R1, Claude 3.5 Sonnet, GPT-4o), multi-modal vision inspection, and universal document parsing across Web, Mobile, and Desktop environments.


⚑ Industrial Smart AI Gateway & Multi-Tier Cost Router$0.00 Base Cost

To sustainably power thousands of active users without incurring runaway API costs or sacrificing response quality, GridAI implements an enterprise Multi-Tier Smart AI Gateway (/lib/aiGatewayRouter.ts):

TIER 1 (FREE SOTA)

Zero-Cost High-Performance Engine

Fulfills 85–95% of daily requests (full React/Next.js components, API routes, refactoring, document analysis) at $0.00 USD cost with 1-Million token context:

  • nvidia/nemotron-3.5-lightning:free (1M context window)
  • nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free (Multimodal vision + CoT)
  • google/gemma-4-31b-it:free & gemma-4-26b-a4b-it:free
  • cohere/north-mini-code:free & liquid/lfm-2.5-2.6b:free
TIER 2 (ESCALATION)

Pro & Deep Reasoning Escalation

Automatically engages paid flagship models ONLY for heavy multi-file refactoring, deep algorithmic proofs, or when Tier-1 free pools are rate-limited:

  • deepseek/deepseek-r1 (Deep step-by-step reasoning)
  • qwen/qwen-2.5-coder-32b-instruct (Surgical SWE coding)
  • anthropic/claude-3.5-sonnet & openai/gpt-4o
  • google/gemini-2.0-flash-001 (High-speed vision & tool calls)

🧠 Real-Time Output Sanitizer & <thinking> Block Formatter

Reasoning tokens emitted by open models are parsed in real time by sanitizeGatewayOutput and converted into structured Antigravity <thinking>...</thinking> blocks, ensuring a polished, enterprise-grade user experience on every response.

πŸ“‘ Context-Aware Transcript & Large Log Parsing (1M Token Window)

When users paste massive conversation transcripts, multi-page logs, or huge codebase dumps with a short directive at the end (e.g. "what does line 42 mean?" or "fix this error"), GridAI's Attention Architecture isolates background reference material from active commands:

  • Positional Recency Weighting: Tokens at the tail of the message are automatically recognized as active user tasks.
  • Transcript & Timestamp Segmentation: Recognizes chronological time markers (4:07 AM, 4:24 AM) and quoted chat bubbles as historical reference.
  • Zero Context Truncation: With 1,000,000 tokens of active context, past turns and large stack traces are never dropped or omitted.

πŸ›°οΈ Autonomous Dynamic Model Discovery & Deprecation SentinelAuto-Pruning

AI models on global open routers frequently evolve, get renamed, or become deprecated without notice. To ensure 100% uptime and zero breaking changes, GridAI operates a continuous Live Model Auto-Discovery Sentinel (/lib/dynamicModelDiscovery.ts & /api/v1/models):

πŸ“‘

Live Catalog Auto-Discovery

Queries real-time model registries and catalogs to dynamically detect newly published high-performance open-weight models (Gemma, Llama, Nemotron, DeepSeek).

πŸ›‘οΈ

Automatic Deprecation Filter

Automatically parses deprecation headers, decommission notices, and degradation rates to prune sunset models from the routing pool before errors can reach users.

⚑

Zero-Cost Context Prioritization

Isolates verified $0.00 pricing tiers and ranks them by maximum context window (1M > 128k > 32k tokens) and multimodal vision capabilities with an in-memory SWR cache.

πŸ” Live Telemetry API: GET /api/v1/models

Developers can query GET /api/v1/models (or with ?refresh=true) to inspect live discovered model counts, active zero-cost pools, cache age, and sentinel health status in real time.


⚑ Real-Time Fluid Streamer & ChatGPT-Grade Audio PipelineZero Delay Output

To eliminate the sluggish character-by-character typewriter bottlenecks common in legacy AI wrappers, GridAI implements an enterprise Dynamic Token Burst Streamer & Non-Blocking Acoustic Engine (/dashboard/ChatGPTInterface.tsx & /lib/audioUtils.ts):

πŸš€

Dynamic Token Burst Sizing

Output chunk sizes dynamically adapt from 8 chars (short answers) to 120+ chars per tick (massive multi-file codebases), ensuring even 10,000-character outputs render in <1.2 seconds.

πŸ”Š

Non-Blocking Throttled Audio

Sound synthesis is completely decoupled from rendering. The 130ms acoustic throttle guard caps audio ticks at a pleasant cadence (~7 ticks/sec) without buffer saturation or stream stalls.

🎡

Harmonic Completion Chime

Upon generation completion, playStreamCompletionChime() synthesizes a gentle C5-E5-G5 harmonic sine wave cue confirming your AI response is ready.


πŸ“„ Universal Multi-Format Document Intelligence

GridAI features an industrial, serverless Document Engine (/api/v1/parse-document) capable of reading, decompressing, and extracting clean text and structural data from all standard file formats:

.DOCX / .DOC

Microsoft Word Documents

Powered by mammoth. Extracts clean plain text, headings, list structures, policy provisions, and table contents from Word documents without XML noise.

.PDF

PDF Documents & Policies

Powered by pdf2json and zlib stream inflation. Decodes custom CID /ToUnicode font character maps, strips TrueType font binaries (OS/2g, glyf) and ICC color profiles (HLino mntrRGB), producing 100% clean English text.

.VSDX / .SVG

Visio Drawings & Diagrams

Parses Visio drawings (.vsdx, .vsd), SVG vector diagrams, and Draw.io charts. Extracts shape labels, text nodes (<Text>, <Shape>), process flow steps, and connector labels.

.TXT / .MD / .CSV

Notepad & Data Files

Full support for plain text (.txt), Markdown (.md), JSON (.json), CSV spreadsheets (.csv), log files (.log), XML, HTML, and YAML configuration files with control character sanitization.

🧾 100.00% Verified Industrial OCR & Double-Entry Math Reconciliation

Image attachments, receipt scans, store invoices, and bill camera photos (.png, .jpg, .jpeg, .webp) are processed through GridAI's Industrial Vision Engine (reconcileReceiptData).

  • Multimodal Vision Pipeline: Direct high-resolution vision OCR powered by google/gemini-2.0-flash-001.
  • Double-Entry Bookkeeping Math Checksum: Verifies Quantity Γ— UnitPrice = LineTotal for every single item and checks Subtotal - Discounts = Grand Total.
  • Multi-Pass Self-Healing Loop: Executes a secondary self-healing pass if math discrepancies or missing line items are flagged.
  • Aisle-Categorized Supermarket Shopping Lists: Auto-groups items into 8 supermarket categories (Produce, Dairy, Meats, Bakery, Beverages, Snacks, Store Cupboard, Household).
  • 1-Click Document Export: Instantly compiles itemized audit reports into downloadable PDF and DOCX formats.

πŸ“Ή Multimodal Social Video & Reel Intelligence (Facebook Reels, X/Twitter, TikTok, YouTube)

GridAI features an industrial Multimodal Media Resolver (mediaExtractor.ts) that automatically parses attached video and social media URLs (Facebook Reels, X/Twitter videos, TikTok, YouTube Shorts, and Instagram Reels).

  • Link Detection & oEmbed Resolution: Detects social media links in user prompts and extracts author metadata, captions, thumbnails, and stream objects.
  • Audio Speech-to-Text & Keyframe Analysis: Extracts spoken dialogue, narration audio, and visual keyframe thumbnails for Gemini Vision ingestion.
  • Autonomous Action & Code Generation: If a video demonstrates a web application, code tutorial, or UI animation, GridAI automatically writes production code (<write_file>) to build it directly in the workspace.

🎨 Multimodal Image Studio & 46-Feature Neural SynthesizerGemini 2.5 Flash + Flux & SDXL Turbo

GridAI Image Studio (/api/v1/generate-image) provides ChatGPT GPT-4o Vision + DALL-E 3 grade multimodal synthesis across 46 industrial style presets with zero-loss curve preservation, intelligent stroke inspection, and multi-model neural failover:

46 PRESETS

Full Preset Suite

Complete coverage from CAD Blueprints, Neon Lights, and 3D Avatars to Classical Oil, Watercolor, Cutaway Schematics, Paper Origami, Claymation, and Pop Art Stickers.

VISION SYNTHESIZER

Multimodal Stroke Inspection

Powered by google/gemini-2.5-flash. Inspects arbitrary hand-drawn sketches (SVG vector lines), organic curves, spirals, characters, and photos to synthesize master prompts with zero hardcoded strings.

FAILOVER POOL

Resilient Multi-Engine Pool

Multi-tier failover routing across Flux Pro, SDXL Turbo, Flux Realism, and Master Diffusion with strict binary image header validation (0xFF 0xD8 JPEG / 0x89 0x50 PNG).

✨ Curve-Preserving Geometric Synthesis & Unconstrained User Prompts

The engine dynamically adheres to what users draw and type without regex heuristics or laser tunnel hallucinations:

  • Geometric Fidelity Directives: When a sketch with wavy curves or spirals is attached, neon light tubes, ink washes, or marble carvings are commanded along the exact drawn silhouette.
  • Dynamic User Instruction Fusion: Freeform user modifications (e.g. "Neon colour effect", "in front of waterfall", "cyberpunk rain reflections") seamlessly fuse with the detected subject.
  • Client Canvas Optimization: Automatic client-side canvas downscaling (max 800px, <80KB) ensures sub-second upload latency on both web and mobile.
  • Clean State Isolation: Instant canvas and prompt isolation when toggling between style presets.

⚑ Credit Engine, $5/Mo Pro Tier & 100k Scaling Blueprint$5.00/mo Pro

πŸ›‘οΈ Non-Paid Free Tier

10 Pts / 6 Hours ($0.00)

Free users operate on an automatic rolling quota system. Every 6 hours, non-paid user accounts are automatically replenished with +10 Free Credits. Free queries are serviced by high-throughput zero-cost engines (Groq LPUs, OpenRouter Free Pool, and Google AI Studio).

βœ“ 1M Token Context
βœ“ Multi-Model Racing
βœ“ Basic Doc Parsing
βœ“ Web Citations

⭐ GridAI Pro Member Plan ($5.00/Month)

700 Pts / Month + Automatic Rollover

GridAI Pro is aggressively priced at $5.00 USD per month to maximize global accessibility. It includes 700 Pro Credits every billing cycle, priority GPU LPU allocation, deep reasoning engine access (DeepSeek R1 / Gemini Thinking), 8K Studio renders, and 1-click PDF/Word document exports.

πŸ”„ Automatic Unused Credit Rollover

Unused Pro credits at the end of your 30-day billing cycle never expireβ€”they automatically roll over to your next month:New Month Balance = Unused Rolled Over Credits + 700 New Pro Credits

⚑ Priority Developer Capabilities

  • Unlimited multi-page PDF & CV parsing
  • 1-Click DOCX and styled PDF export
  • 8K Creative Studio across 33 Art Styles
  • Autonomous Local Disk & GitHub Commits

πŸ“ˆ Two-Stage Growth Architecture (1,000 β†’ 100,000 Users)

Scale TargetPrimary Compute LayerMonthly OpExEstimated Net Margin
Phase 1: 1,000 UsersGroq LPUs + Gemini 2.0 Flash + OpenRouter Sentinel$0 - $20 / mo95%+ (~$400/mo net)
Phase 2: 100,000 UsersUpstash Semantic Cache + BullMQ Queue + Sharded Pool$500 - $1,500 / mo90%+ (~$30,000/mo net)

🌐 Real-Time Web Citations & ChatGPT Action Cards

🌐

Sources & References Footer

When GridAI conducts real-time web research or reads external documents, it automatically appends an interactive Sources & References horizontal scroll card bar at the bottom of the AI answer bubble. Tap any source card (e.g. wikipedia.org, reuters.com, github.com) to view the full reference link.

πŸ“±

ChatGPT Home Action Cards

Starting a new session opens ChatGPT-style action cards for quick 1-tap workflows:

  • 🎨 Create Image & Vision: Visual design generation & photo analysis.
  • πŸ“ Write or Edit Document: Draft CVs, rewrite policies, and format text.
  • 🌐 Web Search & Research: Deep web search and real-time news retrieval.
  • πŸ“„ Analyze File / Document: Multi-format parsing for Word, Visio, PDF, and code.

⚑ Autonomous Workspace Engine & Local Disk Sync

GridAI features a zero-hesitation Autonomous Execution Engine capable of reading, inspecting, and writing files directly to your local computer hard drive (C:\...) or connected workspace folders:

1-CLICK DISK SYNC

Direct Local Hard Drive Access

Connect any physical folder (e.g. Virtual Machines or desktop directories) via the File System Access API or Desktop App. Code generated by GridAI writes directly to your local computer disk with zero confirmation delays.

RECURSIVE MANIFEST

Subfolder Directory Engine

Recursively indexes all subdirectories (e.g. Switch/, test/, Windows 11 x64/). Injects the full workspace relative path manifest and file contents into system context for comprehensive multi-folder audits.

ALL EXTENSIONS

Universal Developer Support

Full native support for .txt, .py, .c, .cpp, .java, .go, .rs, .sql, .yaml, .xml, .sh, .env, .svg, and empty folder initializations.

VISION MULTIMODAL

15 MB High-Res Image Analysis

Converts screenshots, UI wireframes, camera photos, and diagrams to Base64 Data URLs with up to 15 MB payload capacity for instant visual analysis by Gemini 2.0 Flash and GPT-4o Vision.


πŸ“„ Universal Document Intelligence & Binary Parsing SuiteNative Binary Stream

GridAI includes an enterprise document processing pipeline (/api/v1/parse-document and /api/v1/parse-pdf) capable of parsing multi-page complex binaries, resumes, spreadsheets, and technical documents with zero prompt requirements:

PDF ENGINE

Native Stream PDF Extractor

Directly extracts structural text, candidate credentials, tables, and section headings from multi-page PDFs (e.g. Anusha_Thilakarathna_Professional_CV.pdf) with 100% character fidelity and zero token truncation.

  • Raw binary buffer decompression with fallback resilience.
  • Extracts 6,000+ characters in under 120ms.
  • Preserves email, phone, certifications, and date chronology.
DOCX & XLSX

Office Document & Spreadsheet AST

Ingests Microsoft Word (.docx), Excel sheets (.xlsx), CSV tables, and Markdown files into normalized markdown AST representation.

  • 1-Click DOCX refactoring and tailored CV exports.
  • Spreadsheet formulas and table math verification.
  • Automated styling with executive headers and callouts.

⚑ Zero-Prompt Intent Analysis

When users upload documents or images without typing a specific instruction, GridAI autonomously inspects the content structure and executes appropriate professional analysis:

πŸ“„ Resumes & CVsExtracts candidate profile, clinical/technical skills, career chronology, and generates interview highlights.
πŸ›οΈ Technical / LegalAssesses municipal planning policy (e.g. Portsmouth HMO PCS20), compliance risks, and approval probabilities.
πŸ’» Source CodePerforms security audit, AST dependency mapping, memory leak diagnostics, and unit test generation.

πŸ† Industrial Platform Benchmark (GridAI vs. ChatGPT Plus vs. Antigravity IDE)

Feature / Dimension⚑ GridAI Pro StudioπŸ’¬ ChatGPT Plus ($20/mo)πŸ€– Antigravity / Cursor IDE
Pricing$0 Free Pool + $5.00/mo Pro$20.00/mo flatFree / $20.00/mo
AI Fleet & ModelsDeepSeek R1/V3, Llama 3.3 70B, Qwen 72B, Liquid LFMGPT-4o / o3-mini (OpenAI closed)Claude 3.5 Sonnet / Gemini 2.0
Failover ResilienceZero-Fail Cascade across 6 providersSingle provider (down if OpenAI fails)Single API key
Disk & Git SyncπŸ“ Direct Local Disk Sync (C:\) + GitHub Auto-Push❌ Sandboxed cloud container onlyπŸ“ Direct Local Disk Sync + Terminal
Creative Image Studio🎨 40+ Styles, 8K Vector Engine, Inpaint, Dual CompareπŸ–ΌοΈ Basic DALL-E 3 only❌ No creative studio
Document IntelligenceπŸ“„ Universal PDF, Word DOCX, Excel XLSX, OCR ExtractionπŸ“Ž Basic file attachmentsπŸ“„ Repo code inspection

πŸ›‘οΈ Security Architecture & Local Device Credentials Memory

GridAI implements the same client-side security standards used by Google Antigravity and VS Code:

πŸ” Local Device Storage & Session Persistence

Your GitHub Personal Access Token (PAT), repository URL, and connected workspace folder name are stored strictly on your local device/computer inside origin-isolated browser localStorage or Electron OS SafeStorage.

  • No Server Database Exposure: Tokens are never saved in 3rd-party tracking databases.
  • Direct TLS Authorization: Git operations send Authorization: Bearer github_pat_... headers directly to https://api.github.com.
  • Cross-Session Memory: Starting a New Chat automatically restores your connected workspace name and GitHub credentials.

🎯 Antigravity Structured Engineering Response Format

All technical responses, bug fixes, and code generation tasks follow Antigravity's structured engineering format:

🎯 Overview & Summary
πŸ” Root Cause Analysis
⚑ Industrial Fixes Deployed
πŸš€ Verification & Git Commit Hash

πŸ€– Antigravity-Grade Autonomous 4-Phase Agentic Protocol

GridAI implements the Google Antigravity 4-Phase Engineering Protocol, ensuring that all codebase operations follow strict inspection, formal planning, surgical execution, and automated self-healing loops:

PHASE 1 & 2

Workspace Inspection & Technical Roadmap

Uses <list_dir>, <view_file>, and <search_code> to inspect active files and AST symbols. Scoped queries (e.g. "only analyze gridai-studio") isolate targeted directories without unrelated file dumps.

Output format: GitHub Flavored Markdown (GFM) comparison matrices, status badges, and technical blueprints.

PHASE 3 & 4

Multi-Chunk Surgical Diff & Self-Healing

Applies surgical edits with <multi_replace_file_content> targeting non-contiguous code chunks in a single turn. Executes <verify_code> compiler diagnostics; upon error, the agent self-heals automatically.

<multi_replace_file_content path="src/app/page.tsx">
  <chunk start_line="1" end_line="10">
    <target>import OldHeader from './Old';</target>
    <replacement>import NewHeader from './New';</replacement>
  </chunk>
  <chunk start_line="150" end_line="160">
    <target>renderOldLayout()</target>
    <replacement>renderUpgradedLayout()</replacement>
  </chunk>
</multi_replace_file_content>
USER INQUIRIES

Interactive Clarification Modal (ask_question)

When requirements are underspecified, the agent pauses and renders an interactive multi-choice popup dialog with radio/checkbox cards, Skip, and Submit ↡ buttons.

  • Supports single-select radio and multi-select checkbox modes.
  • Blocks execution until the user selects and submits their response.
  • Injects <tool_result tool="ask_question"> back into the agent loop.
PLANNING MODE

Implementation Plan & "Proceed" Gate

Complex tasks enter Planning Mode generating <create_plan>. Opens a dedicated plan viewer with a prominent Proceed to Execution button that unlocks file modifications only upon user approval.

ASYNC TASKS

Background Task Engine (manage_task)

Runs long processes in the background with task IDs (task-xxx). Features live log streaming, reactive status tracking, and a top header ⚑ Tasks management HUD.

MCP TOOL BUS

Model Context Protocol (/api/v1/mcp)

Full JSON-RPC 2.0 tool server implementation connecting external enterprise tool buses, GitHub bots, and IDE plugins directly into the GridAI agent execution pipeline.

POST /api/v1/mcp
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "multi_replace_file_content",
    "arguments": { "path": "src/app/page.tsx", "chunks": [...] }
  },
  "id": 1
}
MODEL ROUTER

Frontier Model Router Gateway

Races active frontier reasoning models in parallel to deliver sub-second response times without static template fallbacks:

  • DeepSeek-Chat V3: High-speed general coding & AST analysis.
  • DeepSeek-R1: Complex multi-step reasoning & architecture design.
  • GPT-4o-mini: Rapid vision OCR & multimodal document processing.
  • Qwen-2.5-Coder-32B: Surgical refactoring & syntax verification.
ANTIGRAVITY PARITY

Google Antigravity-Grade Autonomous Execution Engine

GridAI Studio incorporates the full autonomous engineering protocols of Google Antigravity, replacing passive chatbot advice with direct, end-to-end task execution:

🧠 Always-On Chain-of-Thought (<thinking>)Deep reasoning pass decomposes complex requests, evaluates repository architecture, and plans surgical edits before executing tools.
⚑ 15-Turn Autonomous Execution LoopChains multiple tool calls (view_file βž” replace_file_content βž” verify_code βž” run_command) without stopping until the task is completely solved.
πŸ–₯️ Cloud Terminal Runner (/api/v1/terminal)Executes real sandboxed shell commands directly in the cloud container, capturing stdout, stderr, and exit codes for browser web studio users.
🩹 AST Verification & Self-Healing LoopRuns syntax checks and TypeScript verification on edited files; automatically generates surgical self-healing diffs if compiler errors are flagged.

⚑ Complete In-Studio Autonomous Tool Suite Reference

Tool XML TagAutonomous Execution ActionPlatform Target
<view_file path="..." />Inspects source files with start/end line slice supportWeb & Desktop
<search_code query="..." />Searches codebase for symbols, functions, and classesWeb & Desktop
<replace_file_content path="...">Surgically replaces target blocks without whole-file rewritesWeb & Desktop
<write_file path="...">Creates new files, components, and routes in workspaceWeb & Desktop
<run_command command="..." />Executes real shell commands via server-side /api/v1/terminalWeb & Desktop
<verify_code path="..." />Verifies AST syntax and triggers autonomous self-healing loopsWeb & Desktop
commit_push (Git API)Auto-commits to GitHub & triggers live Vercel/Render deploymentsMulti-Cloud
MULTI-CLOUD CI/CD

Autonomous Multi-Cloud CI/CD (GitHub + Vercel + Render)

When GridAI modifies or generates code, it seamlessly synchronizes the entire multi-cloud deployment pipeline under the hood:

  • Atomic Git Database Commits: Pushes tree updates directly to kosalabtw/gridai-professional-dex:main via /api/v1/git.
  • Automated Vercel Deployment: GitHub webhooks instantly trigger production builds, deploying updates live to gridai.studio/dashboard β†—.
  • Automated Render Sync: Pings Render deployment hooks to hot-reload backend microservices and neural engine workers simultaneously.
  • Zero Manual Terminal Burden: No manual git push or credential setup required from the user.
STANDARDS

Industrial Engineering 3-Part Response Protocol

Every engineering solution, bug diagnosis, and refactor is deterministically structured according to institutional standards:

πŸ› οΈ 1. Root Cause DiagnosisRigorous technical analysis of underlying failures (AST violations, hydration crashes, state races).
πŸ’‘ 2. Technical ResolutionStructural architecture fixes, surgical diff tool execution, and regression prevention.
πŸš€ 3. Summary & StatusModified files manifest, 0-error compiler diagnostics, and live deployment telemetry.
SECURITY

Zero-Trust User Authorization & Client Sandbox Isolation

GridAI implements multi-tiered security barriers ensuring strict owner isolation across public web, desktop, and mobile environments:

  • Owner-Guarded Admin Infrastructure: All administrative endpoints (/api/admin/*) enforce strict owner email verification (kosalabt@hotmail.com / kosala@gridai.studio) and master key validation, rejecting unauthorized visitors with 403 Forbidden.
  • Mandatory Token Verification for Git Writes: Remote commit and pull request operations (/api/v1/git) strictly require user-supplied Personal Access Tokens, preventing public visitors from writing to the private repository.
  • Client-Side Sandbox Isolation: Personal Access Tokens and session state reside strictly in your local device's isolated localStorage, with 0 exposure to external visitors.
  • Hardware SSH Isolation: Local desktop operations execute directly through your physical machine's SSH key (~/.ssh/id_rsa), ensuring zero external network exposure.
PRODUCTIVITY

Antigravity 1-Click Quick Actions & Global Shortcuts

Execute complex engineering operations with 1-click floating action chips and universal keyboard shortcuts:

⚑ /fix
Auto-repair bugs
πŸ“‹ /plan
Architecture plan
πŸ§ͺ /test
Generate test suite
πŸš€ Deploy
Git & Vercel push

⌨️ Ctrl+K / Cmd+K: Instant focus to Copilot Agent prompt

⌨️ Ctrl+B / Cmd+B: Toggle Explorer File Tree sidebar

⌨️ Escape: Dismiss any open modal or popover


Cross-Platform Native Deployment (v2.6.2)

πŸͺŸ Windows & macOS Desktop

Full local filesystem I/O, terminal command safety gates, resizable panel states, and automated Git Database API atomic commits.

πŸ“± Android & iOS Mobile

Touch-optimized AI interface, camera receipt OCR with double-entry math validation, and voice dictation support.

.APK (Android)iOS (Safari PWA)

🧩 VS Code & Linux

Official VS Code / Cursor IDE marketplace bundle and standalone Linux AppImage portable binaries.


⚑ Google Antigravity 2.0 Architectural Enginev2.6.2

GridAI incorporates 1:1 Google Antigravity autonomous capabilities, enabling complete visibility, interactive decision gating, multi-task background processing, and self-healing compiler loops:

πŸ’¬ Interactive Inquiries Modal (ask_question)

When the agent requires clarification or architectural design approval, execution pauses and renders an interactive choice modal with (Recommended) cards, multi-select checkboxes, and custom write-in inputs.

πŸ“‹ Implementation Plan & Proceed Gate (create_plan)

Architectural plans are rendered in a structured blueprint drawer with User Review Required, Proposed Changes, and Verification Plan. Features an executable "Proceed" gate before modifying code.

⚑ In-Editor Side-by-Side Monaco Diff Mode

Toggles seamlessly between single-file code editing and native side-by-side / inline Diff mode. Highlights red/green line deletions and additions with line-level change counters.

βš™οΈ Background Task & Daemon Manager (manage_task)

Spawns and monitors long-running support daemons, background test runners, and recurring cron schedules (schedule) with live log streaming, CPU/uptime telemetry, and kill controls.


πŸ›‘οΈ Cyber Defense & Autonomous Security RemediationEnterprise Defense

In response to the growing wave of AI-driven cybersecurity threats, GridAI provides an industrial, zero-trust Perimeter & Workspace Security Auditor (/api/v1/security-audit) with 1-click autonomous remediation:

🌐 Live Web Endpoint & OWASP Perimeter Scanner

Audits live domains and online APIs for Content-Security-Policy (CSP), Strict-Transport-Security (HSTS), X-Frame-Options clickjacking protection, wildcard CORS credential leaks, and cookie security flags (HttpOnly; Secure; SameSite).

⚑ 1-Click Autonomous Patch & GitHub Commit

For every discovered vulnerability, GridAI generates exact, production-ready code patches (e.g. Next.js security middleware, sanitization wrappers, parameterized queries). Clicking "Auto-Fix & Commit" immediately applies the patch and commits it to your GitHub repository.


πŸ–₯️ GridAI Studio Desktop & Antigravity 2.0 / IDE Parity (v3.0.0)v3.0.0 Parity

GridAI Studio Desktop is an autonomous, AI-first integrated development environment and desktop application built to match and exceed the capabilities of Google Antigravity 2.0 and Antigravity IDE:

⚑

Native Host Shell Runner

Executes native host commands via PowerShell / Bash with a 15MB buffer and live streaming logs directly inside the Monaco terminal.

πŸ“‚

Local Disk Workspace Sync

Open and bind any local folder (C:\Users\...) via native OS folder picker with recursive file tree hydration on launch.

⌨️

Inline Command (Ctrl+I)

Press Ctrl+I anywhere in the editor to open a floating prompt HUD for surgical in-editor code refactoring.

πŸ€– Autonomous 4-Phase Engineering Protocol

  • 1. Research & Discovery: Inspects exact source lines (<view_file>) and searches patterns across files (<search_code>).
  • 2. Implementation Planning: Generates Antigravity-style structured implementation plans (<create_plan>).
  • 3. Surgical Code Modification: Applies targeted chunk replacements (<replace_file_content>) without whole-file destruction.
  • 4. Autonomous Verification: Validates AST syntax (<verify_code>) and runs build/test suites (<run_command>) with self-healing iterations.

🎨 Creative Image Studio & Inpainting Engine40+ Presets & Vision

The GridAI Image Studio combines multi-endpoint latent diffusion routing (Flux, Turbo, Sana, and Base64 Data URL synthesis) with interactive hands-on creative tools:

40+ STYLES

Industrial Creative Presets

Features specialized aesthetic formulas including Technical Blueprint CAD, Studio Ghibli/Shinkai Anime, 3D Pixar Characters, Die-Cut Vinyl Stickers, Sepia Journal Field Notes, Lapel Badges, Retro 80s Neon Synthwave, and Figma Mobile UI Mockups.

INPAINTING

Interactive Smart Brush & Inpainting

Paint targeted mask overlays directly on generated artwork or reference sketches to add, replace, or refine specific objects without regenerating the entire composition.

DUAL COMPARE

Side-by-Side Style Comparison

Render two distinct artistic styles in parallel (e.g. Anime vs. Cyberpunk or Blueprint vs. 3D Avatar) to compare lighting, contours, and composition side-by-side.

3D MOTION

3D Depth & Motion Parallax

Interactive perspective tracking reacts to mouse and touch movements, producing realistic 3D depth parallax, surface gloss, and cinematic presentation.

⚑ 4-Step Diffusion Sampler & Multi-Model Reliability

  • Step 1: Text Prompt Encoding β€” Enriches user subjects with tailored aesthetic parameters and quality boosters.
  • Step 2: Multimodal AI Vision Alignment β€” Analyzes uploaded photos or hand sketches in <1s to preserve subject identity and anatomy.
  • Step 3: 45-Step Latent Diffusion β€” Races high-speed latent pipelines (Turbo / Flux) with automatic retry shields to prevent broken image timeouts.
  • Step 4: 8K Upscaling & Base64 Delivery β€” Inlines valid Base64 data URLs to eliminate CORS issues and adblocker interference.

πŸ“± Mobile Multi-Touch Gestures, Pinch Zoom & Deep-Zoom LightboxNative Multi-Touch

Designed for responsive mobile touchscreens (iOS Safari & Android Chrome), GridAI features full Multi-Finger Pinch Zooming and an interactive Deep-Zoom Lightbox Inspector:

🀏

Native Pinch-to-Zoom

Configured with user-scalable=yes, maximum-scale=5.0, and CSS touch-action: pan-x pan-y pinch-zoom for fluid two-finger zooming and panning anywhere on mobile.

πŸ”

Deep-Zoom Lightbox

1-click fullscreen darkroom lightbox with dedicated οΌ‹ / - controls, 100% fit-to-screen toggle, and up to 500% high-resolution inspection.

πŸ‘†

Double-Tap Zoom Toggle

Quick double-tap gesture on any generated image card instantly switches between 100% overview and 200%–250% detail magnification with zero latency.


πŸš€ Developer Cloud IDE, Live Sandboxes & Multiplayer Pair Programming

The GridAI Developer Cloud IDE provides a zero-setup, in-browser development environment powered by WebContainers, live sandbox previews, and real-time multiplayer pair programming:

SANDBOX

1-Click Live Preview Sandbox

Execute Node.js, React, and Next.js applications directly in the browser via WebAssembly. Features Hot Module Replacement (HMR), device viewport emulation (Desktop, Tablet, Mobile), and 1-click shareable preview URLs.

MULTIPLAYER

Real-Time Pair Programming & Live Share

Collaborate with teammates in real time using CRDT-synchronized state (Yjs). Includes multi-cursor tracking, shared terminal outputs, and synchronized AI code synthesis across Web and Desktop instances.

πŸ–₯️ Desktop Native Architecture vs. Cloud Sandbox

On the GridAI Desktop App (Electron / Tauri), developers leverage full hardware capabilities:

  • Native OS Processes: Spawns real local servers (localhost:3000, Python, Rust, Docker) with multi-core CPU and GPU acceleration.
  • Encrypted Tunnels: 1-click Cloudflare & P2P tunnels broadcast local dev ports to temporary HTTPS endpoints for live mobile testing.
  • Full Offline AI Routing: Continues local code indexing, AST parsing, and workspace editing without an active internet connection.