# aiFetchly > aiFetchly is an open-source desktop AI agent for local-first business automation, combining local knowledge retrieval, visible browser automation, customer communication drafts, and scheduled workflows under strict human-in-the-loop permission gates. aiFetchly is built for business operators, developers, and technical evaluators who require autonomous AI agent execution without compromising on data privacy, credential security, or human oversight. Running as a native desktop application on Windows and macOS, aiFetchly keeps application records, vector embeddings, transcripts, and credentials entirely on your local machine. You can power the agent with hosted aiFetchly AI or connect local inference runtimes (such as Ollama or LM Studio) and cloud LLMs (such as OpenAI or OpenRouter). ## Core Capabilities - **Local Knowledge Library (RAG)**: Ingests PDF, DOCX, TXT, CSV, Excel, HTML, and Markdown files as well as bounded web documentation. Embeds text locally with built-in Xenova/all-MiniLM-L6-v2 (384 dimensions) in an isolated worker process without requiring Python or an external GPU, or connects to remote embedding endpoints. Performs hybrid dense-vector and keyword retrieval via SQLite and sqlite-vec with metadata filtering, relevance reranking, and neighbor chunk expansion. - **Managed Browser Automation (Browser Use)**: Operates a real, visible Chrome or Chromium window using semantic element references (@e1) tied to current DOM revisions rather than brittle coordinates. Reuses OS-encrypted session cookies on authorized accounts. Automatically pauses and hands over control on MFA, passkeys, passwords, and CAPTCHAs, and enforces explicit user approvals before posting, deleting, or purchasing. - **Model Context Protocol (MCP) & Skills**: Supports dual skill execution—portable SKILL.md prompt workflows and executable manifest.json packages in SandboxedSkillExecutor. Natively loads unmodified Claude Code plugins (.claude-plugin/plugin.json). Manages supervised stdio, SSE, and WebSocket MCP servers with lifecycle hooks (SessionStart, PreToolUse, PostToolUse) under a stricter-wins policy. - **Specialist Subagents & Permission Gating**: Delegates complex tasks to autonomous specialist subagents with scoped tool allowlists, system prompts, and structured output contracts. Governs execution in the Electron main process across three approval modes (Ask for approval, Approve for me, Full access), bounded by workspace path traversal guards and destructive shell denylists. - **AI Email Assistant**: Integrates with standard IMAP/POP3 and SMTP servers with local credential encryption. Reconstructs ordered message threads, retrieves facts from your Knowledge Library, enforces fail-closed duplicate send prevention, and requires human approval before sending. - **Scheduled Loops & Background Workflows**: Executes persistent /loop intervals (e.g., `/loop 5m`) inside active conversations and background cron tasks without interleaving live user turns. ## Model Flexibility & Local Inference aiFetchly provides complete freedom in model selection: - **Hosted aiFetchly AI**: Instant, high-performance cloud intelligence without manual API key setup. - **Local Runtimes (100% Offline)**: Native compatibility with Ollama (`http://localhost:11434/v1`) and LM Studio (`http://localhost:1234/v1`). Pair local LLMs with built-in Xenova embeddings to run chat, RAG, and file workflows fully offline with zero per-token costs. - **Custom Cloud Providers (BYOK)**: Connect OpenAI, OpenRouter, Anthropic, or any OpenAI-compatible inference server. API keys are encrypted at rest via Electron safeStorage (AES-256-GCM) and never leaked to renderer logs. ## Pricing & Subscription Tiers - **Community Plan (Free / $0)**: - Open-source local core for Windows and macOS. - Complete local-first data ownership via SQLite and sqlite-vec. - Built-in Xenova local vector embeddings (no GPU or API required). - Visible browser automation with human-in-the-loop handoff. - Standard MCP stdio tools, portable SKILL.md skills, and custom subagents. - Unlimited local LLM connections (Ollama, LM Studio). - Basic workflow scheduling and community support. - **Plus Plan ($10 / month or $100 / year — 30% discount)**: - Everything in the Community Plan. - Hosted aiFetchly AI cloud token allowance. - Cloud search quota and priority web research assistance. - Advanced AI document and customer communication drafting. - Multi-agent orchestration with higher concurrent allowances. - Priority customer and technical support. ## Technical Architecture - **Electron Multi-Process Isolation**: - *Main Process*: Security policies (`AgentToolPolicyService`, `SkillPermissionService`, `FilePathGuard`, `ManagedBrowserSupervisor`), OS `safeStorage` credential encryption, TypeORM SQLite persistence. - *Renderer Process*: Sandboxed Vue/React UI; zero direct access to filesystem, shell, or raw cookies. - *Utility Process*: Puppeteer-driven browser worker in an isolated child process with single-session leases. - *Worker Process*: Dedicated CPU worker running `@xenova/transformers` for local embedding computation. - *Subprocess Pool*: Supervised child processes for stdio MCP servers and sandboxed terminal commands. - **Data Privacy & Storage**: Local SQLite database storing knowledge chunks, vector indexes, conversation history, and audit trails. No multi-tenant cloud database. ## Key Page Links & Documentation - [Official Website](https://www.aifetchly.com): Product homepage and overview. - [Full Documentation (llms-full.txt)](https://www.aifetchly.com/llms-full.txt): Comprehensive single-file documentation including architecture, Ollama/LM Studio setup, permission gating, workflows, and complete FAQ. - [Downloads](https://www.aifetchly.com/downloads): Verified installers for Windows and macOS. - [Release History](https://www.aifetchly.com/downloads/releases): Version changelogs and historical binary releases. - [Features Hub](https://www.aifetchly.com/features): Overview of all core features and user mental models. - [Local Knowledge RAG](https://www.aifetchly.com/features/local-knowledge-rag): Deep dive on document indexing, sqlite-vec, and local embeddings. - [Browser Automation](https://www.aifetchly.com/features/browser-automation): Deep dive on managed Chrome, semantic actions, and approval handoff. - [MCP, Plugins & Skills](https://www.aifetchly.com/features/mcp-plugins-skills): Guide to Model Context Protocol, SKILL.md, and Claude plugin compatibility. - [Subagents & Permissions](https://www.aifetchly.com/features/subagents-permissions): Explanation of specialist agents, approval modes, and security guardrails. - [AI Email Assistant](https://www.aifetchly.com/features/ai-email-assistant): Technical details on IMAP/SMTP sync, thread awareness, and duplicate send prevention. - [Pricing & Plans](https://www.aifetchly.com/pricing-plan): Transparent pricing details for Community, Plus, and commercial tiers. - [Use Cases](https://www.aifetchly.com/use-cases): Real-world workflows for customer communications, batch image editing, and operations. - [Use Case — AI Email Replies](https://www.aifetchly.com/use-cases/ai-email-replies): Knowledge-grounded prospect reply classification and human-approved sending. - [Use Case — Batch Image Editing](https://www.aifetchly.com/use-cases/batch-image-editing): Edit up to 50 local or generated images from one instruction at as low as $0.02 per image, included in your subscription plan allowance. - [Frequently Asked Questions](https://www.aifetchly.com/faq): Consolidated answers to product, security, and licensing questions. - [Desktop vs Cloud AI Comparison](https://www.aifetchly.com/compare/desktop-ai-agent-vs-cloud-ai-assistant): Architectural comparison between desktop agents and SaaS AI. - [Local-First vs SaaS Automation](https://www.aifetchly.com/compare/local-first-ai-agent-vs-saas-ai-automation): Data ownership and reliability tradeoffs. - [Open-Source vs Closed-Source AI](https://www.aifetchly.com/compare/open-source-ai-agent-vs-closed-source-ai-assistant): Auditing, MCP extensibility, and vendor independence. - [aiFetchly vs Browser Automation Tools](https://www.aifetchly.com/compare/aifetchly-vs-browser-automation-tools): Differences from headless scrapers and RPA scripts. - [Official Documentation Portal](https://docs.aifetchly.com): Detailed developer and user manuals. - [GitHub Repository](https://github.com/robertzengcn/aiFetchly): Open-source source code, issues, and community contributions.