Building an AIOps Platform with AI Coders: Tool-Gated Agents, Auditable Tasks, and the Day a Card Count Went from 12 to 27
Ops teams can now assemble an internal AIOps workbench using the same agent runtime and MCP tooling that powers AI coding, without writing a platform from scratch. The practical value is in the audit trail: every answer a colleague gets can be traced back to the exact tool call, version, and evidence, which is what makes agent-driven ops trustworthy beyond demos.
The article is a detailed field report of creating a team-facing AIOps workbench on a Mac, using the official DeepSeek Harness (DSH) as the agent runtime and writing a custom web console in SQLite. Instead of building the platform cold, the author used AI coding tools (Codex, ZCode with GLM-5.4) to develop features iteratively, validating each step by actually clicking through the UI with drill data.
The platform connects monitoring, build records, knowledge bases, and Kubernetes through MCP. Admins register connections, probe read-only tools, and restrict them per account; agents are published versions with chosen tools, skills, and knowledge bases; workflow nodes chain different agent versions for multi-step diagnosis. Every task keeps an audit trail showing which agent version called which tool and what evidence it got. A separate approval flow controls access to production logs. The author also covers concrete installation steps for DSH, the decision to share one runtime, three human decisions about authorization and orchestration, and a QA method for verifying AI-generated statistic cards by checking counts from the same list.
The author's approach shows that AI coding can turn an ops platform into an iteratively shaped product: the first version is built to be interactively clicked, and design decisions emerge from seeing how the same alert appears twice, not from upfront architecture.
Sharing a single DSH runtime across multiple users shifts the burden onto the platform layer for per-request permission checks, which is exactly where the acceptance test of 'can query Deployment but not Pod' proves the value of configuration over patches.
The 12-versus-27 count bug is a concrete warning: AI-generated UI can pass 'does it error' checks while still being semantically wrong, and the fix required defining what the number means and aligning the lists, not just fixing the digit.
The evidence-preservation rule (each task keeps the exact tool call and result at that moment, even for retries) is what makes agent-based ops auditable, and it is a prerequisite for letting on-call staff defend their answers to colleagues.
The depth of integration with MCP, RAGFlow, Kubernetes, GitLab, Jenkins, and Argo CD suggests that internal AIOps platforms are becoming practical for teams that already run these tools, but the real adoption barrier is still setting up per-account tool permissions and approval flows.
Separating the engine layer (MCP tool calls, Skill loading) from the platform extension layer (permission checks, task auditing, approval records) upfront is crucial — otherwise, when multiple people share an Agent runtime, permissions and traceability are the first things to spiral out of control. Also, a minimal closed loop like "the first version only routes four notifications through" paired with AI Coding's iterate-as-you-go approach beats writing a grand, comprehensive design document in one shot. We found the same when curating workflow-style Skills at HuohuoHub: nailing down the actual execution evidence and acceptance boundaries first means far less rework when wiring in new tools or upgrading versions later. Making "the on-duty person can read Deployments but not Pods" and the production log approval chain traceable on every single tool call — that's genuinely valuable practical reference.