surf
Basic Information
Surf is a Next.js application that demonstrates and provides a web interface for an AI-powered computer use agent by combining OpenAI's Computer Use capabilities with E2B's isolated virtual desktop sandbox. The project lets users start and manage a Linux-based virtual desktop, send natural language instructions via a chat interface, and watch the agent perform actions such as clicks and typing inside the sandbox. It streams agent reasoning and executed actions in real time using Server-Sent Events so users can observe step-by-step behavior. The repo includes frontend UI components, backend server endpoints that mediate between OpenAI and the E2B sandbox, and server actions to create, extend, and stop sandbox instances. The README documents prerequisites, environment variables, and development startup steps for running the app locally.