Skip to main content
Automations let you schedule AI-powered tasks that run automatically—daily reports, health checks, data syncs, and more. Each automation runs a full OpenHands conversation on your chosen schedule, with access to your LLM settings, stored secrets, and integrations. Your git provider credentials are automatically available—if you logged into OpenHands with GitHub, GitLab, or Bitbucket, that access is included by default.

What Can Automations Do?

  • Generate reports: Daily standups, weekly summaries, or monthly metrics
  • Monitor systems: Check API health, SSL certificates, or uptime
  • Sync data: Pull from external APIs, update spreadsheets, or refresh dashboards
  • Maintain code: Run dependency checks, security scans, or cleanup tasks
  • Send notifications: Post updates to Slack, create GitHub issues, or send alerts
Automations can only interact with services you’ve configured access to. For example, posting to Slack requires the Slack MCP integration. Git providers you logged in with (GitHub, GitLab, Bitbucket) are automatically available.

Two Types of Automations

When you ask OpenHands to create an automation, you can choose between:
  • Prompt-based (most common): Describe what the automation should do in natural language. Great for reports, monitoring, data syncs, and most tasks.
  • Plugin-based: Include one or more plugins that provide additional skills or capabilities. Use this when you need specialized tools from the OpenHands extensions repository.
Both types are created the same way—just describe what you want and OpenHands will guide you through the setup.

Creating Your First Automation

Just ask OpenHands to create one:
For plugin-based automations, mention the plugin:
The Automation Skill guides you through:
  1. Naming your automation
  2. Setting the schedule
  3. Choosing a timezone
  4. Confirming the task description (and plugins, if any)
That’s it—the system handles the rest.

How It Works

When your automation runs:
  1. A fresh sandbox is created
  2. The OpenHands agent executes your prompt
  3. The conversation is saved so you can review it later
  4. You can even continue the conversation if needed
Automations are user-scoped—each automation and its runs belong to you. Conversations created by your automations automatically appear in your conversations list, just like any other conversation you start. Your automation has access to everything a normal OpenHands conversation does: terminal, file editing, your configured LLM, stored secrets, and MCP integrations. Git provider tokens from your login (GitHub, GitLab, or Bitbucket) are automatically included.

Getting Started

Prerequisites
  • Configured LLM in your settings
  • Stored secrets (optional) for any additional API keys your automations need (e.g., Slack tokens)
Open a new conversation in OpenHands and ask it to create an automation:
Once you create an automation, you can view them by clicking on the “Automations” icon on the left-hand navigation. You can also ask OpenHands to list existing automations, enable/disable them, or trigger manual runs.

Use Case Automations

Each use case has a ready-to-use automation prompt. Click a card to see the full instructions.

Automated Code Review

Review open PRs daily for bugs, style issues, and security concerns.

Dependency Upgrades

Check for outdated packages weekly and report available updates.

Incident Triage

Monitor API health, analyze errors, and alert your team automatically.

Automated QA Testing

Functionally test PR changes by exercising the software as a real user would.

Vulnerability Remediation

Scan dependencies for known CVEs, find hardcoded secrets, and alert your team on a schedule.

General Automations

Ready-to-use templates for common operational tasks.

Daily GitHub Summary

Summarize PRs opened, merged, and reviewed daily.

Weekly Metrics Report

Generate weekly GitHub activity and issue reports.

SSL Certificate Monitor

Check SSL expiry dates and alert before they lapse.

Weekly Cleanup

Remove stale temporary files and report what was cleaned.

Backup Verification

Verify database backups exist and are recent.

Analytics Data Sync

Pull analytics data periodically and flag big changes.

Daily GitHub Summary

Weekly Metrics Report

SSL Certificate Monitor

Weekly Cleanup

Backup Verification

Analytics Data Sync


Tips for Writing Good Prompts

Tell the automation exactly what to do:
  • “Check X and if Y, then Z”
  • “Generate a report and save it to…”
  • “Fetch data, compare with expected values, and report differences”
Specify what should happen when things go wrong:
  • “If the response is not 200…”
  • “If any backup is missing…”
  • “If the check fails, alert the team”
Be explicit about outputs:
  • “Post to the #channel Slack channel”
  • “Save to reports/ with the current date”
  • “Create a GitHub issue with the findings”

Next Steps