openhands

Delegate coding tasks with file edits and terminal actions to the OpenHands CLI.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/mattei2005/mgs-agent --skill openhands-mattei2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openhands
Source: https://github.com/mattei2005/mgs-agent/tree/main/profiles/atena-skills/autonomous-ai-agents/openhands
Command: npx skills add https://github.com/mattei2005/mgs-agent --skill openhands-mattei2005

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of delegating multi-step coding work (file edits plus shell commands) to an autonomous coding agent without using a UI.

Core Features & Use Cases

  • Model-agnostic delegation: Runs OpenHands CLI with LiteLLM-compatible providers so you can use non-OpenAI/non-Anthropic models.
  • Batch and resume workflows: Supports one-shot tasks, background execution with log/poll, and resuming prior conversations via conversation IDs.
  • Automation-ready JSON streaming: Uses headless + JSON output so Hermes can reliably detect tool actions and final completion.

Quick Start

Delegate a coding task by instructing the assistant to run OpenHands headless JSON mode in your project folder with a specified LiteLLM model and provider API environment variables.

Frequently Asked Questions about openhands

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run autonomous coding tasks headless without a UI?

Autonomous coding tasks run headless by delegating multi-step file edits and terminal actions to the OpenHands CLI using JSON event streaming, allowing reliable detection of tool actions and completion without a graphical interface.

Can I use non-OpenAI models for autonomous coding with LiteLLM?

Yes, autonomous coding supports non-OpenAI models by using LiteLLM-compatible providers, configured through environment variables like LLM_MODEL, LLM_API_KEY, and LLM_BASE_URL for model-agnostic delegation.

How do I resume a prior autonomous coding session?

Prior autonomous coding sessions resume by providing the original conversation ID to the CLI, enabling safe continuation of multi-step workspace modifications and terminal actions from where the previous run stopped.

What's the best way to automate batch coding jobs in the background?

Batch coding jobs automate best by running the CLI in headless JSON mode with background execution, logging, and polling to monitor progress while it applies multi-step modifications inside a workspace.

Do I need to install OpenHands CLI before delegating coding tasks?

Yes, the OpenHands CLI must be installed and accessible via the terminal tool, along with configured LiteLLM environment variables, to execute headless JSON automation for autonomous development workflows.

Why use JSON event streaming for autonomous development workflows?

JSON event streaming provides structured, machine-readable output during autonomous development, enabling reliable parsing of coordinated file edits, terminal actions, and final completion signals for automation-ready workflows.