surfer-h-cli

作者 hcompai已验证

Run Surfer-H agents powered by Holo1 using the Surfer-H-CLI. Includes example tasks, scripts, and configurations.

164
Stars
18
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/hcompai/surfer-h-cli

快速入门

使用 surfer-h-cli 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

[!IMPORTANT] Surfer-H-CLI has been deprecated and is no longer maintained.

Please use the Models API and Agent API instead. The typed Python/TypeScript clients and CLI now ship as hai-agentsPyPI · npm · SDK docs.

Surfer-H-CLI / Open Surfer-H

🌐 Website | 📖 Tech report | 🤗 Hugging-Face Models | 🏄 Surfer-H product | ☁️ AWS Model Deployment

Introducing the latest range of Holo models: Holo1.5 State-of-the-art Foundational Models for Computer Use Agents

Introduction

The Holo models are H Company’s Action Vision-Language Models (VLMs) and Surfer-H is the agent that enacts them in the real world. Together, they provide a powerful, automated, yet optimized solution to interacting with web interfaces the way we do—setting a goal, taking decisions, re-thinking and re-assessing where needed, and, ultimately, fulfilling everyday tasks. Holo models and Surfer-H have been designed and built to do everything from booking flights, to searching for recipes online, and more.

The Surfer-H-CLI is the command-line interface for running and controlling the Surfer-H agent, allowing you to define tasks, connect to Holo models, and execute web interactions directly from your terminal.

Quick Start

To get started, first generate an API key at: https://portal.hcompany.ai. This API key will allow you to run inference on H company models. Guide: generate an API key

Next, copy the example env variables.

cp .env.example .env

Enter your newly generated HAI_API_KEY in your .env

Or setup globally: Add these to your .zshrc or .bashrc files:

export HAI_API_KEY=...
export HAI_MODEL_URL=...
export HAI_MODEL_NAME=...

Running via the CLI:

./run-on-holo.sh

Running with holo1.5 as localizer (best performance):

./run-on-holo-1-5.sh

Running with the frontend interface:

./launch.sh

This command will automatically start both the Surfer-H backend and the Next.js frontend, making the web interface available at http://localhost:3000.

Holo models

Holo1 and Holo1.5 are Action Vision-Language Models (VLMs) developed by H Company for use in Surfer-H. The Holo models enable the agent to understand and act in digital environments. Holo is built based on 3 core components that shape and determine its behaviour: policy, localizer, and validator. These are defined below:

  • Policy: Determines what action should be taken.
  • Localizer: Locates elements on the screen—like buttons, text fields, or key UI attributes.
  • Validator: Decides whether it succeeded or failed in doing what it set out to do.

Trained on a combination of open-access, synthetic, and self-generated data, Holo enables state-of-the-art (SOTA) performance on the WebVoyager benchmark, offering the best accuracy/cost tradeoff among current models. It also excels in UI localization tasks such as Screenspot, Screenspot-V2, Screenspot-Pro, GroundUI-Web, and our own newly introduced benchmark, WebClick. Holo is optimized for both accuracy and cost-efficiency, making it a strong open-source alternative to existing VLMs. Currently, these models are available for inference:

ModelGeneral purposeInference Model Name
Holo1 3BOptimized for efficiency, running locally, and hardwareholo1-3b-20250521
Holo1 7BHigher accuracy and for large scale inferenceholo1-7b-20250521
Holo1.5 3BEnhanced efficiency with improved UI understandingholo1-5-3b-20250915
Holo1.5 7BState-of-the-art accuracy with advanced reasoningholo1-5-7b-20250915

Note: Use the Inference Model Name from the table above as the value for the HAI_MODEL_NAME environment variable when running the agent.

Frontend Interface

In addition to the command-line interface, Surfer-H includes a modern web frontend that provides an intuitive way to interact with the agent. The frontend offers several advantages over the CLI:

Features

  • Task Creation: Simply describe what you want to accomplish in natural language through a web interface
  • Real-time Monitoring: Watch your agent complete tasks with live updates
  • Trajectory Management: View, replay, and manage automated browsing sequences
  • Settings Configuration: Easily customize agent behavior, target URLs, and execution parameters through a UI
  • Example Tasks: Get started quickly with pre-configured example prompts

Interface Preview

Surfer-H Web Interface

The Surfer-H web interface showing real-time agent monitoring as it searches for a beef Wellington recipe

For detailed setup instructions, manual installation, and development information, see the Frontend README.

View a sample run

The video below shows Surfer-H in action, demonstrating how the agent completes a real-world task by thinking, reasoning, and browsing the web based on a prompt. This demo (hosted on YouTube) illustrates what to expect when running an agent using the Surfer-H-CLI with the command ./run-on-holo.sh.

Watch demo on YouTube

Other deployment methods

There are different methods and contexts in which to deploy Holo models, including:

MethodPre-requisitesNotes
Local vLLM setupInstall vLLM / Machine with GPUUses the vLLM to download Holo1 from HuggingFace.
Local Docker ContainerInstall Docker / Machine with GPUUses the vllm/vllm-openai:v0.9.1 image.
Amazon SageMakerSubscribe to Holo1 Models on AWS MarketplaceDeploys the Holo1 model via a prebuilt Notebook. No manual or complicated setup required.

Run the agent locally

If you're serving your own model using vLLM, start the server with:

export HAI_API_KEY=EMPTY
export HAI_MODEL_URL=http://localhost:8082/v1
export HAI_MODEL_NAME=Hcompany/Holo1-7B
vllm serve Hcompany/Holo1-7B --port 8082

You can then run the agent from the Surfer-H-CLI using the following command:

./run-on-holo.sh

Here are the different run settings that may apply based on use and context:

  • run-on-holo.sh : Use a Holo mode for navigation and localization, hosted remotely.
  • run-on-holo-local.sh : Script with specific instruction for using one or several locally hosted Holo1.
  • run-on-holo-val-gpt41.sh : Use remotely-hosted Holo model and GPT-4.1 for validation.

When running vllm, you can leave the HAI_API_KEY empty (or set it to any value), and set HAI_MODEL_URL to http://localhost:PORT using the port where your local vllm instance is running.

The above scripts call the agent like this, with different configurations for the placeholders:

MODEL="<model name for endpoint>"
TASK="Find a beef Wellington recipe with a rating of 4.7 or higher and at least 200 reviews."
URL="https://www.allrecipes.com"

uv run src/surfer_h_cli/surferh.py \
    --task "$TASK" \
    --url "$URL" \
    --max_n_steps 30 \
    --base_url_localization https://<openai-api-compatible-endpoint-such-as-vllm> \
    --model_name_localization $MODEL \
    --temperature_localization 0.0 \
    --base_url_navigation https://<openai-api-compatible-endpoint-such-as-vllm> \
    --model_name_navigation $MODEL \
    --temperature_navigation 0.7 \

Using GPT for Validation

To run run-on-holo-val-gpt41.sh, remember to export your OpenAI API key for validation:

export API_KEY_VALIDATION=${OPENAI_API_KEY}

and define the correct base URL

--base_url_validation https://api.openai.com/v1/

For more information, check out the H.AI Cookbook.

Citation

BibTeX:

@misc{andreux2025surferhmeetsholo1costefficient,
      title={Surfer-H Meets Holo1: Cost-Efficient Web Agent Powered by Open Weights},
      author={Mathieu Andreux and Breno Baldas Skuk and Hamza Benchekroun and Emilien Biré and Antoine Bonnet and Riaz Bordie and Matthias Brunel and Pierre-Louis Cedoz and Antoine Chassang and Mickaël Chen and Alexandra D. Constantinou and Antoine d'Andigné and Hubert de La Jonquière and Aurélien Delfosse and Ludovic Denoyer and Alexis Deprez and Augustin Derupti and Michael Eickenberg and Mathïs Federico and Charles Kantor and Xavier Koegler and Yann Labbé and Matthew C. H. Lee and Erwan Le Jumeau de Kergaradec and Amir Mahla and Avshalom Manevich and Adrien Maret and Charles Masson and Rafaël Maurin and Arturo Mena and Philippe Modard and Axel Moyal and Axel Nguyen Kerbel and Julien Revelle and Mats L. Richter and María Santos and Laurent Sifre and Maxime Theillard and Marc Thibault and Louis Thiry and Léo Tronchon and Nicolas Usunier and Tony Wu},
      year={2025},
      eprint={2506.02865},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2506.02865},
}

常见问题

What is surfer-h-cli?

surfer-h-cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hcompai. Run Surfer-H agents powered by Holo1 using the Surfer-H-CLI. Includes example tasks, scripts, and configurations. It has 164 GitHub stars.

Is surfer-h-cli safe to use?

Yes. surfer-h-cli passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install surfer-h-cli?

Clone the repository with "git clone https://github.com/hcompai/surfer-h-cli" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is surfer-h-cli written in?

surfer-h-cli is primarily written in TypeScript. It is open-source under hcompai on GitHub, so you can review or fork the full source.

Are there alternatives to surfer-h-cli?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh surfer-h-cli against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情