Hello everyone. I'm new to OpenHands. I wanted to ...
# general
m
Hello everyone. I'm new to OpenHands. I wanted to know if this is better than Claude code, and If yes, how? Which model is used here? How can i set it up and use it?
🤝 1
c
It is better, though not surprisingly it works best with Claude models.
m
What about GPT-5 and Opensource models like GLM 4.6?
l
It works well with GPT-5, and I think it works pretty well with GLM 4.6
It definitely works well with Qwen-3-Coder, I haven’t tried it enough with GLM 4.6 yet
w
I use both Claude Code and OH. I find that, while Claude Code is good when working on very local problems, OH is better for reaching more ambitious goals.
💯 2
m
@white-morning-89522 Which model do you use?
w
In OH, I’ve been using
claude-sonnet-4-20250514
.
m
Is it possible to use this on VScode? Does it have an extension or CLI?
l
We might also soon support an extension through ACP
a
@limited-student-10747 any thoughts on if the CLI/Extension will work with existing conversations spun up via the UI? Or do you think they will be isolated?
m
What are costs compared to Claude Code?
e
@ambitious-baker-8365 I'm assuming you mean having the GUI and CLI use the same conversation history? This does sound convenient and something we should do. I'll share the feedback with the team.
@melodic-engine-73602 OpenHands is 'bring your own key', so if you want to use Claude models, you can plug in your own Anthropic API key, or use the OpenHands LLM provider which also offers Claude 4 and Claude 4.5 models at cost (with no markup on Anthropic's API pricing). Of course, conversation costs can vary widely based on what you're trying to do with OpenHands! 🙂
👍 1
a
@elegant-branch-54423 yea so basically sometimes developers will start a conversation in the GUI but will want to finish it off in their local vscode instance since that’s where all their plugins and stuff are So the ability to traverse from GUI <-> CLI/Extension would be amazing
💯 1
e
Exactly. Was doing the same thing myself on Friday 🙂
Curious, you an active user of both local CLI and local GUI?
a
Mainly GUI - I focus on platformizing OpenHands in isolated environments vs local development
e
Interesting! We are looking at making some usability improvements to CLI to make the local dev use case a bit easier.
a
Nice! The main thing that stops me from utilizing it is lack of control (like other local agents) With the GUI - we can host it and make sure all requests are passing through our guardrails and using the correct LLM paths, etc… Locally it’s a bit harder to structure that and requires an honor system right now - so having a path to where the CLI can call the GUI and use all its guardrails and stuff would be nice
e
What kind of guardrails? Have you implemented these as additional prompts in OpenHands itself? Or are these guardrails more downstream to the inference provider? But at a high level, I get your point about CLI re-using guardrails you have configured.
a
OpenHands Organizational Microagents + middleman between OH and the LLM (we don’t alter OH code itself to do any of that) We could do the same with CLI by just getting people to use the proper endpoint 🤔
e
Interesting! I do see what you're talking about w.r.t. having a consistent guardrail experience, and access to Org microagents. Will do some thinking on this.
🙌 1
s
This is the devcontainer I use to run agent-sdk in VSCode which works locally and in GitHub Codespaces https://github.com/jimwhite/agent-sdk/tree/vscode/.devcontainer