Skip to content

feat: migrate from MetaGPT to OpenHands SDK - #11

Closed
dzianisv wants to merge 8 commits into
masterfrom
openhands-migration
Closed

feat: migrate from MetaGPT to OpenHands SDK#11
dzianisv wants to merge 8 commits into
masterfrom
openhands-migration

Conversation

@dzianisv

Copy link
Copy Markdown
Member

Summary

Migrates VibeTeam from MetaGPT to OpenHands SDK for AI agent operations.

Changes

  • Replaced metagpt with openhands-ai SDK
  • Created new agent architecture:
    • vibeteam/agents/openhands_base.py - Base OpenHands wrapper with LLM config
    • vibeteam/agents/release_engineer.py - ReleaseEngineerAgent for Sentry triage and PR review
  • Created FastAPI webhook server:
    • vibeteam/webhooks/server.py - Handles /webhook/sentry, /webhook/github, /api/* endpoints
  • Added K8s deployment with Docker-in-Docker sidecar for agent isolation
  • Added CI/CD workflow for automatic deployment

Deployment

Testing

  • Build passes
  • Docker image pushes to GHCR
  • K8s deployment succeeds
  • Health endpoint returns healthy
  • DNS configured via Cloudflare

Related

Closes #10

Major refactor to use OpenHands SDK for autonomous agent execution:

## New Components

### vibeteam/agents/
- openhands_base.py: Base OpenHands agent wrapper with LLM config,
  tool setup (Terminal, FileEditor, TaskTracker), and Docker support
- release_engineer.py: ReleaseEngineerAgent for production monitoring,
  Sentry triage, GitHub issue creation, PR review, and automated fixes

### vibeteam/webhooks/
- server.py: FastAPI webhook server for Sentry and GitHub events
  with endpoints for /api/fix-issue, /api/review-pr, /api/triage

### k8s/openhands/
- Kubernetes manifests for openhands-ops namespace
- Deployment with Docker-in-Docker sidecar for isolated agent execution
- IngressRoute for agents.vibebrowser.app

### Infrastructure
- Dockerfile: Multi-stage build for webhook server
- deploy-openhands.yml: GitHub Actions workflow for CI/CD

## Breaking Changes

- Replaced metagpt dependency with openhands-ai
- Added fastapi, uvicorn, redis, celery dependencies
- Old MetaGPT-based roles in vibeteam/roles/ are deprecated

Ref: #10
@dzianisv

Copy link
Copy Markdown
Member Author

Superseded by direct commits to master. Migration complete: MetaGPT removed, LiteLLM-based agents implemented, Kubernetes deployment working.

@dzianisv dzianisv closed this Jan 25, 2026
@dzianisv
dzianisv deleted the openhands-migration branch February 10, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Research: Software Engineer Agent Framework for VibeTeam

1 participant