mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
- Add DELETING status to SandboxStatus enum for tracking deletion state - Implement in-memory tracking of containers being deleted - Modify delete_sandbox to mark containers as deleting immediately and return fast - Add background cleanup task for actual Docker operations (stop, remove, volume cleanup) - Filter out DELETING containers from search and get operations - Provides same fast deletion UX as remote conversations without database complexity Co-authored-by: openhands <openhands@all-hands.dev>
OpenHands App Server
FastAPI-based application server that provides REST API endpoints for OpenHands V1 integration.
Overview
As of 2025-09-29, much of the code in the OpenHands repository can be regarded as legacy, having been superseded by the code in AgentSDK. This package provides endpoints to interface with the new agent SDK and bridge the gap with the existing OpenHands project.
Architecture
The app server is organized into several key modules:
- conversation/: Manages sandboxed conversations and their lifecycle
- event/: Handles event storage, retrieval, and streaming
- event_callback/: Manages webhooks and event callbacks
- sandbox/: Manages sandbox environments for agent execution
- user/: User management and authentication
- services/: Core services like JWT authentication
- utils/: Utility functions for common operations