Skip to main content
Glama

Agent Hub

License: MIT Python uv MCP

Local-first, enterprise Agent platform powered by DeepSeek Harness. Agent Hub is a small, honest control plane: it proves the deployment shape and the connection boundary before adding orchestration.

当前状态:本地基础版,非生产多租户服务。详见「当前边界」。

Agent Hub local workspace overview

它解决什么

把「本地跑起来一个能给企业 Agent 用的工作区」这件事,做成一条命令可启动、有真实界面、有 MCP 接入边的可运行边界。第一版故意很小——先把「能运行、能验证、能引用」做实,再往上叠编排。

Related MCP server: dsh-ops-mcp

特性

  • 本地优先:Python 控制面 + 浏览器 UI + SQLite 存储,数据默认就在本地。

  • 原生 MCP 面:通过 http://127.0.0.1:8765/mcp 暴露工具,供 Harness 运行时接入。

  • 一条命令启动:uv run agent-hub,首次运行自动创建环境并安装锁定依赖。

  • 边界清晰:默认只绑定 127.0.0.1,未显式允许前拒绝远程绑定,无鉴权、非多租户。

运行(本地)

前置:Python 3.11+ 与 uv。

# macOS / Linux
uv run agent-hub
# Windows
uv run agent-hub

uv 会在首次运行创建环境并安装锁定依赖。打开 http://127.0.0.1:8765;本地数据默认存于:

  • macOS / Linux:~/.agent-hub/agent-hub.db

  • Windows:%USERPROFILE%\.agent-hub\agent-hub.db

接入 DeepSeek Harness

把 examples/dsh.cordis.yml 加到你的 DSH profile,然后先启动 Agent Hub,再启动 Harness 运行时。MCP 端点:

http://127.0.0.1:8765/mcp

当前暴露的 MCP 工具:

工具

作用

agenthub_status

查询整体状态

workspace_list

列出工作区

workspace_create

创建工作区

当前边界

这是本地基础,不是生产多租户服务:默认绑定 127.0.0.1,无鉴权。除非显式设置 AGENT_HUB_ALLOW_REMOTE=1,否则拒绝远程绑定。

之前的 Java 原型与历史已归档清理。编排与多租户能力在后续计划中。

检查

uv run python -m unittest discover -s tests -v

许可

MIT © Chris

相关

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AnythingLLM to be controlled by any MCP-compatible client via HTTP, SSE, or WebSocket, with automatic workspace selection and background operation.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables any MCP client to operate DeepSeek Harness sessions, execute tasks, and manage workspaces through an MCP server running inside the dsh process.
      562 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables permission-scoped MCP clients to interact with DeepSeek Harness Desktop over a local loopback HTTP bridge, including checking status, listing models/workspaces/sessions, reading bounded session history, and creating, sending, waiting for, or canceling chats. Access is restricted per bearer token and only exposes the tools and sessions granted to that token.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes a running DeepSeek Harness as an MCP endpoint so any other agent or script can create workspaces and sessions, hand coding tasks to the DSH agent, read and write files, run shell commands, and invoke permitted harness tools under the same sandbox, transcript, and permission policy as the DSH UI.
      564 npm
      6
      MIT