Skip to content

docs(sdk): document local plugin install example#367

Merged
xingyaoww merged 3 commits intomainfrom
openhands/plugin-install-utils
Mar 5, 2026
Merged

docs(sdk): document local plugin install example#367
xingyaoww merged 3 commits intomainfrom
openhands/plugin-install-utils

Conversation

@enyst
Copy link
Collaborator

@enyst enyst commented Mar 2, 2026

Documents the new example introduced in OpenHands/software-agent-sdk#2031 (examples/05_skills_and_plugins/03_local_plugin_install/main.py) by extending the Plugins guide.

This branch name intentionally matches the agent-sdk PR branch so the agent-sdk CI workflow '[Optional] Docs example' can checkout the docs changes.

Co-authored-by: openhands <openhands@all-hands.dev>
Copy link
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taste Rating: 🟡 Acceptable - Works but violates focused documentation principles

The fundamental issue: this example is a comprehensive integration test masquerading as a user tutorial. It demonstrates install, list, load, get, update, uninstall, AND a full conversation with persistence - all in 165 lines. That's not documentation, that's a feature test.

Verdict: ✅ Worth merging with improvements - The code is correct and follows sync patterns, but needs focused examples and explanatory prose to actually help users.

Key Insight: Documentation examples should demonstrate one thing well, not everything at once.

- Update Ready-to-run Example with current 02_loading_plugins/main.py code
- Add succinct 'Installing Plugins to Persistent Storage' section
- Remove reference to non-existent 03_local_plugin_install example

Co-authored-by: openhands <openhands@all-hands.dev>
Copy link
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taste Rating: 🟡 Acceptable - Source-verified and correct, but architectural preference issues remain

Source Verification: ✅ All imports, function signatures, and example paths verified against OpenHands/software-agent-sdk main branch.

Verdict: ✅ Worth merging - Previous critical issues (artifact mode, missing explanations) were addressed. The multi-demo structure is acceptable, though a few clarity improvements would help users navigate the 5 different demos.


## Ready-to-run Example

The example below demonstrates plugin loading via Conversation and plugin management utilities (install, list, update, uninstall).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Suggestion: Misleading section title - says "Example" (singular) but contains 5 separate demos.

Why it matters: Users scanning the docs expect one focused example here. The plural "Ready-to-run Examples" or "Comprehensive Plugin Examples" would set better expectations.

Quick fix:

Suggested change
The example below demonstrates plugin loading via Conversation and plugin management utilities (install, list, update, uninstall).
## Ready-to-run Examples

@xingyaoww xingyaoww merged commit 00178e4 into main Mar 5, 2026
4 checks passed
@xingyaoww xingyaoww deleted the openhands/plugin-install-utils branch March 5, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants