Skip to content
โ† Home

Case study

Agent Sandbox

Browser-local LLM and RAG playground

Problem

Trying a prompt or a retrieval setup across several model providers usually means standing up a backend, wiring each SDK, and handing API keys to a server. That is slow for quick experiments and uncomfortable for private documents.

Approach

Agent Sandbox runs entirely in the browser. API keys, chats, and documents stay on the device in localStorage and IndexedDB. One interface talks to six providers: OpenAI, Anthropic, Gemini, Groq, DeepSeek, and OpenRouter. The RAG flow covers upload, chunking, embedding, retrieval, and chat against the resulting knowledge base.

What it does

Streaming responses, a compare mode for running the same prompt across models, a prompt library, undo and rollback, usage tracking, and export and share. The code is open source and a live demo is available.

Highlights

  • Supports six LLM providers: OpenAI, Anthropic, Gemini, Groq, DeepSeek, and OpenRouter
  • End to end RAG testing โ€” upload, chunk, embed, retrieve, and chat against your knowledge base
  • Zero backend โ€” API keys, chats, and documents stay in the browser via localStorage and IndexedDB
  • Streaming responses, compare mode, prompt library, undo/rollback, usage tracking, and export/share

Creator & Maintainer ยท 2026