TECHNOLOGY

OpenHands sidebar questions report context without steering the task

In this article
THE QUICK TAKE

Ask for status through the sidebar channel when execution should continue, but send real task changes through the conversation instruction path.

Choose between a question and a correction

A user wants to know which check the coding agent last ran without changing its assignment. Later the same user discovers that the target branch is wrong and needs to redirect the task. OpenHands provides different paths for those interactions. The Ask Agent guide describes contextual sidebar questions without interrupting the main execution flow. A status question should not be confused with a new instruction the running task must follow.

Understand the sidebar answer’s evidence

The guide says the answer can use conversation history and can be requested during or after execution. That supports questions about what has already been discussed or observed. It does not independently inspect every external system or certify that the latest running command finished. For a progress display, distinguish a contextual model answer from the actual execution state. If completion matters, retain the relevant observed result rather than only a fluent summary of likely progress.

Keep questions outside the main task history

The Ask Agent API accepts a question and returns a response without affecting conversation state. This is suitable for a sidebar that should not alter the working task. It also means an important requirement should not be delivered only through that interface. Asking “could you instead use another branch?” is not a reliable replacement for sending the corrected task instruction through the conversation’s main message path.

Send actual steering through the message path

The running-message guide describes adding new messages while execution is active so the agent can incorporate corrections and context. Choose that path when the intended effect is to change the work. Then observe how the correction was processed and what files or commands followed. A sent instruction and a completed correction are distinct outcomes, especially when a previous operation was already in progress.

Build a truthful progress interface

Label a sidebar answer as a contextual update and keep machine-observed task status available separately. Avoid presenting an answer to “are you done?” as an authoritative completion signal. Tool observations anchor progress to actual events; a task contract states what must be completed. This separation lets a user ask useful questions without accidentally steering the agent, while preserving a clear route for corrections that genuinely must change the task.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles