{"id":35830349,"url":"https://github.com/openhands/openhands-cli","last_synced_at":"2026-04-24T05:00:36.179Z","repository":{"id":312933426,"uuid":"1049343369","full_name":"OpenHands/OpenHands-CLI","owner":"OpenHands","description":"Lightweight OpenHands CLI in a binary executable","archived":false,"fork":false,"pushed_at":"2026-04-22T11:53:45.000Z","size":3942,"stargazers_count":160,"open_issues_count":120,"forks_count":75,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-04-22T13:29:16.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.openhands.dev/openhands/usage/cli/installation","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenHands.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-02T20:50:27.000Z","updated_at":"2026-04-22T11:50:12.000Z","dependencies_parsed_at":"2025-09-02T23:32:40.825Z","dependency_job_id":null,"html_url":"https://github.com/OpenHands/OpenHands-CLI","commit_stats":null,"previous_names":["all-hands-ai/openhands-cli","openhands/openhands-cli"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/OpenHands/OpenHands-CLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHands%2FOpenHands-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHands%2FOpenHands-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHands%2FOpenHands-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHands%2FOpenHands-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenHands","download_url":"https://codeload.github.com/OpenHands/OpenHands-CLI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHands%2FOpenHands-CLI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32209895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-07T22:13:08.200Z","updated_at":"2026-04-24T05:00:36.173Z","avatar_url":"https://github.com/OpenHands.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/OpenHands/docs/main/openhands/static/img/logo.png\" alt=\"Logo\" width=\"200\"\u003e\n  \u003ch1 align=\"center\"\u003eOpenHands V1 CLI\u003c/h1\u003e\n  \u003ch4\u003e(Powered by \u003ca href=\"https://github.com/OpenHands/software-agent-sdk\"\u003eOpenHands Software Agent SDK\u003c/a\u003e)\u003c/h4\u003e\n\u003c/div\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/OpenHands/OpenHands-CLI/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/OpenHands/software-agent-sdk?style=for-the-badge\u0026color=blue\" alt=\"MIT License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://openhands.dev/joinslack\"\u003e\u003cimg src=\"https://img.shields.io/badge/Slack-Join%20Us-red?logo=slack\u0026logoColor=white\u0026style=for-the-badge\" alt=\"Join our Slack community\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://docs.openhands.dev/openhands/usage/cli/installation\"\u003e\u003cimg src=\"https://img.shields.io/badge/Documentation-000?logo=googledocs\u0026logoColor=FFE165\u0026style=for-the-badge\" alt=\"Check out the documentation\"\u003e\u003c/a\u003e \n  \u003cbr\u003e\n  \u003c!-- Keep these links. Translations will automatically update with the README. --\u003e\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=de\"\u003eDeutsch\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=es\"\u003eEspañol\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=fr\"\u003efrançais\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=ja\"\u003e日本語\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=ko\"\u003e한국어\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=pt\"\u003ePortuguês\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=ru\"\u003eРусский\u003c/a\u003e |\n  \u003ca href=\"https://www.readme-i18n.com/OpenHands/OpenHands-CLI?lang=zh\"\u003e中文\u003c/a\u003e\n\u003c/div\u003e\n\u003c/br\u003e\n\u003chr\u003e\n\nRun OpenHands agent inside your terminal, favorite IDE, CI pipelines, local browser, or secure OpenHands Cloud sandboxes.\n\n## Installation\n\n### Using uv (Recommended)\n\nRequires Python 3.12+ and [uv](https://docs.astral.sh/uv/) 0.11.6 or newer.\n\n```bash\nuv tool install openhands --python 3.12\n```\n\n### Executable Binary\n\nInstall the standalone binary with the install script:\n\n```bash\ncurl -fsSL https://install.openhands.dev/install.sh | sh\n```\n\n\n## Usage\n\n### Quick Start\nThe first time you run the CLI, it will guide you through configuring your LLM settings:\n\n```bash\nopenhands\n```\n\n\n### Configuration\n\nOpenHands CLI stores configuration under `~/.openhands/` (created on first run):\n\n- `agent_settings.json`: persisted agent settings (including condenser config)\n- `cli_config.json`: CLI/TUI preferences (e.g., critic enabled)\n- `mcp.json`: MCP server configuration\n\nBy default, environment variables like `LLM_API_KEY`, `LLM_MODEL`, and `LLM_BASE_URL` are ignored; pass `--override-with-envs` to apply them (not persisted).\n\n### Running Modes\n\n| Mode | Command | Best For |\n| --- | --- | --- |\n| [Terminal (TUI)](https://docs.openhands.dev/openhands/usage/cli/terminal) | `openhands` | Interactive development |\n| [IDE Integration](https://docs.openhands.dev/openhands/usage/cli/ide/overview) | `openhands acp` | IDEs (Toad, Zed, VSCode, JetBrains, etc) |\n| [Headless](https://docs.openhands.dev/openhands/usage/cli/headless) | `openhands --headless -t \"task\"` | CI, scripts, and automation |\n| [Web Interface](https://docs.openhands.dev/openhands/usage/cli/web-interface) | `openhands web` | Browser-based TUI |\n| [GUI Server](https://docs.openhands.dev/openhands/usage/cli/gui-server) | `openhands serve` | [Full web GUI](https://github.com/OpenHands/OpenHands)|\n\n## Features\n\n### [MCP Servers](https://docs.openhands.dev/openhands/usage/cli/mcp-servers)\n\nExtend OpenHands capabilities with [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) servers:\n\n```bash\n# List configured servers\nopenhands mcp list\n\n# Add a server\nopenhands mcp add tavily --transport stdio \\\n  npx -- -y mcp-remote \"https://mcp.tavily.com/mcp/?tavilyApiKey=\u003cyour-api-key\u003e\"\n\n# Enable/disable servers\nopenhands mcp enable \u003cserver-name\u003e\nopenhands mcp disable \u003cserver-name\u003e\n```\n\n### [Confirmation Modes](https://docs.openhands.dev/openhands/usage/cli/command-reference)\n\nControl how the agent handles actions:\n\n```bash\n# Default: ask for confirmation on each action\nopenhands\n\n# Auto-approve all actions\nopenhands --always-approve  # or --yolo\n\n# LLM-based security analyzer\nopenhands --llm-approve\n```\n\n### [Cloud Conversations](https://docs.openhands.dev/openhands/usage/cli/cloud)\n\nRun tasks on OpenHands Cloud. First, authenticate with OpenHands Cloud to fetch your settings:\n\n```bash\n# Login to OpenHands Cloud\nopenhands login\n\n# Run a task on OpenHands Cloud\nopenhands cloud -t \"Fix the login bug\"\n```\n\n\n### [Headless Mode](https://docs.openhands.dev/openhands/usage/cli/headless)\n\nRun OpenHands without the interactive UI for CI/CD pipelines and automation:\n\n```bash\nopenhands --headless -t \"Write unit tests for auth.py\"\nopenhands --headless -f instructions.md  # or use a file\n\n# With JSON output for parsing\nopenhands --headless --json -t \"Create a Flask app\"\n```\n\n### Resume Conversations\n\n```bash\nopenhands --resume              # list recent conversations\nopenhands --resume \u003cid\u003e         # resume specific conversation\nopenhands --resume --last       # resume most recent\n```\n\n## Documentation\n\nFor complete documentation, visit https://docs.openhands.dev/openhands/usage/cli.\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n\u003chr\u003e\n\n### Thank You to Our Contributors\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/OpenHands/OpenHands-CLI/graphs/contributors\"\u003e\u003cimg src=\"https://assets.openhands.dev/readme/openhands-openhands-cli-contributors.svg\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003chr\u003e\n\n### Trusted by Engineers at\n\n\u003cdiv align=\"center\"\u003e\n  \n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/tiktok.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/tiktok.svg\" alt=\"TikTok\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/vmware.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/vmware.svg\" alt=\"VMware\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/roche.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/roche.svg\" alt=\"Roche\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/amazon.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/amazon.svg\" alt=\"Amazon\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/c3-ai.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/c3-ai.svg\" alt=\"C3 AI\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/netflix.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/netflix.svg\" alt=\"Netflix\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/mastercard.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/mastercard.svg\" alt=\"Mastercard\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/red-hat.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/red-hat.svg\" alt=\"Red Hat\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/mongodb.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/mongodb.svg\" alt=\"MongoDB\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/apple.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/apple.svg\" alt=\"Apple\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/nvidia.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/nvidia.svg\" alt=\"NVIDIA\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://assets.openhands.dev/logos/external/white/google.svg\"\u003e\n    \u003cimg src=\"https://assets.openhands.dev/logos/external/black/google.svg\" alt=\"Google\" height=\"17\" hspace=\"5\"\u003e\n  \u003c/picture\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenhands%2Fopenhands-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenhands%2Fopenhands-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenhands%2Fopenhands-cli/lists"}