What is VibeSite?
VibeSite is a developer workspace that combines a full-featured browser-based code editor with secure, sandboxed AI agents. Traditional IDEs require local configuration, package installations, and manual troubleshooting. VibeSite virtualizes your runtime using WebAssembly, enabling agents to write code, inspect errors, execute tests, and hot-reload changes in parallel.
Key Features
- Virtualized WebAssembly container runtimes
- Secure multi-agent background execution gates
- Automatic terminal logs observation and self-healing compilers
- Instant Git branch synchronization and staging deployments
Architecture Overview
The VibeSite engine isolates the development workspace from the host system. The frontend runs in a secure sandbox, communicating with virtual micro-containers. When an agent is spawned, it receives a virtual mount of your codebase and operates within container boundaries.
Core Concepts
Understanding the foundation of VibeSite's architecture is essential for building robust development pipelines. The runtime is composed of four primary layers:
Runtimes
Wasm-isolated engine instances compiling, linting, and running processes with isolated virtual CPUs.
Workspaces
Virtual workspace folders holding codebase states, environment variables, configuration, and dependencies.
Agents
Sandboxed background execution entities tasked with coding, testing, and continuous debugging routines.
Gates
Permission verification checkpoints acting on CLI execution requests, network fetches, and file write limits.
CLI Installation
Use the command line utility to synchronize workspaces locally and coordinate agents straight from your local terminal.
Command Reference
| Command | Description |
|---|---|
| vibe init | Bootstraps a vibesite.json configuration file in the project root folder. |
| vibe start | Spawns the local virtualized development workspace container. |
| vibe agent [prompt] | Delegates a specific coding task directly to a sandboxed AI agent. |
| vibe deploy | Builds and pushes the current active branch directly to staging. |
Configuration File (vibesite.json)
Configure environment variables, agent access permissions, and port routing rules inside a vibesite.json schema file placed in your root directory.
WebAssembly Sandboxing
VibeSite executes environment binaries inside WebAssembly virtual machines (Wasm VMs) rather than directly on host containers. This ensures high-performance compilation and execution speed without compromising on host process security.
The runtime translates native OS system calls (filesystem, networking, subprocesses) into a secure browser-controlled API. As a result, agents cannot execute arbitrary host assembly, protecting you from untrusted code execution.
File System Mounts
Each virtual container works with a sandboxed virtual filesystem. Code repositories are loaded dynamically from IndexedDB storage or local file links using modern File System Access APIs.
Filesystem Config Syntax
You can restrict which directories the sandboxed runtime is allowed to read or modify. Configure directories under the mounts field:
{
"mounts": [
{ "path": "./src", "permission": "write" },
{ "path": "./public", "permission": "read" }
]
}Port Forwarding
When a virtual runtime exposes a network listener (e.g. starting a Next.js dev server on port 3000), VibeSite intercepts the TCP packets.
The local traffic is redirected to a browser-accessible WebSocket tunnel, allowing hot-reloaded dev pages to resolve on local virtual subdomains. This enables instant updates and live preview renderings within the IDE mockup display in real-time.
Creating Tasks
Tasks are logical instructions sent to sandboxed AI agents. You can declare tasks either through the VibeSite interactive chat panel or programmatically via the command line.
For example, executing the following CLI instruction schedules a file modification task:
VibeSite automatically breaks down the prompt into sub-tasks: analyzing directory structures, writing component templates, compiling typescript schemas, and checking for syntax errors.
State Synchronization
When agents write code or perform package upgrades inside the virtual container sandbox, the workspace state changes. VibeSite handles these revisions through transactional commit histories.
Before applying any updates to your local repository files, the system compiles a difference review (diff). Once accepted, modifications are merged atomically to avoid race conditions or broken dependencies.
Security & Safety Gates
Security is handled at the container runtime level. Agents cannot access coordinates outside their virtual workspace folder unless explicitly whitelisted. Additionally, all destructive terminal command executions require developer confirmation gates before proceeding.
Important Notice
By default, agents run inside a read-only filesystem environment. Filesystem modifications and CLI execution permissions must be configured explicitly in your configuration file.