What is OpenHands?
OpenHands (formerly OpenDevin) is an open-source AI coding agent that goes beyond code generation. It can run shell commands, browse the web, call APIs, and work through complex multi-step development tasks autonomously. You give it a task description and it plans, executes, and iterates until the task is complete. With 2.4 billion tokens processed on OpenRouter, it is one of the most capable open-source coding agents available.
OpenHands supports custom LLM endpoints through its configuration file. Set the base URL to EUrouter and your API key, and every LLM call the agent makes routes through EU infrastructure. This is especially important for OpenHands because it processes your entire codebase, terminal output, and browsing data as context.
Quick to integrate
A few lines of code is all it takes. Swap your base URL and you are routed through EUrouter.
1[llm]
2model = "gpt-4o"
3api_key = "eur-..."
4base_url = "https://api.eurouter.ai/v1"Get started in minutes
Follow these steps to connect your application to EUrouter.
Install OpenHands
Pull the OpenHands Docker image or install from source following the official docs.
1docker pull ghcr.io/all-hands-ai/openhandsConfigure the LLM endpoint
Create a config.toml file or set environment variables pointing to EUrouter. Set the base_url, api_key, and your preferred model.
1[llm]
2model = "gpt-4o"
3api_key = "eur-..."
4base_url = "https://api.eurouter.ai/v1"Run your agent
Start OpenHands and give it a task. All LLM calls now route through EU infrastructure automatically.
Why use OpenHands with EUrouter
Autonomous development in the EU
OpenHands processes your codebase, terminal output, browser content, and API responses as context. That is a lot of data leaving your environment. With EUrouter, every LLM call routes through EU servers. Your proprietary code and data stay within European jurisdiction even during complex multi-step agent tasks.
- Shell commands, file edits, and web browsing context all route through EUrouter
- Multi-step autonomous tasks stay GDPR-compliant from start to finish
- No US data processing for any agent interaction
- Full audit trail for every LLM request the agent makes
Open source with flexible models
OpenHands is fully open source, and through EUrouter you can use any supported model. Run GPT-4o for complex reasoning, Claude for long-context tasks, or Mistral for faster iterations. Switch models by changing one config line.
- Access all EUrouter models from a single API key
- Switch between models by changing the model string in config.toml
- No vendor lock-in: open-source agent with your choice of model
- Test different models on the same task to find the best fit
Cost visibility for agent runs
Autonomous agents can consume significant tokens on complex tasks. EUrouter gives you full visibility into what each agent run costs, broken down by model and request count. Set per-key spend limits to keep budgets under control.
- Per-key spending limits prevent unexpected cost spikes from long agent runs
- Usage dashboard shows token consumption per model and time period
- Issue separate keys per project or team for cost attribution
- Compare cost efficiency across different models for the same types of tasks