AIToday
Open-Source AIHacker NewsPublished: Aug 21, 2026, 22:00 JST3 min read

AI.DIY launches open-source browser-based AI workspace with local-first agents

AI.DIY launches open-source browser-based AI workspace with local-first agents

Key takeaway

  • AI.DIY is a free, open-source AI workspace that runs in the browser with local-first data storage.

  • It supports 20+ LLM providers, in-browser Linux, Python, and Node.js environments—all without uploading keys or chat history to a server.

  • Deploy locally with one command or use the live demo at tryaidiy.com.

3 Key Points

  1. What happened

    AI.DIY, an MIT-licensed open-source project, is now live at tryaidiy.com with a browser-native workspace that runs AI agents, in-browser Linux (CheerpX), Python execution, and integrations with 20+ LLM providers—including OpenAI, Anthropic, Gemini, DeepSeek, and others. It supports skills, subagents, knowledge-base RAG, web search via DuckDuckGo, and Node.js project scaffolding in the browser via WebContainers.

  2. Why it matters

    The workspace is local-first and bring-your-own-key: chat state, settings, and provider API keys stay in the browser by default, relayed per-request to your chosen model provider. No persistent server keys required. Data like chat history, memory, Canvas artifacts, and Python/Linux output persist locally via localStorage and IndexedDB, encrypted with AES-GCM where Web Crypto is available. Users can deploy it in one command (Node or Docker Compose), avoiding reliance on third-party cloud AI platforms.

  3. What to watch

    Available now via npm install or Docker; GitHub repo is Cubinghackerz/ai.diy. Agent Mode and subagents are in Experimental Settings. Token modes (Efficient, Balanced, Prompt caching, Full suite) adjust system-prompt size and tool availability. Planned features include direct GitHub, Supabase, and PostgreSQL adapters. For self-hosting, the CheerpX runtime requires a commercial license from Leaning Technologies for non-FOSS use.

Ask the AI about this article →

Context & Analysis

AI.DIY addresses a core tension in AI tooling: users want agency over their data and keys, but existing platforms require uploading both to a third-party server. The project's local-first architecture inverts that default. Chat state, settings, and execution environments (Python, Linux) run client-side in the browser; the server acts only as a stateless relay for model requests, with no need to store provider credentials. This design is enabled by modern browser APIs—Web Crypto for encryption, IndexedDB and localStorage for persistence, Pyodide and CheerpX for compute—and open-source relay frameworks like Vercel AI SDK and assistant-ui.

The tooling is substantial: 20+ provider integrations, a skills system with pre-built agents (Deep Research, Code Review, GitHub Analysis), subagent spawning with user approval, on-device vector search for knowledge bases, and soft usage caps for cost control. Token modes let users trade system-prompt size and tool availability for latency or cost. The one-command deployment path (npm or Docker Compose) and MIT license lower the barrier to self-hosting.

Key trade-offs: Server-side features—persistent provider keys, team workspaces, audit logs—are not available by design. The in-browser Linux VM (CheerpX) is free for open-source projects under a Community License but requires a commercial license from Leaning Technologies for other use cases. The architecture does not prevent the relay from observing request traffic or enabled tools (search, MCP, connectors) from sending data to their own services, so users should treat hosted instances as semi-trusted.

FAQ

Where does my data stay?
Chat history, settings, Canvas artifacts, memory, and knowledge base stay in your browser via localStorage and IndexedDB. Settings are encrypted with AES-GCM when Web Crypto and IndexedDB are available. Provider API keys are kept in the browser and relayed per-request; they are never stored on the server.
What LLM providers are supported?
OpenAI, ChatGPT subscription, Anthropic, Gemini, Groq, Cerebras, Fireworks, Perplexity, Cohere, OpenRouter, xAI, DeepSeek, Bedrock, Azure, Vertex, Vercel Gateway, Together, Mistral, Hugging Face, Ollama, LM Studio, and custom OpenAI-compatible endpoints.
Can I run code locally?
Yes. The workspace includes browser-side Python (Pyodide) with file capture to Canvas, an in-browser Debian Linux VM (CheerpX) with bash, python3, gcc, node, and apt, and NPM Project mode to scaffold and run Node projects in the browser via WebContainers—all without needing the ai.diy server.

Get the latest Open-Source AI news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleMeta AI glasses detector apps surge as recording concerns grow

The AI news that matters, in one minute each morning.

Sign up free