Hi team! I’m running into an issue setting up a lo...
# questions
f
Hi team! I’m running into an issue setting up a local Docker installation of OpenHands and integrating it with our version control system: 1. I have OpenHands running locally in Docker and connected to my local GitLab (or GitHub). I’ve added the keys and in Integrations → Issues I can see the list of tasks, but when I mention the agent (
@openhands
,
@openhands-app
,
@bot
), nothing happens—the agent doesn’t respond, even though in the demo video it activates automatically. 2. I need a step-by-step guide for configuring this: ◦ Which settings in
docker-compose.yml
and environment variables are required for the agent to start correctly? ◦ What roles or permissions should be granted to the agent user in GitLab/GitHub? Questions: 1. Does this setup actually work locally with: ◦ OpenHands (Docker) + local GitLab ◦ OpenHands (Docker) + GitHub 2. Where can I find the official step-by-step instructions or configuration examples? 3. Or who in the community should I reach out to for detailed help? Any pointers, config examples, or documentation links would be greatly appreciated! 🙏
p
I think that workflow only works on OpenHands-Cloud you might be confusing this concept: https://docs.all-hands.dev/usage/cloud/gitlab-installation#gitlab-integration
I only got the "label issue to trigger OpenHands CI resolver" workflow working in GitLab at some point, maintaining a separate fork: https://gitlab.com/deposition.cloud/apps/openhands you might be able to fork this, if that's what you're looking for: https://gitlab.com/deposition.cloud/infra/devops/openhands you can see here that "it worked", https://gitlab.com/deposition.cloud/apps/hello/-/boards can't promise it will work again at this point, as the OpenHands code changes fast
c
Yes, this is a bit confusing. Basically, you have two options: • you can make it work in CI: https://github.com/All-Hands-AI/OpenHands/tree/main/openhands/resolver#using-the-github-actions-workflow • that responds to
@openhands-agent
• or, as Paul said, the other one uses the OpenHands Cloud (and can respond to
@openhands
), and then it needs set up as you did, but over on the Saas
f
Thanks so much, Paul and Engel — really appreciate the clarity and the links. Your explanations helped me understand the distinction between the OpenHands Cloud workflow (which can respond to
@openhands
) and the CI-based approach (which responds to
@openhands-agent
). • Paul, thanks for pointing out that the mention-based flow is Cloud-only right now and for sharing your GitLab examples/forks. The board snapshot and repos you linked are super helpful references. • Engel, thanks for confirming the two viable paths and for the pointer to the resolver workflow. That gives me a concrete direction for a GitLab CI setup on my side.
p
Np, @flat-pharmacist-71278 - what do you have in mind for GitLab CI? If you don't mind me asking 🙂 some of my thought process/motivation I tried to capture in here: https://github.com/All-Hands-AI/OpenHands/issues/8603