﻿# OpenHands sidebar questions report context without steering the task

OpenHands ask_agent provides a contextual sidebar answer without steering the main conversation; use the message path for corrections and tool evidence for verified progress.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-openhands-sidebar-status-question/
Language: en

## 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](https://docs.openhands.dev/sdk/guides/convo-ask-agent) 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](https://docs.openhands.dev/sdk/guides/agent-server/api-reference/conversations/ask-agent) 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](https://docs.openhands.dev/sdk/guides/convo-send-message-while-running) 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](/journal/learn-codex-tool-observation/) anchor progress to actual events; a [task contract](/journal/learn-codex-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.
