I want everything local – Building my offline AI workspace
TL;DR Highlight
Building a fully offline AI workspace with LLM chat, code execution, and web browsing using Ollama, Apple Container, and Playwright — no cloud dependency. A meaningful attempt at replicating ChatGPT-level workflows while keeping personal data local.
Who Should Read
Developers who want to process sensitive personal data (photos, documents) with AI but don't want to upload to the cloud. Apple Silicon Mac users looking to set up their own local LLM environment.
Core Mechanics
- Goal: replicate ChatGPT/Claude's 3 capabilities (LLM chat, code execution, web access) entirely locally. Uses Ollama for LLM, Apple Container (independent VM per container) for code execution, Playwright for browser automation.
- Initially tried building a native Mac app with a0.dev but it was too iOS-focused, so pivoted to a Next.js web app — which worked much better for this use case.
- Complete data privacy — nothing leaves the local machine. Personal photos, documents, and conversations stay private.
- Hardware is the biggest bottleneck — 80B+ parameter models need large amounts of fast RAM. Even Mac Mini with sufficient RAM costs $2K+.
Evidence
- Hardware was the most-discussed bottleneck. Running 80B+ models requires massive high-speed RAM — Mac Mini with enough RAM exceeds $2K. Framework desktop (128GB unified RAM) at $2-2.5K was mentioned as an option.
- Berkeley research team's LEMO system was referenced as another open-source local AI workspace approach.
- Apple Container provides VM-level isolation per code execution, addressing security concerns about running LLM-generated code.
How to Apply
- For AI processing of personal photos/videos/documents without cloud exposure: Ollama + Apple Container keeps all data local. Just add the coderunner URL to mcpServers config for code execution from Claude Desktop too.
- For local LLM tool-calling needs: Llama 3.3 70B via Ollama provides decent tool-calling support. Pair with MCP servers for file system, database, and web access.
- Budget carefully — local AI that matches cloud quality requires significant hardware investment ($2K+ for a usable setup).
Code Example
// Configure coderunner MCP connection in Claude Desktop or Gemini CLI
{
"mcpServers": {
"coderunner": {
"httpUrl": "http://coderunner.local:8222/mcp"
}
}
}Terminology
Related Papers
Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion
Git 기반 동기화와 Claude/Codex/Cursor 연동을 내장한 로컬 우선 마크다운 에디터로, AI 에이전트의 두 번째 뇌(LLM Wiki)로 활용할 수 있는 오픈소스 도구다.
The Unfireable Safety Kernel: Execution-Time AI Alignment for AI Agents and Other Escapable AI Systems
AI 에이전트가 자신의 안전장치를 우회할 수 없도록, 에이전트 프로세스 바깥에 수학적으로 증명된 강제 통제 게이트를 배치하는 아키텍처
RubyLLM: A Ruby framework for all major AI providers
OpenAI, Claude, Gemini 등 주요 AI 프로바이더를 단일 인터페이스로 통합한 Ruby 프레임워크로, Rails 통합과 에이전트 기능까지 지원해 Ruby 개발자가 AI 기능을 빠르게 붙일 수 있다.
Qwen-AgentWorld: Language World Models for General Agents
Alibaba Qwen 팀이 AI 에이전트가 행동 결과를 미리 시뮬레이션할 수 있는 'Language World Model'을 공개했다. 에이전트 훈련과 실행 경로 검증에 새로운 패러다임을 제시하는 연구다.
SHERLOC: Structured Diagnostic Localization for Code Repair Agents
버그 위치만 알려주는 게 아니라 '왜, 어떻게 고쳐야 하는지'까지 진단 리포트를 생성해서 코드 수정 에이전트의 성능을 높이는 training-free 프레임워크
Show HN: peerd – AI agent harness that runs entirely in your browser
백엔드 서버 없이 Chrome/Firefox 확장 프로그램으로만 동작하는 AI 에이전트 실행 환경으로, 브라우저 탭을 직접 조작하고 WASM Linux VM까지 구동할 수 있어 프라이버시와 보안을 동시에 챙길 수 있다.
Related Resources
- https://instavm.io/blog/building-my-offline-ai-workspace
- https://github.com/yichuan-w/LEANN
- https://arxiv.org/abs/2405.08051
- https://github.com/exo-explore/exo
- https://github.com/assistant-ui/assistant-ui
- https://hypersonic.chat/
- https://kasmweb.com/
- https://developer.apple.com/documentation/FoundationModels