TECHNOLOGY

OpenHands Oracle receives explicit context without conversation history

In this article
THE QUICK TAKE

Supply the Oracle with the evidence needed for its question, and verify the saved profile and tool registration separately before expecting a second opinion.

Choose advice rather than a model switch

An agent faces an architectural trade-off and needs a second opinion before changing code. The Ask Oracle guide provides a stateless consultation with another saved model profile. The original agent receives the recommendation and continues with its existing model. Use this when the desired result is advice about a decision, rather than moving every subsequent task request to a different model.

Supply context the Oracle cannot infer

The Oracle receives the question and optional context, not the conversation history. It has no tools and cannot directly modify the workspace. For a parser design question, include the actual accepted input examples and the relevant compatibility constraint. Do not ask it to choose between approaches whose definitions exist only in earlier conversation messages. A fluent recommendation based on an incomplete question can be internally sensible yet unsuitable for the real repository.

Resolve the named profile deliberately

The tool looks for a saved profile named oracle; missing or unloadable configuration produces an error observation instead of silently using the primary model. The profile-store guide explains names, storage and secret handling. When using a custom directory, keep the store and conversation configured for the same location. A similarly named Canvas display profile should not be assumed to establish the SDK’s required stored artifact without verification.

Register the consultation capability

The tool must also be available to the agent. The custom-tools guide explains the explicit tool system, while the Oracle guide shows its tool registration. Saving a profile supplies configuration, not automatic permission or tool discovery. Inspect an unavailable-Oracle result as a configuration failure, rather than reporting that an independent model endorsed the primary agent’s plan when no consultation occurred.

Evaluate advice against the source

Have the main agent compare the recommendation with actual code and required checks before adopting it. The Oracle cannot supply fresh workspace observations it was never given. Progressive reading helps assemble a bounded evidence packet; tool observations establish the consultation and later validation. Record the advice as a second opinion with explicit inputs. Its model usage contributes to combined session metrics, so repeated consultation also needs a practical task benefit.

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