Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Run and manage H Company's Computer-Use Agents from any MCP client.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http hai-agents https://agp.hcompany.ai/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"hai-agents": {
"url": "https://agp.hcompany.ai/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"hai-agents": {
"type": "http",
"url": "https://agp.hcompany.ai/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 hcompai 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Zendesk
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Python SDK for H Company 's Agents API .
Documentation · Get an API key · PyPI · TypeScript SDK · H Company
pip install "hai-agents[cli]" # SDK and the holo command
pip install hai-agents # SDK only
Python 3.10 or newer is required.
pip install "hai-agents[cli]"
holo login holo "What's the top story on Hacker News?"
holo login signs you in with Google in the browser, or takes a key you paste with holo login --key, and stores it in ~/.config/hai/.env. Any command does the same on first use in a terminal, so this step is optional. The task then runs on a hosted agent with its own browser: its steps stream to your terminal, and its answer prints at the end. In a terminal you can follow up on the same session, or run holo alone to start an interactive session.
Get an API key at platform.hcompany.ai/settings/api-keys and export it, or run holo login once:
export HAI_API_KEY=hk-...
Launch the built-in h/web-surfer-pro agent, which ships with its own browser, and describe the task in plain language. run_session polls until the agent finishes and returns the final answer.
from hai_agents import Client
client = Client()
result = client.run_session( agent="h/web-surfer-pro", messages="What are the top 3 stories on Hacker News right now?", )
print(result.status) print(result.answer)
Client() reads HAI_API_KEY from the environment, else the key holo login stored in ~/.config/hai/.env.
result is a SessionRunResult: id, status, answer, the accumulated events, and final_changes.
The cli extra installs the holo command, also available as hai.
holo "What's the top story on Hacker News?" # run one task
holo # interactive session holo -a h/web-surfer-pro "Compare 3 laptops" # pick an agent for one run holo agents use h/web-surfer-pro # change the default agent holo -a h/holo-desktop "Open Calculator" # drive this machine's desktop holo --local "Summarize news.ycombinator.com" # run the agent loop on this machine holo sessions watch # follow a running session holo mcp install # add the MCP server to your editor
Tasks run on h/web-surfer-flash unless you pass --agent or set a default with holo agents use. Run holo --help, or holo --help, for every option.
~/.holo/agents.md joins the instructions of every agent holo runs, and ~/.holo/skills/ /SKILL.md joins its skills.
holo in a terminal opens a session you talk to in plain words. Each message continues the same session, with its browser and context, until you start fresh with /new.
| Key | Action |
|---|---|
| type, then enter | message the agent while it works |
| esc | pause the agent; esc again resumes |
/answer | ask the agent to answer now |
/ | list commands: /new, /retry, /resume, /agent, /live, /share, /status, /copy |
? | all shortcuts |
| ctrl+c | cancel the turn; twice to exit |
An agent that drives this desktop, like h/holo-desktop, uses your mouse and keyboard, so typing goes to your apps instead: press esc twice, from any app, to stop it.
| Command | What it does |
|---|---|
holo run | run one task; same as holo |
holo chat | start an interactive session |
holo sessions | list, status, watch, events, send, cancel, share sessions |
holo agents | list agents, get one, use one as the default |
holo skills | browse available skills |
holo mcp install | let Cursor, Claude Code, Codex, and other MCP clients run agents through holo mcp; --remote adds the hosted server instead |
holo local | serve a browser or desktop on this machine for a session started elsewhere |
holo login, logout, whoami, doctor | manage and check your credentials and setup |
Scripts never prompt. Set HAI_API_KEY, or pipe a key into holo login --key, then use --json for machine-readable output or -q for the answer alone:
holo --json run "What's the top story on Hacker News?" | jq -r .answer
holo run -q "What's the top story on Hacker News?" > answer.txt
--json prints session_id, status, answer, outcome, error, error_code, and agent_view_url. The exit code is 0 when the session completes and 1 otherwise.
Credentials resolve from --api-key, then HAI_API_KEY, then ~/.config/hai/.env.
A session is one run of an agent against a task. It moves through a small set of states: pending, running, and then a settled state such as completed, idle, failed, timed_out, or interrupted.
You drive a session two ways. run_session creates it and blocks until it settles, which suits one-shot tasks. start_session creates it and returns a handle right away, so you can read and steer the agent while it works.
session = client.start_session(
agent="h/web-surfer-pro", messages="Find the top story on Hacker News", )
print(session.id) result = session.wait_for_completion() print(result.status, result.answer)
A handle bound to the session id exposes the full lifecycle. Read the agent's progress at three levels of detail:
session.status()
session.changes(from_index=0) session.get()
status() is a cheap snapshot with the state, step count, and token usage. changes(from_index=0) long-polls for new events and the final answer. get() returns the full Session resource.
While the session is not in a terminal state, you can intervene:
session.send_message({"type": "user_message", "message": "Only consider the last 24 hours"})
session.pause() session.resume() session.force_answer() session.cancel()
send_message redirects the agent on its next step and wakes an idle session. pause halts with state preserved until resume. force_answer makes the agent stop exploring and answer from what it has. cancel ends the session as interrupted.
By default a session ends as soon as the agent answers. Set idle_timeout_s to keep it open: after each answer the session goes idle and waits that long for your next message, carrying its full context and browser state across turns.
session = client.start_session(
agent="h/web-surfer-pro", idle_timeout_s=600, messages="Find the top story on Hacker News", ) first = session.wait_for_completion()
session.send_message({"type": "user_message", "message": "Now summarize its comments"}) second = session.wait_for_completion()
Pass a pydantic model as answer_schema and the agent's final answer comes back as a validated instance. The model's JSON schema is sent as the agent's answer format; the raw wire value stays at result.final_changes.answer.
from pydantic import BaseModel
from hai_agents import Client
class Job(BaseModel): title: str company: str
class Jobs(BaseModel): jobs: list[Job]
client = Client() result = client.run_session( agent="h/web-surfer-pro", messages="Find 3 open ML engineering roles in Paris.", answer_schema=Jobs, )
for job in result.answer.jobs: print(job.title, "@", job.company)
A completed answer that does not match the schema raises AnswerValidationError, with the raw payload on .raw. Sessions that end without completing return their raw answer untouched.
Expose your own Python functions to the agent. Pass them to run_session and the polling loop runs each one when the agent calls it, then posts the result back so the session continues. Any function with typed parameters and a docstring works; the input schema is derived from the signature.
from hai_agents import Client
def get_weather(city: str) -> str: """Get the current weather for a city.""" return f"Sunny in {city}"
client = Client()
result = client.run_session( agent="h/web-surfer-pro", messages="What should I wear in Paris today?", tools=[get_weather], )
Use the @tool decorator to override the name or description:
from hai_agents import tool
@tool(name="lookup_order", description="Look up an order by its id.") def lookup(order_id: str) -> dict: return {"id": order_id, "status": "shipped"}
A tool that raises is reported to the agent as a tool error rather than crashing the run. With AsyncClient, tools may be async def.
hai_agents_tools ships ready-made tools. otp_tool lets the agent ask for a one-time password, verification code, or confirmation link when a login or signup step needs one. Without a handler it prompts on stdin; imap_otp_handler reads the code straight from a mailbox over IMAP (for Gmail, use an app password).
import os
from hai_agents import Client from hai_agents_tools import imap_otp_handler, otp_tool
handler = imap_otp_handler( host="imap.gmail.com", username="agent-inbox@gmail.com", password=os.environ["GMAIL_APP_PASSWORD"], )
client = Client() result = client.run_session( agent="h/web-surfer-pro", messages="Log in to example.com and check for new notifications", tools=[otp_tool(handler)], )
Like every custom tool, the handler runs entirely in your process: the IMAP credentials never leave your machine, and the agent only receives the single extracted code or link -- never mailbox contents.
Start a session on a browser that already knows the user. A browser profile restores saved cookies and storage from an earlier session, and a vault lets the agent sign in to sites with secrets that never enter its context. Bind both through per-run overrides:
result = client.run_session(
agent="h/web-surfer-pro", messages="Open my dashboard and report any new alerts", overrides={ "agent.environments[kind=web].browser_profile_id": " ", "agent.environments[kind=web].vault_id": " ", }, )
`Async
只显示了开头部分;其余内容请在仓库中阅读