A 24/7 automated GitHub PR and Issue manager that works on your repositories.
- Monitors PRs created by the bot account for feedback and merge conflicts
- Handles assigned issues automatically
- Picks up priority unassigned issues (high/critical, good first issue, help wanted)
- Creates branches, implements fixes, and opens PRs
- Persists state across restarts
cd /home/debian/openhands-github-agent
source venv/bin/activateCreate /etc/openhands-github-agent/env with your settings:
sudo mkdir -p /etc/openhands-github-agent
sudo nano /etc/openhands-github-agent/envRequired variables:
LLM_MODEL- Model name with provider prefix (e.g.,openai/qwen3.5:122b)LLM_API_KEY- Your API key (ornot-neededfor local models)LLM_BASE_URL- LLM endpoint URLGITHUB_TOKEN- GitHub personal access tokenGITHUB_USERNAME- Bot usernameGITHUB_REPOSITORIES- Comma-separated account names to monitor
sudo systemctl daemon-reload
sudo systemctl enable openhands-github-agent
sudo systemctl start openhands-github-agentsudo journalctl -u openhands-github-agent -fLogs are written to /var/log/openhands-github-agent/agent.log
Agent state persists in /var/lib/openhands-github-agent/agent_state.json
- Python 3.11+
- Virtual environment with dependencies installed
- Systemd for service management