← Back to Leaderboard
AOpenHands

OpenHands/automation

A FastAPI control plane for scheduling and triggering OpenHands runs

View on GitHub ↗
Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 92/100
Maintenance Activity
● Updated today
Latest Release
1.38.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 51
24h Growth
+0
7d Growth
+1
Forks
67

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

OpenHands/automation Star History (2026-05-14 - 2026-12-04) ALL-TIME STAR HISTORY (2026-05 – 2026-12) +50 in 204d · avg +0/day 55 28 0 2026-05-14: ★ 12026-05-30: ★ 12026-06-13: ★ 12026-06-27: ★ 42026-07-11: ★ 72026-07-25: ★ 102026-08-08: ★ 132026-08-22: ★ 152026-09-05: ★ 202026-09-19: ★ 292026-10-03: ★ 342026-10-17: ★ 422026-10-31: ★ 462026-11-13: ★ 492026-11-26: ★ 502026-12-04: ★ 51 ★ 51 2026-05 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OpenHands Automation is the control plane for recurring and event-driven OpenHands conversations. openhands.automation.app:app is the FastAPI entry point; router.py exposes CRUD, scheduler.py handles cron, and webhooks provide a second trigger path. dispatcher.py submits pending runs to OpenHands. The service owns run history and sandbox lifecycle orchestration, while the Agent Server and software-agent SDK execute conversations and own tool behavior, workspaces, and agent events.

The Python 3.12+ stack uses Pydantic schemas, SQLAlchemy models, and Alembic migrations. The dependency manifest includes croniter, asyncpg, and aiosqlite. Integrations span inbound HTTP callbacks and an explicit aiohttp WebSocket transport dependency for Slack SDK's async Socket Mode client. These are integration paths into the service, not a model or agent-tool plugin interface.

Key Capabilities & Differentiators

Automations can run on a cron schedule or respond to webhook events such as those from GitHub. Per-user API keys govern automation access, and run history records execution status and results. A direct Microsoft Teams outgoing webhook example covers source admission, API setup, and acknowledgements. This layer dispatches OpenHands conversations rather than selecting or serving model families itself.

Recent releases extend what can be recorded and filtered. Version 1.36.0 added persisted outcome values for analytics and factory-validated outcome parsers. Version 1.37.0 introduced outcome periods and dedupe keys and reserved the platform. outcome-key prefix. Version 1.38.0 added automation-list filtering by factory membership. Outcome deduplication should not be read as a guarantee that webhook deliveries or agent runs execute exactly once.

Trade-offs & Limitations

The strongest reason to adopt this service is that a job is already an OpenHands conversation: definitions, triggers, dispatch, and history have one owner without duplicating execution logic. A CI scheduler is a better fit when the job lives entirely inside an existing repository pipeline. For multi-step dependencies across unrelated systems, evaluate a general workflow engine; this service's scope is OpenHands orchestration rather than general-purpose workflow execution.

Self-hosting the API leaves you responsible for database migrations, webhook reachability, API key handling, and connectivity to the execution layer. The advisory lock coordinates schema migrations, not scheduler failover or duplicate-run prevention. Because the service is in beta, pin a release and test integrations and upgrades before depending on stable behavior. Size the control plane by inbound event rate, dispatch concurrency, and retained history; model and sandbox costs belong to the execution side.

Hardware & Deployment Guide

For local development, use Python 3.12+, uv, and PostgreSQL: install with uv sync --group dev and start uv run uvicorn openhands.automation.app:app --host 0.0.0.0 --port 8000 --reload. For container deployment, build from containers/Dockerfile or use images published to ghcr.io/openhands/automation on main-branch pushes and tags. Running the API container does not replace the OpenHands execution layer.

SQLite databases migrate on startup. PostgreSQL migrations can be applied separately with uv run alembic upgrade head or enabled at startup with AUTOMATION_RUN_MIGRATIONS_ON_STARTUP=true. On startup, an advisory lock serializes migration attempts across replicas, and a migration failure prevents the affected replica from starting. Optional database creation uses AUTOMATION_CREATE_DATABASE_IF_MISSING=true and requires CREATEDB. Release 1.38.0 also updated the container's Debian snapshot for krb5 and zstd security fixes.

Triggering: Cron schedules and inbound webhooks launch OpenHands conversations.
Execution boundary: The dispatcher submits pending runs to OpenHands; the Agent Server and SDK own tool and workspace behavior.
API and tracking: FastAPI exposes automation CRUD, alongside per-user API keys and run history with status and results.
Integrations: GitHub events are a webhook example; the Teams outgoing webhook guide covers source admission and acknowledgements.
Migration safety: PostgreSQL startup migrations are opt-in and serialized across replicas via an advisory lock.
Release progression: Versions 1.36–1.38 add outcome analytics data, dedupe keys, and factory-membership list filtering.
Best For

Teams already running OpenHands that need an API to manage recurring or webhook-triggered conversations and track their outcomes.

Skip If

You need a standalone agent runtime, a general cross-system workflow engine, or an API contract that is already stable beyond beta.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
# Install dependencies
uv sync --group dev

# Run the service locally (requires PostgreSQL)
uv run uvicorn openhands.automation.app:app --host 0.0.0.0 --port 8000 --reload

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
automation ★51+1PythonMITA FastAPI control plane for scheduling and triggering OpenHands runs
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
daily_stock_analysis75.9k+870PythonMITA Python Agent workbench for multi-market watchlist research and scheduled repor
dify162.4k+370Python—Visual workflow and RAG workspace for building and serving LLM apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/OpenHands/automation.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

OpenHands/automation Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about automation

How does a scheduled job or webhook become an OpenHands run?

Define the automation through the FastAPI CRUD API and configure a cron schedule or webhook. The dispatcher sends pending runs to OpenHands; the Agent Server and software-agent SDK own conversation execution, tools, and workspaces. Use the automation service's run history to track status and results.

What hardware should I provision, and does the service need a GPU?

Size the API, scheduler, dispatcher, and database separately from agent execution. For the control plane, start by measuring trigger volume, concurrent dispatches, and run-history growth. GPU and VRAM planning belongs to the execution layer and depends on the model and serving arrangement you choose; there is no single VRAM figure for this service.

Can a company self-host and redistribute the service?

Yes. The MIT license permits commercial use and redistribution, with the copyright and permission notices retained in copies or substantial portions of the software. Self-hosting this service does not establish compliance for the whole stack: separately review the terms and data-handling requirements of any agent, model, or messaging services you connect.

When is this a better fit than CI schedules or a general workflow engine?

Choose this service when the unit of work is already an OpenHands conversation and you want API-managed definitions, cron or webhook triggers, and run history. Choose a CI scheduler when the job already belongs to a repository pipeline, or evaluate a general workflow engine when you need to orchestrate dependencies across multiple systems.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining OpenHands/automation? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature OpenHands/automation on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare