AI-Native Virtual Workspace (Krewire Dash)
Krewire Dash provides an AI-powered virtual workspace engine and cloud IDE platform. It combines hermetic process isolation, bidirectional terminal streaming, Monaco-based web editing, and an embedded krew pair programmer into a single-binary server.
Subsystems & Architecture
1. pkg/sandbox โ Hermetic Isolation Engine
- Process Jail: Lightweight container-like sandboxing using Linux Bubblewrap (
bwrap) with unprivileged user namespaces. - Resource Boundaries: Hard memory quotas, temporary file limits, and process tree isolation per workspace.
- Automated Idle Sweeper: Background daemon worker monitoring workspace activity and gracefully pausing sandboxes after 30 minutes of inactivity.
- Cross-Platform Fallback: Safe process isolation with graceful OS-specific sysprocattr separation across Linux and macOS.
2. pkg/terminal โ Bidirectional WebSocket PTY
- Real PTY Allocation: Kernel pseudo-terminal allocation (
pty) spawning real shell instances (/bin/bashor/bin/sh). - WebSocket Streaming: Sub-10ms latency streaming between xterm.js in the browser and the host PTY runner.
- Window Resizing: Dynamic terminal window column and row synchronization.
3. pkg/session โ Real-Time Collaboration Hub
- Multi-Tenant Hub: Manages active workspace sessions and connected client connections.
- Presence & Broadcast: Synchronizes cursor positions, file selection changes, and live agent thoughts across collaborators.
4. pkg/ai โ Embedded Agent Assistant Pool
- Workspace-Aware Context: Connects the embedded
krewagent runtime directly to the active workspace sandbox filesystem. - Semantic Code Search: AST-based code navigation allowing the assistant to resolve symbols and declarations across packages.
- Interactive Diff Review: Generates unified diffs for proposed code edits before committing them to the workspace.
5. pkg/api โ Unified REST & Streaming API
POST /api/v1/workspaces: Provision a new hermetic workspace.GET /api/v1/workspaces: List running and paused tenant workspaces.DELETE /api/v1/workspaces/{id}: Destroy and cleanup workspace resources.GET /api/v1/workspaces/{id}/files: Browse workspace directory tree.GET /api/v1/workspaces/{id}/terminal/ws: Connect to the interactive terminal WebSocket.GET /api/v1/workspaces/{id}/session/ws: Connect to the real-time presence hub.GET /metrics: Prometheus metrics reporting active sandboxes, CPU/RAM utilization, and terminal sessions.
Workspace Access & Platform Integration
Live Portal: Krewire Dash is available at dash.krewire.com featuring the unified workspace studio console at dash.krewire.com/console. See the project's public documentation for architectural details.
Unified Workspace & Studio Console
Developers can explore sandboxed project environments and execution telemetry:
- Web Portal:
https://dash.krewire.com - Features: In-browser interactive PTY terminal streaming, live project sandboxes, and embedded
krewautonomous AI automation. - Single Sign-On: Integrated with Krewire Auth (
auth.krewire.com).
Local Development Alternatives
For local development without cloud dependencies, developers use the native kiw CLI tools:
krew dev: Run applications locally with auto-restart and hot reload.kiw dash: Run local dev dashboard & MCP telemetry (:4000) or manage virtual workspace sandboxes.kiw mcp --stdio: Connect AI coding assistants (such as Antigravity or Cursor) directly to your project via the Model Context Protocol.
Self-Hosted and Enterprise Editions
No self-hosted or enterprise edition is offered publicly, and no contract terms or pricing are published. Any future availability will be announced on the project public documentation.