While writing OpenHands V1's agent SDK, I find it ...
# random
c
While writing OpenHands V1's agent SDK, I find it really annoying to keep documentation in sync with the code as you are developing it 😭 With OH, I quickly vibe-coded an OpenHands GitHub Action that uses OpenHands API to automatically sync documentation with the implementation periodically (one PR every week!) -- this was heavily inspired by @calm-artist-7206’s PR here, and it works!! The workflow is pretty simple, just
use: All-Hands-AI/openhands-github-action@v1
and plug in your
OPENHANDS_API_KEY
and prompt -- And you end up with a PR that just did it! You can actually use it to do a bunch of repetitive stuff you don't want to do while maintaining your codebase without popping up any UI except GitHub lolsob
ā¤ļø 2
šŸ™Œ 2
q
Awesome! I've felt we should have service accounts for openhands orgs to support this stuff I've been putting off automations like periodically updating agent-sdk sha and building the executable binary for OpenHands-CLI because I didn't want to burn credits from my personal account lolsob
c
cc @elegant-branch-54423 another org feature wanted šŸ˜„
šŸ’Æ 1
e
Makes a lot of sense!
w
Does it look at the diff vs its last run? or does it do a full sweep of the repository
this is very cool
c
it do a full sweep of the repository!
w
I wonder if a diff would work better?
I'd be curious to see how much thrash there is, with the agent unnecessarily rewriting docs
nod 1
c
let's see šŸ˜„