# Photon > Photon (https://getphoton.in) is an IDE-agnostic, local-first AI coding assistant engineered so compact 2B–16B parameter local LLMs (via Ollama and llama.cpp, with LM Studio and vLLM detection) reliably inspect, plan, edit, and verify real multi-file codebases on 4–16 GB VRAM consumer GPUs and Apple Silicon — with an isolated, zero-markup Bring-Your-Own-Key (BYOK) Cloud Engine one explicit toggle away. Photon's core runtime (`src/core/`) is written in pure TypeScript with zero editor dependencies. It installs natively as a universal extension across **Cursor**, **Google Antigravity**, **Visual Studio Code**, **Windsurf**, **VSCodium**, and Open VSX / Code-OSS 1.90+ editors, and also runs as a standalone **Local Browser Workbench** (`http://localhost:4321`) alongside terminal or external-editor workflows. ## Why Developers Choose Photon - **IDE-Agnostic Local Agent:** Bring free, 100% offline agentic coding into Cursor, Google Antigravity, VS Code, Windsurf, or VSCodium without vendor lock-in, monthly subscriptions, or token quotas. - **Engineered for Compact 2B–16B Local Models:** Solves context overflow and JSON tool-call failures on 4–16 GB GPUs via hardware-measured **KV-Cache & VRAM Guardrails**, **Inverse Cognitive Scaffolding**, a **>40%-lighter Dual Tool Protocol** (`Photon-Block` + compact JSON), a live **Reliability Governor**, and an on-device **Capability Passport**. - **Complete Guarded Workflow:** Three modes (`Chat`, `Plan`, `Agent`), `17` built-in developer tools, SHA-256 verified Model Context Protocol (`MCP`) servers, `75%` automatic context compaction, offline semantic RAG (`nomic-embed-text`), and lazy pre-mutation checkpoints with 1-click `/revert` and `/rewind`. - **Direct BYOK Cloud on Demand:** Dedicated native Cloud Engine for Anthropic Claude, OpenAI, Google Gemini, NVIDIA NIM, OpenRouter, OpenCode Zen, Blackbox AI, and custom OpenAI-compatible endpoints (Groq, DeepSeek, Mistral, Together, xAI). API keys stay in encrypted OS/editor `SecretStorage` with zero proxy servers and zero silent fallback from Local mode. ## Key Facts - **Entity Disambiguation:** Photon AI Coding Assistant (`https://getphoton.in`), created by Rahul Raj — distinct from Exit Games Photon networking or VMware Photon OS. - **Pricing:** Free ($0) forever locally; direct provider API billing with $0 markup for optional BYOK cloud. - **Platforms:** Windows, macOS (Intel & Apple Silicon unified memory), and Linux. - **Recommended Local Models:** `qwen2.5-coder:7b` (6–8 GB VRAM), `qwen2.5-coder:3b` or `phi4-mini` (4 GB VRAM / CPU), `gemma4:e4b` (4–6 GB VRAM multimodal), `qwen2.5-coder:14b` / `qwen3` / `deepseek-r1` (12–16+ GB VRAM), and `nomic-embed-text` (offline workspace RAG). ## Documentation & Links - [Product Walkthrough Video (0:55)](https://getphoton.in/#demo): 55-second 1080p demo (`https://getphoton.in/media/photon-demo-1080p.mp4`) showing local-first planning, multi-file edits, hardware VRAM sizing, and `/revert` checkpoints. - [Technical Documentation](https://getphoton.in/docs/): Multi-IDE setup commands, VRAM model sizing guide, Adaptive Intelligence architecture, all 17 tools, MCP security, and configuration reference. - [Complete LLM Technical Reference](https://getphoton.in/llms-full.txt): Single-file comprehensive Markdown specification for AI assistants, search engines, and researchers. - [Install in VS Code (1-click)](vscode:extension/getphoton.photon-ai) & [Install in Cursor (1-click)](cursor:extension/getphoton.photon-ai) - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=getphoton.photon-ai): Web listing (`getphoton.photon-ai`) or CLI `code --install-extension getphoton.photon-ai`. - [Open VSX Registry](https://open-vsx.org/extension/getphoton/photon-ai): Live extension for Antigravity IDE, Windsurf, VSCodium, and Code-OSS 1.90+. - [Universal VSIX Releases](https://github.com/Rahul7177/photon/releases): Direct `.vsix` downloads for offline installs.