π OpenHands: AI-Driven Development
Make some doc changes for consistency (#9309)
mamoodi4c34a5f0f5ab
diff --git a/docs/usage/configuration-options.mdx b/docs/usage/configuration-options.mdxindex e39c5eca95..8d9260ad61 100644--- a/docs/usage/configuration-options.mdx+++ b/docs/usage/configuration-options.mdx@@ -1,8 +1,13 @@---title: Configuration Options-description: This page outlines all available configuration options for OpenHands, allowing you to customize its behavior and integrate it with other services. In GUI Mode, any settings applied through the Settings UI will take precedence.+description: This page outlines all available configuration options for OpenHands, allowing you to customize its+ behavior and integrate it with other services.---+<Note>+ In GUI Mode, any settings applied through the Settings UI will take precedence.+</Note>+## Core ConfigurationThe core configuration options are defined in the `[core]` section of the `config.toml` file.diff --git a/docs/usage/how-to/custom-sandbox-guide.mdx b/docs/usage/how-to/custom-sandbox-guide.mdxindex 12ec16e2d9..b2380adc98 100644--- a/docs/usage/how-to/custom-sandbox-guide.mdx+++ b/docs/usage/how-to/custom-sandbox-guide.mdx@@ -1,6 +1,7 @@---title: Custom Sandbox-description: This guide is for users that would like to use their own custom Docker image for the runtime. For example, with certain tools or programming languages pre-installed.+description: This guide is for users that would like to use their own custom Docker image for the runtime.+ For example, with certain tools or programming languages pre-installed.---The sandbox is where the agent performs its tasks. Instead of running commands directly on your computerdiff --git a/docs/usage/mcp.mdx b/docs/usage/mcp.mdxindex bfce6ef749..846f9de03c 100644--- a/docs/usage/mcp.mdx+++ b/docs/usage/mcp.mdx@@ -1,6 +1,7 @@---title: Model Context Protocol (MCP)-description: This page outlines how to configure and use the Model Context Protocol (MCP) in OpenHands, allowing you to extend the agent's capabilities with custom tools.+description: This page outlines how to configure and use the Model Context Protocol (MCP) in OpenHands, allowing you+ to extend the agent's capabilities with custom tools.---## Overviewdiff --git a/docs/usage/runtimes/daytona.mdx b/docs/usage/runtimes/daytona.mdxindex 6a4b921a54..c4535eda8e 100644--- a/docs/usage/runtimes/daytona.mdx+++ b/docs/usage/runtimes/daytona.mdx@@ -3,7 +3,6 @@ title: Daytona Runtimedescription: You can use [Daytona](https://www.daytona.io/) as a runtime provider.----## Step 1: Retrieve Your Daytona API Key1. Visit the [Daytona Dashboard](https://app.daytona.io/dashboard/keys).2. Click **"Create Key"**.diff --git a/docs/usage/runtimes/docker.mdx b/docs/usage/runtimes/docker.mdxindex 25abd7389d..609f3134b2 100644--- a/docs/usage/runtimes/docker.mdx+++ b/docs/usage/runtimes/docker.mdx@@ -3,8 +3,6 @@ title: Docker Runtimedescription: This is the default Runtime that's used when you start OpenHands.----This is the default Runtime that's used when you start OpenHands.-## ImageThe `SANDBOX_RUNTIME_CONTAINER_IMAGE` from nikolaik is a pre-built runtime imagethat contains our Runtime server, as well as some basic utilities for Python and NodeJS.diff --git a/docs/usage/runtimes/e2b.mdx b/docs/usage/runtimes/e2b.mdxindex 1149a65afd..c3d3946d44 100644--- a/docs/usage/runtimes/e2b.mdx+++ b/docs/usage/runtimes/e2b.mdx@@ -3,7 +3,8 @@ title: E2B Runtimedescription: E2B is an open-source secure cloud environment (sandbox) made for running AI-generated code and agents.----[E2B](https://e2b.dev) offers [Python](https://pypi.org/project/e2b/) and [JS/TS](https://www.npmjs.com/package/e2b) SDK to spawn and control these sandboxes.+[E2B](https://e2b.dev) offers [Python](https://pypi.org/project/e2b/) and [JS/TS](https://www.npmjs.com/package/e2b)+SDK to spawn and control these sandboxes.## Getting started@@ -18,9 +19,13 @@ description: E2B is an open-source secure cloud environment (sandbox) made for rFull CLI API is [here](https://e2b.dev/docs/cli/installation).## OpenHands sandbox-You can use the E2B CLI to create a custom sandbox with a Dockerfile. Read the full guide [here](https://e2b.dev/docs/guide/custom-sandbox). The premade OpenHands sandbox for E2B is set up in the `containers` directory. and it's called `openhands`.++You can use the E2B CLI to create a custom sandbox with a Dockerfile. Read the full guide+[here](https://e2b.dev/docs/guide/custom-sandbox). The premade OpenHands sandbox for E2B is set up in the `containers`+directory. and it's called `openhands`.## Debugging+You can connect to a running E2B sandbox with E2B CLI in your terminal.- List all running sandboxes (based on your API key)@@ -34,5 +39,6 @@ You can connect to a running E2B sandbox with E2B CLI in your terminal.```## Links+- [E2B Docs](https://e2b.dev/docs)- [E2B GitHub](https://github.com/e2b-dev/e2b)diff --git a/docs/usage/runtimes/local.mdx b/docs/usage/runtimes/local.mdxindex d1b93c7abc..4855d302b1 100644--- a/docs/usage/runtimes/local.mdx+++ b/docs/usage/runtimes/local.mdx@@ -1,6 +1,8 @@---title: Local Runtime-description: The Local Runtime allows the OpenHands agent to execute actions directly on your local machine without using Docker. This runtime is primarily intended for controlled environments like CI pipelines or testing scenarios where Docker is not available.+description: The Local Runtime allows the OpenHands agent to execute actions directly on your local machine without+ using Docker. This runtime is primarily intended for controlled environments like CI pipelines or testing scenarios+ where Docker is not available.---<Warning>diff --git a/docs/usage/runtimes/remote.mdx b/docs/usage/runtimes/remote.mdxindex 7aaa62c5bc..ebf6e99d34 100644--- a/docs/usage/runtimes/remote.mdx+++ b/docs/usage/runtimes/remote.mdx@@ -1,7 +1,11 @@---title: Remote Runtime-description: This runtime is specifically designed for agent evaluation purposes only through the [OpenHands evaluation harness](https://github.com/All-Hands-AI/OpenHands/tree/main/evaluation). It should not be used to launch production OpenHands applications.+description: This runtime is specifically designed for agent evaluation purposes only through the+ [OpenHands evaluation harness](https://github.com/All-Hands-AI/OpenHands/tree/main/evaluation). It should not be+ used to launch production OpenHands applications.----OpenHands Remote Runtime is currently in beta (read [here](https://runtime.all-hands.dev/) for more details), it allows you to launch runtimes-in parallel in the cloud. Fill out [this form](https://docs.google.com/forms/d/e/1FAIpQLSckVz_JFwg2_mOxNZjCtr7aoBFI2Mwdan3f75J_TrdMS1JV2g/viewform) to apply if you want to try this out!+OpenHands Remote Runtime is currently in beta (read [here](https://runtime.all-hands.dev/) for more details),+it allows you to launch runtimes in parallel in the cloud. Fill out+[this form](https://docs.google.com/forms/d/e/1FAIpQLSckVz_JFwg2_mOxNZjCtr7aoBFI2Mwdan3f75J_TrdMS1JV2g/viewform) to+apply if you want to try this out!diff --git a/docs/usage/runtimes/runloop.mdx b/docs/usage/runtimes/runloop.mdxindex faaf54c9bb..b6c1c4444d 100644--- a/docs/usage/runtimes/runloop.mdx+++ b/docs/usage/runtimes/runloop.mdx@@ -1,6 +1,7 @@---title: Runloop Runtime-description: Runloop provides a fast, secure and scalable AI sandbox (Devbox). Check out the [runloop docs](https://docs.runloop.ai/overview/what-is-runloop) for more detail.+description: Runloop provides a fast, secure and scalable AI sandbox (Devbox). Check out the+ [runloop docs](https://docs.runloop.ai/overview/what-is-runloop) for more detail.---## Accessdiff --git a/docs/usage/search-engine-setup.mdx b/docs/usage/search-engine-setup.mdxindex 830372f95a..23b865434d 100644--- a/docs/usage/search-engine-setup.mdx+++ b/docs/usage/search-engine-setup.mdx@@ -1,6 +1,6 @@---title: Search Engine Setup-description: Configure OpenHands to use Tavily as a search engine+description: Configure OpenHands to use Tavily as a search engine.---## Setting Up Search Engine in OpenHands@@ -11,10 +11,10 @@ OpenHands can be configured to use [Tavily](https://tavily.com/) as a search engTo use the search functionality in OpenHands, you'll need to obtain a Tavily API key:-1. Visit [Tavily's website](https://tavily.com/) and sign up for an account-2. Navigate to the API section in your dashboard-3. Generate a new API key-4. Copy the API key (it should start with `tvly-`)+1. Visit [Tavily's website](https://tavily.com/) and sign up for an account.+2. Navigate to the API section in your dashboard.+3. Generate a new API key.+4. Copy the API key (it should start with `tvly-`).### Configuring Search in OpenHands@@ -22,13 +22,12 @@ Once you have your Tavily API key, you can configure OpenHands to use it:#### In the OpenHands UI-1. Open OpenHands and navigate to the Settings page by clicking the gear icon-2. In the LLM settings tab, locate the "Search API Key (Tavily)" field-3. Enter your Tavily API key (starting with `tvly-`)-4. Click "Save" to apply the changes+1. Open OpenHands and navigate to the Settings page.+2. Under the `LLM` tab, enter your Tavily API key (starting with `tvly-`) in the `Search API Key (Tavily)` field.+3. Click `Save` to apply the changes.<Note>-The search API key field is optional. If you don't provide a key, the search functionality will not be available to the agent.+ The search API key field is optional. If you don't provide a key, the search functionality will not be available to the agent.</Note>#### Using Configuration Files@@ -45,22 +44,23 @@ search_api_key = "tvly-your-api-key-here"When the search engine is configured:-1. The agent can decide to search the web when it needs external information-2. Search queries are sent to Tavily's API via [Tavily's MCP server](https://github.com/tavily-ai/tavily-mcp) which includes a variety of [tools](https://docs.tavily.com/documentation/api-reference/introduction) (search, extract, crawl, map).-3. Results are returned and incorporated into the agent's context-4. The agent can use this information to provide more accurate and up-to-date responses+- The agent can decide to search the web when it needs external information.+- Search queries are sent to Tavily's API via [Tavily's MCP server](https://github.com/tavily-ai/tavily-mcp) which+ includes a variety of [tools](https://docs.tavily.com/documentation/api-reference/introduction) (search, extract, crawl, map).+- Results are returned and incorporated into the agent's context.+- The agent can use this information to provide more accurate and up-to-date responses.### Limitations-- Search results depend on Tavily's coverage and freshness-- Usage may be subject to Tavily's rate limits and pricing tiers-- The agent will only search when it determines that external information is needed+- Search results depend on Tavily's coverage and freshness.+- Usage may be subject to Tavily's rate limits and pricing tiers.+- The agent will only search when it determines that external information is needed.### TroubleshootingIf you encounter issues with the search functionality:-- Verify that your API key is correct and active-- Check that your API key starts with `tvly-`-- Ensure you have an active internet connection-- Check Tavily's status page for any service disruptions+- Verify that your API key is correct and active.+- Check that your API key starts with `tvly-`.+- Ensure you have an active internet connection.+- Check Tavily's status page for any service disruptions.