OpenHands
Use TensorX models with OpenHands, the open-source AI software developer.
Prerequisites
OpenHands runs as a Docker container. Ensure you have Docker installed and running.
Quick Start
Pull and run OpenHands:
docker pull docker.openhands.dev/openhands/runtime:1.0-nikolaik
docker run -it --rm --pull=always \
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.openhands.dev/openhands/runtime:1.0-nikolaik \
-e LOG_ALL_EVENTS=true \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openhands:/.openhands \
-p 3000:3000 \
--add-host host.docker.internal:host-gateway \
--name openhands-app \
docker.openhands.dev/openhands/openhands:1.0Open
http://localhost:3000in your browser
Configuration
When prompted, click "see advanced settings" to open the LLM Settings page
Enable the Advanced toggle at the top
Configure the following:
Custom Model
openai/<MODEL_ID>
Base URL
https://api.tensorx.ai/v1
API Key
Your TensorX API key
Click Save Settings
Model selection
Call GET /v1/models with your TensorX API key and use one of the returned IDs. If the integration depends on a capability or token limit, query GET /v1/model/info before selecting the model. See Models for examples.
Tips
Model selection: Query
GET /v1/model/infoand check the capabilities required by the workflowContext size: Check the selected model's context metadata before setting a client-side value
Usage: OpenHands can issue many prompts; monitor usage in the TensorX dashboard
Troubleshooting
Empty responses
Check model ID is correct with openai/ prefix
Connection errors
Verify Base URL is https://api.tensorx.ai/v1
Authentication errors
Verify your API key is correct
Resources
Last updated
Was this helpful?

