AI-powered code editor built on VSCode with inline editing and codebase awareness.
PearAI is an open-source AI code editor forked from VSCode with integrated AI capabilities. It provides inline code editing via CMD+I, contextual AI chat with codebase indexing, and custom slash commands for common tasks. Solo developers seeking a familiar IDE experience with AI assistance built directly into their editor may prefer this Lovable alternative. Code remains stored locally on the developer's computer.
Developers who want AI assistance integrated into their existing code editor workflow. Ideal for those working on established codebases who need contextual code understanding.
PearAI delivers AI-powered coding assistance as a VSCode fork with inline editing and codebase awareness. The $15/month subscription provides access to frontier models with credit-based usage. Developers seeking AI integration within a traditional IDE will find PearAI familiar. This Lovable alternative suits those working on existing codebases who want contextual code understanding in their editor.
PearAI is an open-source fork of VSCode with integrated AI capabilities built directly into the editor. It adds inline AI editing via CMD+I that shows code diffs, AI chat with automatic codebase context retrieval, and slash commands for tasks like generating commits or tests. Unlike VSCode with AI extensions, PearAI integrates these features at the editor level.
PearAI charges $15/month and measures usage in credits that depend on input prompt size, output length, model used, and AI tool selected. Current subscribers receive grandfathered early-bird pricing permanently. When monthly limits are reached, the system automatically switches to unlimited Claude 3.5 Haiku. Additional credits can be purchased and never expire.
Yes. PearAI supports bringing your own API key for multiple providers including Ollama, LM Studio, llamafile, llama.cpp, and other OpenAI-compatible APIs. This allows developers to run models locally without cloud API costs while maintaining the same editor interface.
The PearAI server provides Claude 3.5 Sonnet (latest), Claude 3.5 Haiku (unlimited fallback), GPT-4o (latest), OpenAI o1-mini, o1-preview, and Gemini 1.5 Pro. With custom API keys, it supports Claude, OpenAI, Google Gemini, Azure OpenAI, Mistral, Cohere, Groq, DeepSeek, TogetherAI, WatsonX, and other compatible providers.
PearAI stores code locally on your computer and provides context about your codebase for AI queries. When using PearAI's hosted models, code snippets are sent to cloud AI providers for inference. Developers can use local models through Ollama or LM Studio to keep all processing on-device.
Slash commands are shortcuts that trigger specific AI actions: /commit generates commit messages, /cmd creates CLI commands, /edit makes code changes with diffs, /comment adds code documentation, and /test generates unit tests. Developers can create custom slash commands using natural language prompts in config.json or write TypeScript functions in config.ts for advanced functionality.