Draft
Conversation
This adds a full visual clone of the OpenHands web UI that demonstrates how to use the TypeScript client SDK with an OpenHands Agent Server backend. Features: - Home page with 'Let's start building' title and new conversation input - Sidebar with OpenHands logo, navigation, settings, and user menu - Settings modal for configuring agent server URL, LLM model, and API key - Conversation panel for listing and managing conversations - Chat interface with message display, typing indicator, and controls - Terminal component with XTerm.js integration - File browser component - Tab-based navigation between chat, terminal, code, and browser views Technical details: - Uses the TypeScript client SDK for all backend communication - Zustand stores for state management (agent, conversation, event, settings) - React Router for client-side routing - Tailwind CSS with OpenHands dark theme colors - HeroUI component library - 104 SVG icons and branding assets from the reference OpenHands frontend Notes: - Supports V1 conversations only (not legacy V0) - Local mode only (no SaaS/authentication features) - Designed for use with OpenHands Agent Server backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds a full visual clone of the OpenHands web UI at
examples/openhands/that demonstrates how to use the TypeScript client SDK with an OpenHands Agent Server backend.Features
Technical Details
Design Decisions
Project Structure
Running the Example
cd examples/openhands npm install npm run devThen open http://localhost:3001, configure settings with an LLM API key, and start a conversation.
Screenshots
The UI includes: