﻿# OpenHands agent and LLM profiles have different switching boundaries

OpenHands Agent Canvas chooses an agent profile at conversation launch, while supported LLM profile switches affect later model requests and preserve the existing task state.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-openhands-agent-llm-profile-switch/
Language: en

## Identify which layer should change

A developer wants a stronger model to review an unfinished patch, while another wants a different agent implementation to take over. These are different operations in Agent Canvas. The [Agent Profiles guide](https://docs.openhands.dev/openhands/usage/agent-canvas/agent-profiles) assigns agent selection and agent-specific configuration to an Agent Profile. An LLM profile supplies model configuration for the built-in OpenHands agent. The similar profile names should not hide that distinction.

## Choose the agent before the conversation starts

The documented launcher lets the user select an Agent Profile for a new conversation. Once started, the conversation cannot switch to a different Agent Profile. Setting another profile active changes the default for new conversations, rather than replacing an existing session's running agent. If the task truly requires another agent, plan an explicit handoff with the relevant files and current state instead of repeatedly changing the global active profile and expecting the open conversation to transform.

## Switch a model through the supported path

The [LLM Profiles guide](https://docs.openhands.dev/openhands/usage/agent-canvas/llm-profiles) describes a conversation selector and `/model` commands when saved profiles and backend support are available. A switch affects future model requests. It preserves conversation history, workspace and task state, and the timeline records the model switch. Changing the model therefore does not provide a fresh context or undo edits already made during the task.

## Evaluate the consequence for a review

For the unfinished-patch example, model switching can keep the existing task available for further reasoning. Tell the new model to review the actual current diff and relevant checks. It inherits prior conversation material, including assumptions that may be wrong. If the purpose is an independent review without that history, starting another appropriately scoped conversation is a different decision. The [conversation guide](https://docs.openhands.dev/openhands/usage/agent-canvas/conversations) distinguishes fresh sessions and history-preserving branches.

## Record the change that actually occurred

Keep the agent identity, selected model profile and switch event with the review evidence. A [task contract](/journal/learn-codex-task-contract/) defines whether the request permits editing or asks only for assessment; [tool observations](/journal/learn-codex-tool-observation/) establish what happened after the change. A new model response proves neither that the agent implementation changed nor that the patch was independently validated. Assess the resulting work against its concrete acceptance condition.
