·agent-module-architecture
</>

agent-module-architecture

Agent 构建机模块架构指南(Go 语言),涵盖 Agent 启动流程、心跳机制、任务领取执行、升级更新、与 Dispatch 交互。当用户开发 Agent 功能、修改心跳逻辑、处理任务执行或实现 Agent 升级时使用。

32Installs·1Trend·@tencentblueking

Installation

$npx skills add https://github.com/tencentblueking/bk-ci --skill agent-module-architecture

How to Install agent-module-architecture

Quickly install agent-module-architecture AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/tencentblueking/bk-ci --skill agent-module-architecture
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: tencentblueking/bk-ci.

SKILL.md

View raw

模块定位: Agent 是 BK-CI 的构建机核心组件,由 Go 语言编写,负责与后端服务通信、接收构建任务、拉起 Worker 进程执行构建。

| 进程管理 | Daemon 守护 Agent 进程,确保持续运行 | | 任务调度 | 从 Dispatch 服务拉取构建任务并执行 | | Worker 管理 | 拉起 Worker(Kotlin JAR)执行实际构建逻辑 | | 心跳上报 | 定期向后端上报 Agent 状态和环境信息 | | 自动升级 | 检测并自动升级 Agent、Worker、JDK | | 数据采集 | 通过 Telegraf 采集构建机指标数据 | | Docker 构建 | 支持 Docker 容器化构建(Linux) |

| Environment | /ms/environment/api/buildAgent/agent/thirdPartyAgent/startup | Agent 启动上报 | | Dispatch | /ms/dispatch/api/buildAgent/agent/thirdPartyAgent/ask | 统一 Ask 请求 | | Dispatch | /ms/dispatch/api/buildAgent/agent/thirdPartyAgent/workerBuildFinish | 构建完成上报 |

Agent 构建机模块架构指南(Go 语言),涵盖 Agent 启动流程、心跳机制、任务领取执行、升级更新、与 Dispatch 交互。当用户开发 Agent 功能、修改心跳逻辑、处理任务执行或实现 Agent 升级时使用。 Source: tencentblueking/bk-ci.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/tencentblueking/bk-ci --skill agent-module-architecture
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from tencentblueking/bk-ci

Quick answers

What is agent-module-architecture?

Agent 构建机模块架构指南(Go 语言),涵盖 Agent 启动流程、心跳机制、任务领取执行、升级更新、与 Dispatch 交互。当用户开发 Agent 功能、修改心跳逻辑、处理任务执行或实现 Agent 升级时使用。 Source: tencentblueking/bk-ci.

How do I install agent-module-architecture?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/tencentblueking/bk-ci --skill agent-module-architecture Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/tencentblueking/bk-ci