Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .agents/skills/docs-writing/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@ needs to do.
- Use `<Note>`, `<Warning>`, and `<Info>` sparingly. Most information belongs in the body text.
Reserve callouts for something the reader would otherwise get wrong.

## Describe Agent Canvas backend differences

Start with the default behavior and keep rules that apply to every backend in that explanation.
Specify whether the behavior applies to a local backend, OpenHands Cloud, or a self-hosted
OpenHands Enterprise instance. If an administrator can change the behavior, name the control and link to its page under
`enterprise/`. Verify the behavior and its conditions in the owning repository before editing.

- For a short caveat, lead with the condition in the same section and say what happens on the other
backends.
- For an Enterprise-only control or a feature that works substantially differently on Enterprise,
use a `###` subsection titled `<Feature> on OpenHands Enterprise`.
- Use `<Tabs>` for parallel instructions that readers choose by deployment.
- Reserve `<Note>` and `<Warning>` for cases where a reader would otherwise miss an important detail.

## Keep instructions simple

- Prefer the shortest path that works. For the Docker Compose install, that is
Expand Down
10 changes: 3 additions & 7 deletions openhands/usage/agent-canvas/agent-profiles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ Agent Profiles define which agent a new Agent Canvas conversation runs with. A p

The active Agent Profile is the default agent for new conversations.

<Note>
The special rules for a profile named `default` apply to local backends only. On an OpenHands Cloud or Enterprise backend, an organization profile named `default` behaves like any other profile.
</Note>

## Agent Profiles vs LLM Profiles

Agent Profiles and LLM profiles control different layers:
Expand Down Expand Up @@ -39,9 +35,9 @@ When you set a profile as active, new conversations use that profile by default.

## Profile-Owned Settings

Every local launch sends an `agent_profile_id`, including the built-in `default` profile. `default` is an ordinary profile that launches from its own stored settings rather than from the global settings pages.
On a local backend, every conversation launches with an Agent Profile, including the built-in `default` profile, which uses its stored settings. On OpenHands Cloud and self-hosted OpenHands Enterprise, an organization profile named `default` behaves like any other organization profile.

The settings a profile shares with a global page have one owner each, so editing either side changes both:
The local `default` profile shares some settings with the global settings pages. Editing a shared setting in either place updates both:

- **Skills** — On a local backend with an OpenHands `default`, the Skills page reads and writes `default`'s skill selection. The profile editor's **Skills** section lists the skills a launch can load, taken from the agent-server's skill catalog, and labels each entry `Catalog` or `Your skill`.
- **MCP servers** — An OpenHands `default` loads every MCP server switched on in MCP Servers. Switching a server on or off in `default`'s editor applies to every profile.
Expand All @@ -50,7 +46,7 @@ The settings a profile shares with a global page have one owner each, so editing

Small settings — condenser, verification, Model Router, tools, parallel tool calls, system prompt suffix, and persona — live only in profiles. A new profile copies them from `default`. A profile stores a section only once you edit it, and a profile always carries both condenser and verification fields. The critic API key stays global and never reaches a profile.

`default` cannot be renamed or deleted. The server reseeds a deleted `default`, which would reset the values it shares with the global pages.
The local backend reserves the `default` name and protects its built-in profile from deletion. If the profile is removed from storage, the server recreates it and resets the settings it shares with the global pages.

## Choose an Agent Profile for a Conversation

Expand Down
6 changes: 2 additions & 4 deletions openhands/usage/agent-canvas/first-time-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ When you open Agent Canvas for the first time, a four-step setup wizard walks yo

## Getting Started Checklist

After completing the setup wizard, a **Getting Started** checklist appears in the sidebar. It guides you through the core first actions:
After completing the setup wizard, the **Getting Started** checklist appears in the sidebar while you have items left. A standalone Canvas locked to OpenHands Cloud or a self-hosted OpenHands Enterprise instance hides the checklist. The checklist covers these first steps.

1. **Set up your LLM** — links to `Settings > LLM`
2. **Connect MCP servers** — links to `Customize > MCP`
Expand All @@ -94,9 +94,7 @@ After completing the setup wizard, a **Getting Started** checklist appears in th

Each item links directly to the relevant page. The checklist tracks your progress and minimizes to stay out of the way. When all items are complete, the checklist auto-hides.

<Note>
Hover over the top right corner and click X to permanently close the checklist. On Cloud and Enterprise environments no checklist will be shown.
</Note>
To permanently close the checklist, hover over its top right corner and select the **X**.

## Customize your Agent Canvas

Expand Down
6 changes: 4 additions & 2 deletions openhands/usage/agent-canvas/llm-profiles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,11 @@ A switch preserves the conversation history, workspace, and task state; it appli
Model switching requires saved LLM profiles. If `/model` is not available in the chat input, create a profile in `Settings > LLM` and confirm that the active backend supports profile switching.
</Note>

### Pick a Profile on Home (Cloud Members)
### Pick a Profile on Home

On an OpenHands Cloud or Enterprise backend, an organization member can choose an LLM profile on Home when starting a conversation. The pick applies only to that new conversation and does not change the organization's active profile for other users. Organization admins keep the existing behavior of managing the active profile in `Settings > LLM`.
On a local backend, choose an LLM profile on Home to assign it to your active OpenHands Agent Profile. With the built-in `default` Agent Profile, your choice sets the active profile in `Settings > LLM`.

On OpenHands Cloud and self-hosted OpenHands Enterprise, an organization member's choice applies only to the next conversation they start from Home. Organization owners and admins can manage the organization's active LLM profile in `Settings > LLM`.

## Fix a Failed Configuration

Expand Down
4 changes: 2 additions & 2 deletions openhands/usage/agent-canvas/managing-automations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Click an automation to open its detail view. The detail view shows:

An automation can carry tags, which appear as pills on list rows, cards, the detail view, and pinned Home cards. Use the **Tag** filter on the dashboard to narrow the list to automations with a given tag.

Tags are declared by the automation and served by the automation service, and are edited inline on the automation. On a cloud backend, you can edit an automation's tags if you created it or if you are an organization Owner or Admin. Tag names are normalized: spaces become hyphens and letters are lowercased, so `Software Factory` is stored as `software-factory`.
Edit tags directly on the automation if you have [permission to manage it](/openhands/usage/agent-canvas/managing-automations#edit-an-automation). Tag names use lowercase letters and hyphens for spaces, so `Software Factory` is stored as `software-factory`.

Tag support requires automation `1.26.0` and the optional `/v1/tags` endpoint. Without them, the tag UI is not shown.

Expand Down Expand Up @@ -153,7 +153,7 @@ The banner displays the reason, any additional structured detail provided by the

You can edit an automation's name, prompt, model, timeout, and schedule directly in Agent Canvas.

On a cloud backend, you can edit, turn on, delete, and tag an automation if you created it or if you are an organization Owner or Admin. An automation that runs as a service account requires an Owner or Admin, even if you created it. See [Enterprise Automations](/enterprise/automations#who-can-manage-automations) for the full rules.
On a local backend, you can edit, turn on, delete, and tag automations directly. On OpenHands Cloud and self-hosted OpenHands Enterprise, you can manage an automation that runs as a person if you created it or have the organization's permission to manage automations. Managing an automation that runs as a service account requires that organization permission. See [Who Can Manage Automations](/enterprise/automations#who-can-manage-automations) for the role breakdown.

**Edit** also lists the automation's saved repositories. Whether you can change them depends on the automation and the automation service:

Expand Down
4 changes: 2 additions & 2 deletions openhands/usage/agent-canvas/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ See [Agent Canvas Architecture](/openhands/usage/agent-canvas/architecture) for
Switching backends switches the environment the agent is using. For details on how conversations and workspaces remain separate, see [Conversations](/openhands/usage/agent-canvas/conversations) and [Backends](/openhands/usage/agent-canvas/backends).
</Note>

## Enterprise License Warnings
### Enterprise License Warnings

On an instance-locked OpenHands Enterprise Canvas, check the banner at the top of the page for license warnings, such as a missing or expired license or an upcoming trial end. The banner appears only when the instance reports a relevant status. It does not appear for a license in good standing, when enforcement is off, or when the instance does not provide a supported license status route.
Local backends and OpenHands Cloud use the standard Canvas header. When Canvas is locked to a self-hosted OpenHands Enterprise instance, look for license warnings at the top of the page. The banner appears when the instance reports a status that needs attention, such as a missing or expired license or an upcoming trial end. Super Admins can [manage the instance's license key](/enterprise/license).

## Choosing A Trust Boundary

Expand Down
16 changes: 6 additions & 10 deletions openhands/usage/agent-canvas/prebuilt/github-pr-review.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ Before you start, make sure you have:

- Agent Canvas installed and running
- An LLM configured for the backend that will run the automation
- Access to create a GitHub token for the repository you want to review
- Access to install MCP servers and save secrets in Agent Canvas

If you are new to Agent Canvas, start with [Install](/openhands/usage/agent-canvas/setup) and [First-Time Setup](/openhands/usage/agent-canvas/first-time-setup).

## GitHub Token Secret

When you use a saved GitHub token, enter the secret's name in **GitHub token secret** in the template. The default is `GITHUB_PERSONAL_ACCESS_TOKEN`. On a local backend, or when GitHub is disconnected on OpenHands Cloud or self-hosted OpenHands Enterprise, create a token and save it when you configure the GitHub MCP server. You need permission to do both.

On OpenHands Cloud and self-hosted OpenHands Enterprise, the automation uses the connected GitHub account's token if the named secret is missing. When GitHub is connected in `Settings > Integrations`, keep the default secret name on OpenHands Cloud. On a self-hosted OpenHands Enterprise instance with GitHub connected, the template keeps that default and hides the field during setup and review. In either connected deployment, you can [start the workflow](/openhands/usage/agent-canvas/prebuilt/github-pr-review#start-the-pr-review-workflow) with the connected account.

## Create a GitHub Access Token

1. Go to [GitHub Developer Settings](https://github.com/settings/tokens).
Expand Down Expand Up @@ -54,14 +58,6 @@ Then click `Generate token` and copy the token immediately.
GitHub only shows the token once. Store it somewhere secure until you finish configuring Agent Canvas.
</Note>

## GitHub Token Secret on Enterprise

The GitHub code review template asks for a **GitHub token secret** — the name of the saved secret the automation reads the token from. The default is `GITHUB_PERSONAL_ACCESS_TOKEN`.

On a self-hosted (OpenHands Enterprise) instance where GitHub is connected under `Settings > Integrations`, this field is hidden, on the setup form and on the review step. The automation still names `GITHUB_PERSONAL_ACCESS_TOKEN`, and it falls back to the connected GitHub integration's token, so you do not need to create a secret.

Without GitHub connected, and on OpenHands Cloud and local backends, the field is shown and you supply the secret name as usual.

## Add the GitHub MCP Server

The GitHub MCP server gives the agent tools for reading repositories, inspecting pull requests, and posting review output.
Expand Down
2 changes: 1 addition & 1 deletion openhands/usage/agent-canvas/release-notes/v1.31.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Released October 22, 2026.

## Highlights

- **GitHub token secret hidden on Enterprise when GitHub is connected** — On a self-hosted (OpenHands Enterprise) instance where GitHub is connected under `Settings > Integrations`, the GitHub code review template's **GitHub token secret** field is hidden on the setup form and on the review step. The field keeps its default, so the created automation still names `GITHUB_PERSONAL_ACCESS_TOKEN`, and the bundle falls back to the connected integration's token. Without GitHub connected, and on OpenHands Cloud and local backends, the field is shown as before. See [GitHub PR Review Assistant](/openhands/usage/agent-canvas/prebuilt/github-pr-review#github-token-secret-on-enterprise).
- **GitHub token secret hidden on Enterprise when GitHub is connected** — On a self-hosted (OpenHands Enterprise) instance where GitHub is connected under `Settings > Integrations`, the GitHub code review template's **GitHub token secret** field is hidden on the setup form and on the review step. The field keeps its default, so the created automation still names `GITHUB_PERSONAL_ACCESS_TOKEN`, and the bundle falls back to the connected integration's token. Without GitHub connected, and on OpenHands Cloud and local backends, the field is shown as before. See [GitHub PR Review Assistant](/openhands/usage/agent-canvas/prebuilt/github-pr-review#github-token-secret).
- **OAuth-only MCP library entries install through the server's own OAuth** — Entries whose only option is OAuth, such as Sentry, now connect through the MCP server's own OAuth discovery and dynamic client registration instead of doing nothing on **Install**. The install dialog also reports when no option can be installed, instead of leaving **Install** unresponsive. See [OAuth Authentication](/openhands/usage/settings/mcp-settings#oauth-authentication).
- **Clearer message for an abandoned OAuth sign-in** — When an OAuth MCP install pop-up is closed without finishing sign-in, the dialog now says the sign-in was not completed instead of reporting a connection timeout. See [Troubleshoot MCP Connections](/openhands/usage/settings/mcp-settings#troubleshoot-mcp-connections).
- **Editing an automation keeps its repositories** — **Edit** now lists the automation's saved repositories. Repository changes are saved when the automation service supports it and the automation is a prompt or plugin preset; otherwise the repositories are read-only. See [Edit an automation](/openhands/usage/agent-canvas/managing-automations#edit-an-automation).
Expand Down