Skip to content

Conversation

@xingyaoww
Copy link
Contributor

@xingyaoww xingyaoww commented Jan 13, 2026

Documents the repository customization hook .openhands/stop.sh, which is executed whenever the agent finishes a task.

Copy link
Collaborator

@enyst enyst left a comment

Choose a reason for hiding this comment

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

I really like this FWIW. I notice that even Opus stops before the task is done, when it's a long-running enough task (maybe it also had condensations in-between)

It's not the actual behavior yet, though, to recognize automatically an agent_finish.sh, I think? WDYT about adding it?

@xingyaoww
Copy link
Contributor Author

@enyst yeah, I really want it too!

Just that i haven't implemented it yet :(
OpenHands/software-agent-sdk#1719

Update documentation to use stop.sh instead of agent_finish.sh,
following the standard event-based naming convention.

Co-authored-by: openhands <[email protected]>
@xingyaoww xingyaoww changed the title Document .openhands/agent_finish.sh repository hook Document .openhands/stop.sh repository hook Feb 2, 2026
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