Design: LLM Profile Management with OpenHands Cloud Integration and MCP Support #71
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 PR adds comprehensive design documents for the LLM Profile Management feature requested in #68, with specific focus on:
Changes
New Files
PROFILE_DESIGN.md - Complete technical design document covering:
DESIGN_REVIEW_RESPONSE.md - Detailed responses to specific design questions:
Key Design Decisions
1. Profile = Complete Agent Configuration
2. OpenHands Cloud Integration
last_opened_versioninprofiles.jsonopenhands profiles synccommand3. Hierarchical MCP Configuration
4. Directory Structure
5. User Experience Highlights
openhands --profile <name>or interactive selectoropenhands profiles list|create|edit|delete|syncopenhands cloud login|logout|statusagent_settings.jsonImplementation Phases
Phase 1: Core Infrastructure ⭐ MUST HAVE
Phase 2: Cloud Integration ⭐ MUST HAVE
Phase 3: User Interface ⭐ SHOULD HAVE
Phase 4: Polish ✨ NICE TO HAVE
Advantages Over Naive Approach
.last_opened_versionfileprofiles.json(single source of truth)Testing Strategy
No code changes in this PR - only design documents for review and discussion.
Once design is approved, implementation PRs will include:
Questions for Reviewers
MCP Merge Strategy: Should user-defined MCP configs completely replace cloud configs, or merge with them? (Current design: merge by default)
Profile Immutability: Should cloud profiles be immutable (can only be copied, not edited)? (Current design: convert to user profile on edit)
Profile Persistence After Logout: What happens to cloud profiles after user logs out? (Current design: keep but don't update)
Sync Frequency: How often should we sync with OpenHands Cloud? (Current design: on version change + manual sync)
Related Issues
Closes #68
Next Steps
Note: This is a design-only PR. No functional changes are included. The design documents provide a comprehensive blueprint for implementing the feature in subsequent PRs.
@xingyaoww can click here to continue refining the PR