跪拜 Guibai
← Back to the summary

Building an AIOps Platform with AI Coders: Tool-Gated Agents, Auditable Tasks, and the Day a Card Count Went from 12 to 27

Building an AIOps Platform with AI: Integrating Tools, Orchestrating Agents, Tracking Tasks and Resources

I think every person who does ops has at some point had the idea of building their own DevOps platform. In the age of AI coding, that wish has come much closer. We can tell our requirements to AI as if chatting, let it ask us questions in return, and then let the AI tool write out the agreed-upon small piece. The first round only needs an event list that can be clicked. Only after I actually send the same alert twice and see how it appears on the page can I articulate what to change in the next version. This is the part I like most about this project: designs that previously required careful thought in my head can now be made right while using the product.

Last week I watched Brother Ming's livestream, and he happened to be building an AIOps platform step by step. I also felt a bit tempted: I have monitoring, build records, and a pile of technical documentation. If I connected them, what kind of platform could I make myself?

I wanted to build a general-purpose AIOps platform that the team could use to connect tools and configure assistants. On the same workbench, an assistant that checks latency reads monitoring, an assistant that answers technical questions looks up approved manuals, and an assistant that checks releases reads build records. Each answer can trace back into the task to see which tool it used and what it read. Kubernetes is one type of resource we connected; later when discussing resource lineage, I will use an actual deployment to show how it links to code and builds.

If you also want to set up an ops platform yourself, I recommend Brother Ming's series course, especially Chapter 9, "Exploration and Implementation of the Automated Ops Platform (AIOps)". I am most interested in how the later sections connect: first have the assistant query Prometheus metrics via MCP, read Jenkins builds, then move deeper into alert noise reduction and root cause analysis. At 9.17, the topic is "Build Your Own AIOps Platform". Reading this, I also wonder: if a colleague brings an alert to ask, which systems can our own assistant query, and what evidence can it produce?

Excerpt of the official Chapter 9 outline: from Jenkins MCP and multi-Agent combination to 9.15 alert noise reduction, 9.16 root cause analysis, and 9.17 building your own AIOps platform.

When I started doing it myself, I wanted to first solve an everyday matter: when a colleague asks in the workbench "why has this service become slow", the assistant must be able to query monitoring; then when they ask "which version was just released", it must also be able to look up build records. For technical manuals, connect a knowledge base. Which team members can query which systems is managed by the platform, and each answer can be clicked back to see exactly what it queried. I followed Brother Ming's choice and used DeepSeek Harness (DSH) to run Agents, spending my own effort on integrating tools, managing permissions, and preserving evidence. I used Codex to build a lightweight AIOps platform based on DeepSeek Harness

With the requirement list in hand, the relationships that really affect the code are: how many assistants a connection can serve, how to trace old tasks after an assistant is upgraded, and how a task points back to the resources it read. Most of the design and rework later started from these questions.

1. Develop the platform first

First chat with AI: decide what to write ourselves

Brother Ming in another article first drew the boundary of DSH: model inference, Agent execution, MCP tool calls, and Skill loading go to the engine; ops system integration and team management go to the extension layer. We kept that. We chose a Mac laptop, several people sharing one official DSH, wrote our own independent web console, and used SQLite to store events, tasks, and approval records. Planning to build a lightweight AIOps platform based on DeepSeek Harness

Take a metric query as an example: the platform first verifies whether the questioner has permission to query this service's metrics, DSH lets the assistant call approved tools, and the monitoring system returns values for the corresponding time window. Each of the three places keeps its own record. When the model is changed later, last night's reports can still be opened; when an administrator revokes permission, the assistant's next query will follow the new permission.

Why DSH? The assistant we wanted needs to be able to follow up with multiple questions, read a specified version of a Skill, call authorized tools, and run together with other assistants in workflows. With the official DSH, these have ready-made execution mechanisms, so we can spend development time on problems closer to ops: whether alert re-push creates duplicate tasks, whether a successor can find the evidence from that time, and what an old session can still query after permissions are revoked. Another consideration is upgrades. We lock in a verified official version, integrate through extensions and SDK, and when changing versions later, we focus on re-validating models, tools, workflows, and receipts. This choice also has a cost: several people share the same runtime, so account, session visibility, and tool permissions must be validated by the platform each time. Later the acceptance criterion "the on-duty person can query Deployment but not Pod" is a test of this decision.

Overall platform architecture. Blue is the console, green is the official DSH, and at the bottom are the connected ops systems.

First version only four notifications

The first thing we had AI validate was an event list. We fed in four anonymous notifications: checkout latency alert, re-push of the same alert, catalog memory alert, and catalog memory recovery. The screen should show two items, one still alerting and one recovered. The disposition note written by the on-duty person should also be found after a restart.

This time I used an empty local drill library, clicked "Load Drill", and went through the four inputs of the first version again. The first two are both checkout HighLatency, with the same fingerprint and start time. The last two are catalog MemoryPressure, one trigger and one recovery. All four receptions should be kept; the queue should only occupy two lines.

This replay. Top shows 4 notifications received; event total 2, alerting 1, recovered 1. Two lines on the left each received 2 notifications.

This example brought out how to design the database. Notifications with the same upstream fingerprint and start time are grouped into one event; re-push appends to the timeline. A few days later, the same service alerts again, opening a new event. The console initially only had a loopback HTTP service, SQLite, and a queue detail in the browser; this step could be independently accepted.

The second task I gave was: "Develop the diagnostics, evidence reports, and retry in the event detail. First get it working with drill data so I can see the effect directly in the workbench." We deliberately let the query time out. The page only gets the first value 210 ms, and it keeps that value along with the timeout reason. Click retry, and the second report appears with 210 ms and 820 ms. Refresh, and the first report can still be opened. Later, for real Agent tasks, we followed the same rule: one event can be queried several times, each time keeping the result at that time.

Report #1 from the same replay. The tool timed out at the window end; evidence only has 210 ms at 08:40 UTC.

Report #2 marked "retried from #1". Evidence now has 820 ms at 08:45 UTC; both reports can be opened separately.

First install of DSH on the Mac: where does the platform find it?

We first made the event list and drill reports locally, then installed DSH to replace "replay a report" with "ask the assistant two questions on the spot". Below is this project's own installation entry. A machine already running a 3080 can start checking from step 3.

1. In the project root, confirm Node, npm, and the version to install. Open a terminal, enter the AIOps directory where you can see deploy/local.sh and server.mjs. The example uses a Node.js 26 environment verified by this project.

node --version
npm --version
node -p "require('./deploy/package.json').dependencies['@deepseek-ai/dsh']"

This Mac's three lines are v26.3.0, 11.16.0, 0.2.2-rc.5 respectively. The first two indicate available installation tools; the last is the DSH version this project uses. If you change to another project's code, read its own version declaration first.

2. First install and start. In this directory execute:

sh deploy/local.sh

This single command handles both installation and startup. It first confirms that ports 3080 and 3081 can be listened on, then looks for the official program in the following order:

First download requires npm to access the package registry. On November 22, we actually ran this installation branch with an empty isolated directory; the installed size was about 820 MB. If the installation reports failure, first handle the specific cause npm reports, then run the same startup command again. First install acceptance record

3. Confirm both services belong to the same startup. Keep the startup terminal open, and in another terminal enter the same project directory:

sh deploy/local.sh status

This recheck returned "AIOps and official DSH Web are ready". The launcher, after preparing the working directory, drill config, and local accounts, first starts the 3080 platform service, waits for it to be ready, then starts the 3081 DSH Web. status verifies the platform's startup identifier, the start record in the data directory, and the DSH Web entry. If a second startup reports a port conflict, use this command to confirm the original instance. A foreground instance can be stopped by returning to its terminal and pressing Ctrl+C.

4. Enter the platform and DSH separately. Open the platform admin entry:

sh deploy/local.sh open admin

Under System Management → Refresh Running Status on 3080, view the platform, DSH CLI, DSH Web, and SDK processes. To enter the official page, click "Open Official DSH Web"; or in a local terminal execute:

sh deploy/local.sh open dsh

There are two sets of identities here. Platform accounts determine who can see tasks and use which tools; DSH's own model authorization determines whether it can request models. Existing authorization continues; the first time you use a DeepSeek account model, follow the official page prompts to complete authorization. When "Web requires authentication" appears in System Management, the service can respond, and you can enter through the above authentication entry.

Official DeepSeek Harness on local 3081. Left switches workspaces, middle inputs questions, and current model is visible below the input box.

Which configuration connects AIOps and DSH?

Check connections in System Management and register MCP tools, models, or knowledge bases in Capability Center. The binding of the DSH local runtime happens at startup, and the launcher selects the program, state directory, and working directory. It is automatically selected during default installation; the current version has no "DSH service address" to fill in a web form.

What to adjust Where to set When to change
Which DSH to run AIOPS_DSH_BIN in the startup environment, or AIOPS_DSH_ROOT When an existing matching version is installed in a custom location and auto-discovery cannot find it
Which state and workspace AIOPS_DSH_STATE, AIOPS_DSH_WORKSPACE When reusing a specified DSH state, or preparing an independent drill environment. Defaults are state/ and workspace/ under the selected root
Browser access port Platform uses PORT, default 3080; official Web uses AIOPS_DSH_WEB_PORT, default 3081 On port conflicts. Two ports must differ; subsequent status and open also use the same ports and platform data directory
Where platform data is saved AIOPS_DATA, default is data/ in the project When distinguishing workbench and independent drill instances. Here platform records are saved, and the config generated by this startup is also placed

For example, if you have installed the official CLI at ~/.local/bin/dsh and want to explicitly specify it, the next startup can be written like this:

AIOPS_DSH_BIN="$HOME/.local/bin/dsh" sh deploy/local.sh

A common misunderstanding here is the purpose of port 3081. Opening the official chat page in a browser goes through 3081; when an on-duty person clicks "Run Agent" on 3080, it takes another path. The platform backend starts an sdk-minimal --patch … subprocess on demand using the same DSH executable, exchanging JSON-RPC requests and execution events over standard input/output. The run config carries the selected model, extensions required by the Agent, and controlled tool entries. The official Web and SDK share the selected DSH state directory. So opening 3081 is evidence of web connectivity; the version and tool receipts in a task confirm the execution chain is also working. The corresponding implementations are in deploy/local-dsh.mjs (program selection), deploy/run.mjs (starting dual services), and team/runtime.mjs (executing tasks).

How to verify to the last step? Service owners can click "Verify DeepSeek Flash" in System Management to first confirm the model can answer. Then run a published Agent bound to read-only tools, and from the task detail click "View This Audit". We once, in the same alert session, asked the service P95 and then the database P95: each round produced one task and one metric call; the first round had samples, and the second explicitly lacked data. Model connectivity, tool availability, and evidence actually corresponding to this question are each verifiable only after that. Here a real DSH and model are used, and the metrics come from anonymous drills.

Which questions need human decision?

When first trying the checkout latency alert, we had to settle three questions. They later fell into tool authorization, workflow orchestration, and console navigation separately.

First question: the on-duty person already has permission to see latency metrics; if they then ask "what about the database", who needs to approve? If a confirmation pops up every time, checking two metrics would require stopping twice; if everything is allowed, the same assistant could read production logs. The answer at that time was:

"Ordinary read-only metrics that are already authorized can be queried directly; no need to click confirm every time while on duty."

The "already authorized" here has specific configuration. When integrating the team's own MCP, the administrator registers the connection in Capability Center → MCP Services, probes the tools, and configures the available accounts and tool scope. Then the owner opens Agent Studio → Edit Agent → Tool Whitelist, selects only the tools this assistant needs, clicks "Check Before Save", and publishes. The anonymous experiment below uses built-in capabilities; here we checked "Read-Only Metrics MCP (Drill)". When a user runs a published version, the platform validates by execution identity. The first round of automatic diagnostics uses the service identity; after a human takes over, newly initiated queries are recorded under the person's name. "Direct query" is the result of these configs working together; there is no separate "skip approval" switch on the page.

A manual admin diagnostic on local 3080. The audit reads execution identity admin, DSH loaded v1, and completed metric calls.

This image records the one time the admin ran it manually. Looking at the last two lines, you can distinguish which version of the Skill the assistant loaded first, and then which metric tool it called. Another acceptance run triggered automatically by Webhook recorded execution identity as alertmanager.

If production logs are needed, the user applies for the specific service, scope, and duration in the original session; the process in the Approval Center decides who approves and when it expires. Metrics are already approved, but log authorization must be obtained separately. The log drill later demonstrates this step.

Second question: if the Agent is allowed to decide everything on the fly, what evidence might be missing? For example, if it reads that the service is slow and writes a summary, nobody knows whether the database had data. Our decision was:

"checkout first goes through a fixed workflow to query the required metrics, then lets the DSH Agent decide, within the authorized scope, what to check next based on evidence."

The owner in Agent Studio splits data fetching and interpretation into workflow nodes, selecting a published Agent version for each node. Users in Workbench → Workflows → View Nodes and Versions check before running. The fetch node gets readings; the interpretation node explains gaps; returning to the task detail shows which version was used at which step. When adjusting interpretation rules later, a new version is released, and the original task retains the version and evidence at that time.

An actual published three-source diagnostic workflow. After all three evidence nodes complete, a summary node reads their results; each node marks its Agent version.

Here another already-run workflow shows the orchestration effect. Monitoring metrics, cluster state, and build records each go one path, then merge at the end. This time the cluster query returned results, monitoring lacked the latency series for the corresponding service, and Jenkins lacked a pipeline matching the deployment. "Completed" in the figure means the node finished executing; determining the cause still requires reading the evidence the node returned.

Third question: if tomorrow we switch to another application, who changes the code? Early pages revolved around checkout, and even we could not find where to connect a second assistant. This led to the requirement:

"Follow the teacher's ten entry points for a unified console; checkout is only an acceptance template."

Now when connecting a second assistant, the administrator registers the sources it needs to read in Capability Center, the owner combines and publishes in Agent Studio, and users select it in the Workbench to ask questions. Below we use two source types to explain this division: the knowledge base must be able to point to which document the answer is in, and monitoring must be able to point out what was actually read at a certain moment.

Studio simultaneously has latency diagnosis and workload replica verification. The former binds metrics MCP and Skill, the latter binds Kubernetes list_deployments, each with version, config, and run entry.

AI-written pages can navigate, so why does the homepage say 12 Agents but clicking shows 27?

This problem was discovered while using the platform. I saw "12 published Agents, 3 published workflows" under "Capability Resources" on the homepage, and clicked into Studio. With the same admin account, the publishing directory actually had 27 Agents, 8 workflows, plus a "New" card. The link opens, the target page has data, and when you usually only check "does it error on click", this goes unnoticed.

I did not first ask which number was wrong, but what does the person clicking this number expect to see. Since the card says "Published Agents", clicking in should show the published assistants visible to the same account. An assistant published in three versions still counts as one in the directory. Assistants with only drafts and the "New" entry are excluded. Admins see the management directory; regular accounts see the directory they can run. Originally the homepage and Studio each had their own statistics, and these rules were not applied to the same list.

The change was handed to ZCode CLI's GLM-5.4. The homepage and Studio now share the publishing directory's dedup logic: first take visible publish records for the current account, then merge by the stable ID of the Agent or workflow. The homepage shows the merged count, and clicking into a list of the same scope. Then we took two accounts, opened each of the four entries, and checked the object counts on the landing pages. Below is the acceptance record from when it was fixed.

Acceptance account Knowledge base connections Published DSH Agents Published workflows Personal sessions
Admin 1 27 8 0
On-duty A 0 23 5 18

This time while writing the article, I clicked the Agent card with the admin account again. The homepage now shows 30, the click brings a published filter, Studio shows 30 Agents, and the directory actually renders 30 items. This acceptance method also applies after publishing another assistant.

This time's admin homepage, knowledge base connections 1, published DSH Agents 30, published workflows 9.

Clicking into Studio from the Agent number above, the list header shows 30 Agents.

When building a backend with AI, this is how I verify a number card:

  1. Write the unit and scope into the requirement. Here one item is an assistant; versions, drafts, and create buttons cannot be counted. Time windows, status, or permissions that affect the result should also be in the same acceptance condition.
  2. With the same account, actually click through from the homepage. Note the homepage number, the landing page filter, and the list total; if paginated, check all results, then open any item's detail. A button being clickable and an API returning success do not replace this step.
  3. Give AI a set of data that exposes errors. Put in an assistant with two published versions, an assistant with only a draft, and a regular account without permission to run the former. Ask it to first write what each of the two should see, then compare against the console. This catches double-counting by version and also catches lost permissions or filters during link navigation.

The task center also had rework. My requirement was: "The first screen should be clear, searchable/filterable by task ID, name, status, and executor, and clicking in shows execution steps and audit." This time ZCode GUI used GLM-5.4 for search/filter, and Codex fixed the pagination cursor and detail return focus when merging. Then I used the on-duty A account, from a partial task ID all the way to four workflow nodes and corresponding tool calls; switching accounts, the private task detail returned 404. Another time doing alert jumps, ZCode twice read files without producing a patch, and that batch was taken over by Codex. We separately recorded who wrote which part and who actually clicked the page.

2. What we accomplished: from connecting one connection to seeing one execution

Now this platform runs on a Mac. Below are several paths that can actually be walked through in the console.

What you want to do Result visible in the platform
Connect team's existing capabilities MCP connections authorized by tool, Skills with versions; assistants can choose model, tools, and approved knowledge bases
Make your own Agents and workflows Edit and publish Agents in Studio, compile different versions into workflows; run from Workbench, see nodes and tool receipts one by one in task details
Investigate a fault, recheck an operation Alert re-push is deduplicated, investigations can continue with follow-up questions, restricted logs are applied from the original session; approver, validity period, and actual data-fetching identity are all traceable
Inventory applications and infrastructure From an application find associated resources, monitoring, and source build; also view by resource provider; click a relationship to verify evidence and collection time
View a software delivery GitLab for pipelines and Jobs, Jenkins for builds and artifacts, Argo CD for application sync and health; when release evidence exists, trace to actual workload

For a first connection, the administrator prepares as follows. Once the team already has assistants, on-duty staff can enter directly from the homepage, workbench, or the original alert.

Capability integration: one connection can be used by multiple team members

First verify in System Management that DSH is ready, and in User Management enable members, assign permission groups and available workflows. Local accounts already work; external identity source configurations imported from NextSVN are managed under "Login Methods". Connection imported, members synced, and users able to complete SSO in the browser are three different checks.

Then go to Capability Center. The local demo uses the model already configured by DSH. When connecting an existing MCP service, enter "MCP Services → Register MCP Service", fill in a display name, choose Streamable HTTP or HTTP + SSE, enter the address and necessary credentials, and click "Probe read-only tools". Select the tools allowed into the platform, then subdivide by account. We used Kubernetes to verify this granularity: on the same connection, on-duty A can query Deployments but is rejected for Pods. For Jenkins, the build query tool is registered.

MCP registration form: probe tools first, then select scope and accounts.

Ops procedures can also be reused. In Capability Center, publish a Markdown description as a Skill, and select a version for the assistant in Studio. For example, when verifying replicas, require the assistant to list desired count, ready count, and collection time. Rule changes can be published as a new version; looking back at old tasks, you can still verify the version actually loaded at that time.

Give the assistant a technical manual that can be opened to the original passage

"For a developer's first access to the internal Git, which network must they connect to first?" This question has a ready answer, written in the team's IT manual. We want the assistant to be able to bring the reader to that passage when answering. The administrator opens "Knowledge Base → Register Knowledge Base Connection" in Capability Center, fills in the RAGFlow connection, limits the searchable datasets and usable accounts. The owner selects this library for the assistant in Studio, then publishes a version. When asking, DSH retrieves approved passages via MCP, and the answer contains clickable citations.

Knowledge base registration window on local 3080. After selecting RAGFlow as source, the page requires instance address, dataset ID, API key, and lets the administrator check which accounts are allowed to use this library.

Think of this form as telling the platform to point to a row of bookshelves. The "instance address" decides which RAGFlow to go to, "dataset ID" narrows down which set of documents, the API key is for upstream access, and the accounts checked below decide who can use it in the platform. After filling in, click "Validate and register knowledge base". Then select it in Studio → Edit Agent → Authorized Knowledge Base (optional) and publish. To first experience citation effects, you can choose "Anonymous Drill · Built-in Release Manual" under "Source"; only when connecting a real technical manual do you choose RAGFlow and fill in the upstream information. The figure is an empty form before registration.

RAGFlow experiment opening the fictional "IT Manual-2026". The Git access section says first connect VPN, and lists applicable versions and effective date.

The above figure is from the previous RAGFlow experiment with a fictional technical manual. Back to AIOps, we used anonymous samples to verify the other half: clicking a citation in the original session opens the cited passage in the right panel, and clicking "View This Retrieval" lets you verify the DSH's MCP call. Two things matter here: which version the assistant cited, and whether the person opening the original text today still has permission. QA against a real employee handbook is still to be integrated.

Agents and orchestration: make your own assistant, and also leave entries for existing assistants

In Agent Studio, click "New Agent", write responsibilities, select model, tools, Skill versions, and optionally add a knowledge base. Existing assistants can be edited from drafts, checked, and published. We once made a version that deliberately chose the wrong tool: v1 only selected query Pod, and on-duty A was rejected when opening it; v2 changed to the list_deployments he was approved for, and when asked in the Workbench about demo-nginx in default, DSH returned 2/2 ready with identity night. Removing the only tool and continuing to ask would be rejected. Which version the owner published and what permissions the operator has at the moment both affect this execution.

If the team already has an assistant, first look at what entry points it provides. If it exposes a read-only MCP tool, you can register that endpoint in Capability Center for other DSH Agents to call. If you want to keep the external assistant's own prompts and tools, use the "Existing Agent" path in Studio. We tried registering, authorizing, and test-running a read-only Hermes Profile: we got the upstream Run ID, then got stuck at model authentication, tool calls were zero, and formal publishing was blocked. That path has not yet completed two rounds of real follow-up.

To have multiple assistants relay, select published Agent versions in Studio's workflow orchestration, agree on the dependency order, and publish the workflow. For example, the first step reads service metrics, the second step gets timestamped samples, and then explains which judgments are supported by data. The task detail retains the version actually loaded at each step.

Open the Agent workbench: decide first whether to ask a question or run a workflow

Workbench run overview on 3080. Left selects Agent or workflow, right continues existing sessions, below views tasks and DSH status.

Ask a question yourself. In "Run Overview → Start Task", select "Agent Session", pick a published assistant, and click "New Agent Session". You can write a first draft, enter Chat, and click "Send". The figure below is from an existing session of account night. It asked "actually call list_deployments to read the default namespace, give the ready replica count of demo-nginx". The assistant listed the tool called, namespace, and returned value 2/2 ready. This is a snapshot of that query; to know the current replica count, you can ask it again in the input box below.

Actual answer in personal Chat. Left history by assistant and session type, right retains tool results, message box, and return to workbench.

Continue asking. When diagnosing checkout latency, we first asked the service P95 and then the database P95 in the same session. Each message triggered one data fetch. The first round had samples; the second lacked data. To see the full conversation, return via "Continue Session" or "Personal Chat"; to see what the second round actually called, open that round's task audit. When handling an existing alert, enter the original session from the Alert Center, and the alert context comes with it.

Run a compiled workflow. In the same "Start Task" area, switch to "Workflow", first expand "View Nodes and Versions", then fill in task input and run. For example, to verify replicas, the first step reads the Deployment, and the second interprets results based on the read values. Open "Recent Tasks" to trace each step. This entry also suits service owners who want to proactively inspect without an alert.

Follow along with two questions: checkout is slow, can we blame the database?

This small experiment can be repeated in the local workbench. The administrator first confirms the drill metrics capability is enabled, and the owner publishes an Agent that selected "Read-Only Metrics MCP (Drill)" in Studio. Use an approved account to enter "Agent Workbench → New Agent Session" and select this version. The time must be the day of the sample; asking for "the last five minutes" queries another window. Here DSH passes the question to the metrics tool, which reads anonymous samples. Alertmanager is responsible for sending alerts, and Prometheus is another connection for querying real environment metrics; these two Q&A can be reproduced independently of them.

The first sentence can be copied directly:

Query checkout's service P95 for Beijing time 2026-11-21 16:40 to 16:45, listing each sample's time, value, and unit.

Sample time (Beijing time) Service P95 Database P95
16:40 210 ms no samples in this window
16:45 820 ms no samples in this window

Each number is the 95th percentile latency of a five-minute window. The second observation is 610 ms higher than the first; whether it rose continuously in between cannot be told from these two points alone.

Continue in the same session:

Query the database P95 using the same service and time window. Can this latency increase be attributed to the database? Please point to the evidence.

In "Tasks → View This Audit", compare the tool returns. The service query has two samples; the database query returns no_samples, with an empty sample list. A well-founded answer should say "the service side observed increased latency, the database lacks readings in this period, so the cause cannot yet be determined". If the assistant says "database latency is 0 ms", you can use this receipt to show where it is wrong.

If you are not running the platform, you can also review the alert diagnostic video below to see how this set of numbers enters a task report. When reproducing with a real service, you should change to the approved Prometheus tool and check the metric name, service label, and time window; the anonymous checkout samples are only for experiencing Q&A and verifying evidence.

Tasks and audit: from an actual execution to tool calls

Open Homepage Overview in the morning, first see new, recovered trends and unclaimed alert groups. Click into the Alert Center; when the same Alertmanager notification is re-pushed, the integration receipt appends once, and the original task continues. Administrators can configure notification channels, receiving groups, and routing; claiming, handover, recovery, and manual handling all return to the group's timeline. Feishu, WeCom, and Telegram have configuration entries; whether the real group receives depends on their respective delivery receipts.

In the video, to clearly see versions, we manually selected the just-published latency diagnostic assistant for alert #1. The task returned two anonymous samples, service P95 rose from 210 ms to 820 ms, and the database had no samples. When the oncoming colleague asks "why did the assistant write this", click Task Center → View This Audit: first read handover Skill v1, then call read-only metrics MCP, each with a call ID. From the Audit Center locating by this task, you can also verify execution identity, assistant version, and call time, then click back to the task detail.

Alert diagnostic full process

Local operation recording: register Skill, publish Agent, select alert diagnosis, open tool audit.

When production logs are needed, where does approval come from?

The on-duty person in the original session selects service, log scope, and duration, and submits a request. In the Approval Center, the service owner handles it first, then the duty leader; the applicant can see current node, approver, and operation records. After approval, return to the original session and use your own identity to query the approved scope. The anonymous log drill verified self-approval, cross-service, and expired query rejection. The template in the screenshot has a validity period of only one minute, convenient for waiting until it expires to try again.

From handover to approval

Log approval template's two approval nodes and time-limited authorization.

Resources and architecture: which resources does an application use?

Enter Resources and Architecture from either end. If you know the application name, open the single-application architecture to see its associated resources, monitoring, and builds. If you know where the resource comes from, view the list by provider. The following uses the connected Kubernetes to demonstrate the latter: select the cluster, then the namespace. Click a resource to see identity and observation time, click a line to see the evidence. A snapshot of demo-nginx has four objects: Deployment manages one ReplicaSet, ReplicaSet manages two Pods, and three lines verify the controller UID. To check traffic, also verify Ingress backend, Service port, and EndpointSlice reference; that time, two resource types lacking read permission kept a gap in the graph.

What evidence there is in Kubernetes, monitoring, and Jenkins for the same service can be verified separately.

When a replica anomaly occurs, you can also run a read-only workflow directly from the resource detail, re-read the Deployment, and hand it to the next Agent for interpretation. Below are five operation screens from the same manual recheck. Separately, in an isolated drill, we used two consecutive insufficient-replica events to automatically start an investigation, and did not create duplicate tasks while the anomaly persisted.

Workflow to audit

Delivery center: from execution history to deployment target

From the CI/CD Delivery Center, select an instance and project. If you hold a GitLab Pipeline number, click that execution to see its Jobs; if you hold a Jenkins build number, view build result, trigger source, and artifacts. For Argo CD, the entry is an Application: sync status answers "does the cluster keep up with the declared version", health status answers "how are the resources running now". A Jenkins build may only run tests or include deploy steps, depending on what this execution left behind.

Our test application went through a complete release. Following the video, you can stop at three places to verify:

  1. Where the code came from. Jenkins' test pipeline reads commit e8bd3558 from public project gitlab-org/cli, builds an excerpt of that README into a test web page. This example has Jenkins execute build and deploy.
  2. Where it was released. Open the deployment evidence of build #6 and enter the Kubernetes namespace aiops-lineage-test. At acceptance, the lineage-web Deployment was 1/1 ready, and the actual Pod returned page content matching this archive. Click back to historical versions; ReplicaSets of #5 and #4 still have records, with replica counts scaled to zero.
  3. How to re-verify. Find this delivery in the Task Center, click through the deployment target to the resource, and from the resource you can return to the build. To have the assistant read existing execution records, click "Start DSH read-only evidence collection" in the execution detail, then verify the actual call from the task audit. The following recording replays this existing release.

From build to cluster

3. Next batch of development: connect resources, monitoring, and execution records first

The previous release left a very practical problem: a colleague only knows the application name and not a Jenkins build number; after entering the platform, can they find the currently running version? If the page still says "running", can they tell whether the build is still in progress or whether the platform simply has not received a receipt in a long time? Combined with the problems encountered in previous console rounds, I will continue polishing in this order.

Order What to change What counts as good
First add resource inventory and application lineage First select cluster, then select configurable namespace; cloud resources enter by provider, account, and region. The application catalog can connect the same application from multiple sources From an application, find current workloads, historical versions, and source build; each relationship has evidence. The page can distinguish replica scaled to zero, no read permission, and stale collection
Then connect monitoring, alerts, and workflows From a resource or alert, open metrics for the same service and same time window, then hand to a published DSH workflow for evidence collection See actual Prometheus curve, node versions, and tool audit; when a monitoring label is missing, show which one is missing. Restricted operations like production logs enter approval when needed
Complete delivery status and homepage numbers Jenkins builds, GitLab Pipelines, and Argo CD applications each update by upstream status; homepage counts and clicked list use the same scope When no receipt for a long time, show last observation time and a re-query entry. A release can go from task to deployment target; repeated pushes count only once
Make new components and Agents easier to integrate Capability Center explains who can register, who can use, how to change versions; Studio connects tool selection, test run, publish, and viewing actual calls Changing an MCP or upgrading a Skill can be accepted with a small question. Old tasks retain the version at that time; real knowledge base can go from answer to original and retrieval audit

Teams and permissions should be verified along with these entries. The same team can have an on-duty group and an ops group. Next time, use two accounts to view the same alert overview, then open the approved cluster, logs, and knowledge base separately, and re-open old links after revocation. The distinction between personal chat, team shared content, and admin-visible audit scope still needs to be defined separately. Shift handover is only one use case.

Subsequent integrations also have an order. First pick a business database, attach connection count, replication lag, or lock waits to its application, then reconcile assets with a cloud account, gradually turning the resource ledger into a traceable CMDB. The bastion host focus is finding operation sessions from assets. The platform itself currently uses SQLite; whether to migrate to PostgreSQL depends on concurrent write, backup recovery, and deployment needs. External identity source real login, employee handbook integration, and Hermes continuous questioning each have pending verification items; the current main line still uses DSH.

I hope that next time we connect another system, the administrator only needs to register once. Developers can go from build to application, ops can see metrics from the application, and people who need results explained can click back to the evidence the assistant actually read. That is the point of putting these modules in the same platform.

Keywords: AIOps, DevOps, ops, AI

Comments

Top 1 from juejin.cn, machine-translated. The original thread is authoritative.

沉着宇宙

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.