User Guide · v0.24.0
AI Ops Assistant
No software to install, no commands to memorise. You just talk to the assistant. This guide covers what it can do, how to state a request clearly, when it will reach out on its own, and what it will never do without asking.
Documentation menuv0.24.0
On this page
1. What it is#
1.1 In one sentence#
An AI ops assistant deployed on your own servers: it remembers your estate, runs your inspections every day, and finds the root cause when something breaks.
It solves three problems:
- You don't have to explain everything again: resources, locations, dependencies and watch items are registered once and available from then on;
- You don't have to watch everything yourself: disks, certificates, domains and service health are checked every day, and you only hear about anomalies;
- You don't have to read logs and guess: troubleshooting comes with evidence, a root cause and a next step.
1.2 What it does#
| Capability | What you get |
|---|---|
| Resource ledger | Servers, databases, middleware, domains, certificates and more, registered and queried in one place |
| Dependency graph | Who depends on whom, the blast radius of a failure, and the knock-on risk of a change |
| Watch items | "Watch this concern on this resource" |
| Scheduled inspections | Automatic daily checks that only push when something is wrong |
| Troubleshooting | From symptom to logs, configuration and changes — an evidence-backed root cause |
| Health check | A one-shot check that the assistant's own configuration is sound |
| Event log | Changes, actions, approvals and alerts recorded automatically and traceable |
| Scheduled tasks | Inspections and data cleanup run on schedule and can be adjusted at any time |
| Multi-channel chat | Feishu, DingTalk, WeCom and others, connected at the same time |
| External alerts | Alerts from monitoring systems trigger analysis automatically |
| Action approval | Risky actions ask you first; unattended runs are read-only |
| License management | Expiry reminders, renewal with a new code, no data lost |
1.3 Before you start#
- The deployment is complete and at least one IM channel is connected (Feishu by default);
- The license is valid (you will be reminded before it expires);
- You know the bot's name and which platform it lives on.
2. Getting started#
2.1 Find it and say hello#
- Open the connected IM (Feishu by default) and search for the ops assistant bot;
- Message it directly with what you need; in a group, @ it;
- No commands are required — everyday language is enough.
2.2 Step one: health check#
Health check
It checks its own state and gives a "healthy / to do" conclusion. If something is missing, it names what and tells you the next step.
2.3 Step two: register your first server#
Bring this machine under inspection: 10.0.0.5, it serves the marketing site
It does not hand you a form. It does its homework first:
- Check for duplicates: is it already registered?
- Decide the type: host, database or self-hosted service;
- Try to connect: probe whatever it can read;
- Draft it for you to review: type, resource name, what to watch;
- Only when you say "go ahead" does it commit to the ledger;
- It replies "now under watch" and says what was bound and what is still missing.
If it can't connect, that's fine: register it anyway. It will tell you exactly what is missing and how to add it — it will not pretend the connection works.
2.4 Step three: start an inspection#
Start an inspection
Or wait for the automatic inspection at 09:00 every day. An anomaly produces one message; no anomaly means no interruption.
3. What it remembers for you#
3.1 Resources#
One operational object, one record, with three kinds of information:
- Identity: type, name, status, description;
- Coordinates: how to find it (IP, port, domain, endpoint);
- Extended information: owner, data center, business unit and so on.
It does not store passwords, keys or private keys, and it does not store "how to log in".
3.2 Types#
There are 31 built-in types. Each knows which fields to record and how that kind of thing should be observed.
| Category | Types |
|---|---|
| Hosts and accounts | Generic host, Alibaba Cloud account |
| Relational databases | MySQL, MariaDB, TiDB, PostgreSQL, SQL Server, Oracle |
| NoSQL / search / time series | Redis, MongoDB, Elasticsearch, ClickHouse, InfluxDB, HBase |
| Message queues | Kafka, RabbitMQ, RocketMQ, Pulsar |
| Gateways and proxies | Nginx, APISIX, Kong |
| Containers and orchestration | Kubernetes, Docker Swarm |
| Storage and coordination | MinIO, ZooKeeper, etcd |
| Applications and network | Self-hosted service, HTTP endpoint, domain, certificate |
| Authentication and identity | Keycloak |
If it meets a type it doesn't recognise, it says "not supported yet" rather than forcing it in.
3.3 Dependencies#
It records "who depends on whom", for example "web1 depends on redis-cache". This is used to:
- Judge the blast radius of a failure;
- Judge the knock-on risk of a change;
- When a service has no direct access channel, follow dependencies to find the host it runs on.
Dependencies are cycle-safe: self-dependencies and loops are rejected.
3.4 Watch items and check methods#
A watch item is one resource × one concern, for example:
web1× disk usage;api.example.com× certificate expiry;order-api× service health check.
A watch item stores no threshold, only the binding. Thresholds and criteria live in the check method; when it runs is decided by scheduled inspections (09:00 daily by default).
What is built in is the ops capability. The specific criteria — how full counts as full, how many days left counts as expiring — are generated on demand: you state the policy, it drafts, and it takes effect after you confirm.
3.5 Events#
Four kinds of record are kept automatically:
| Category | What is recorded |
|---|---|
| Resource changes | Create, update, delete, dependency changes, watch-item binding and unbinding |
| Actions | What it has executed |
| Approvals | Which actions asked you, and what you decided |
| External alerts | What external systems reported |
Records are kept for 90 days by default, with expired data cleaned up every day.
3.6 License#
The license is bound to the deployment machine — one code, one machine:
- Valid: every feature is available;
- Expiring within 7 days: normal use plus a renewal reminder;
- Expired but within the 30-day grace period: still usable, with an expiry warning every time;
- More than 30 days expired / invalid / machine mismatch: service stops and conversations are blocked.
Just ask it:
How much time is left on my license?
To renew, contact the delivery team and provide the machine fingerprint for a new code. Renewing needs no reinstall and loses no data.
4. Day-to-day use#
4.1 See your estate#
| You can say | It will |
|---|---|
| "What resources are registered?" | List every resource |
| "Which databases do we have?" | Filter by type |
| "Tell me about web1" | Properties, description, what it can do, how to connect |
| "Which resource types are supported?" | List all 31 types and what each records |
4.2 Register#
Register a Redis instance: 10.0.0.8:6379, caching for the order service
Register a domain: example.com, expires next March, I'm the owner
Register a certificate: api.example.com:443, check the days remaining every day
It checks for duplicates, drafts, and commits only after you confirm. A duplicate name is never silently overwritten — a repeat registration is routed to "change".
4.3 Change#
Change web1's owner to team-a
Change redis-cache's port to 6380
Add a note to web1: serves the public website and API
Set web1's status to maintenance
It reads the current value first, then tells you what it changed and what it verified.
4.4 Dependencies#
web1 depends on redis-cache
web1 no longer depends on redis-cache
What are redis-cache's upstream and downstream dependencies?
Change the note on web1 → redis-cache to: primary cache; fall back to the database on failure
A dependency can carry one note. To change the relationship itself, delete it and create it again.
4.5 Watch items and thresholds#
Bind a disk-usage check to web1
Remove the disk-usage check from web1
Alert me when disk usage passes 90%
Alert me when the certificate has 15 days left
Binding twice does not create duplicates; when a threshold changes, just state the new policy. If a check method is uninstalled or renamed, it tells you that "this watch item is orphaned".
4.6 Disable and delete#
Disable web1
Delete web1
- Disable: it leaves day-to-day watch, but its records remain;
- Delete: irreversible. It refuses while other resources depend on it; if you really need to delete it, it first lays out the cascading impact for you to confirm.
4.7 Look back in time#
What changed yesterday?
Were there any anomalies in the past week?
What happened to web1 recently?
4.8 Let it actually act (access channels)#
The ledger only records where something is. Reading logs, restarting a process or running SQL also needs the matching access channel.
When you register a new resource, it checks automatically:
- An existing usable channel → verify it, then actually read the target once;
- None → recommend candidates for the resource type, guide you through setup, and continue only after it confirms it can really read;
- A self-hosted service with no direct channel → configure the host's channel and express the runtime environment through dependencies.
Credentials are held by the channel itself. The assistant never asks for them and never writes them into the ledger. When setup is incomplete, it says plainly "what needs configuring before what can be done" — it does not pretend to be available.
5. How it works on its own#
5.1 Scheduled inspections#
By default every day at 09:00. You can also run one at any time:
Start an inspection
One inspection does four things:
- Take the full list: every resource × every watch item;
- Judge each one: run a live, read-only check using the bound method;
- Check coverage: every resource is checked at least once; anything missed is listed;
- Give a conclusion: if something is wrong, push one message in plain language (resource, watch item, evidence, suggestion); if not, stay quiet.
An inspection only judges; it never acts. When a restart, a configuration change or a rollback is needed, it asks you first.
To adjust or pause:
Move inspections to 8 a.m. every day
Pause inspections
Resume inspections
Show me my scheduled tasks
5.2 Troubleshooting#
The order service has been timing out since this morning — take a look
web1's disk looks full — find out why
Is the certificate about to expire?
The analysis path: collect clues → define the problem → observe and gather evidence → compare and discriminate → verify the root cause → conclude.
A conclusion always has four parts:
- What happened (the symptom and the blast radius);
- Root-cause hypotheses (each with its evidence);
- Evidence (logs, configuration, changes, timestamps);
- Next-step options (actions that need your confirmation are marked).
When evidence is insufficient, it says "what is missing and what would verify it" — it does not invent a cause.
5.3 Health check#
Health check
Seven checks, each independent:
| Item | What it checks |
|---|---|
| 1 | The three backstops: event log, action approval, license validation |
| 2 | Whether the built-in capabilities are complete |
| 3 | Whether ledger data can be read and written normally |
| 4 | Whether the daily inspection exists and has a push channel bound |
| 5 | Whether external alert ingestion is enabled and correct |
| 6 | Whether every registered resource has complete, reachable watch items and access channels |
| 7 | Whether action approval is set to a safe deny-by-default policy |
It only diagnoses, never changes; every failure comes with a next step.
5.4 Sessions and facts#
- A session keeps context, so you can keep talking;
- Facts come from the ledger, not from memory or guesswork — two people get the same answer;
- Sessions and events are kept and can be traced back;
- When it discovers a new resource or dependency in conversation, it drafts a write-back and applies it only after you confirm.
6. How you work together#
6.1 When it acts, and when it asks#
| Scenario | Behaviour |
|---|---|
| Queries: list resources, read logs, check status | Acts directly, then tells you what it did |
| Side effects: restart, change configuration, delete, write data | Asks first, explains the impact, acts only after you confirm |
| Scheduled inspections / external alerts (unattended) | Actions are denied by default; it only analyses read-only and suggests |
| An unclear boundary | Leans conservative and lays out the trade-offs for you to decide |
Without your confirmation, it does not touch production.
6.2 How it handles passwords and keys#
- The ledger never stores passwords, keys or private keys;
- It never asks for them; when they are needed, it first guides you to enter them yourself;
- If you insist it fills them in, it explains the risk first and suggests rotating them afterwards;
- If you paste credentials into the chat, it refuses them and suggests revoking and reissuing;
- Connection credentials are held by the access channel itself — never in the ledger, never in a conclusion.
6.3 How it handles "I don't know"#
- Unclear description: probe first, ask only when probing fails, never guess into the ledger;
- Cannot connect: say exactly what is missing and how to add it, never pretend it works;
- Not enough evidence: list what is missing, never invent cause and effect;
- Unsupported type: say so, never force it in.
6.4 Boundaries#
- It does not take over accounts or save login credentials;
- It performs no destructive operations (dropping databases, mass deletion) unless you confirm they are part of a remediation runbook;
- It never changes anything on its own in an unattended scenario.
7. Notifications and channels#
7.1 Where notifications go#
- Inspection anomalies → pushed to the channel where you normally talk to it;
- License expiry → renewal reminders;
- No anomalies → no push.
The default notification channel is set at deployment. To send inspection results somewhere else:
Send inspection results to the DingTalk ops group from now on
7.2 Connect a new IM channel#
A deployment can connect several channels at once. Every channel shares the same ledger and the same inspections.
Supported channels#
| Common | Others |
|---|---|
| Feishu, DingTalk, WeCom, WeChat | Telegram, Slack, Discord, Microsoft Teams, Google Chat, Matrix, Mattermost, LINE, QQ, WhatsApp, Signal, Email, SMS, iMessage |
Three steps to connect#
Step 1: create a bot application on the IM platform
This is done by that platform's administrator. Grant the "send and receive messages" permission and add the bot to the group you will use (if you use a group).
Step 2: prepare credentials
| Channel | What to prepare |
|---|---|
| Feishu | App ID and App Secret; enable the bot capability |
| DingTalk | Client ID and Client Secret; enable the bot |
| WeCom | Bot ID and Secret (a self-built app also needs CorpID, AgentId and so on) |
| WeChat (personal) | Scan to log in; no secret to fill in |
| Telegram | Bot Token generated by BotFather |
| Slack | Bot Token (and App Token) |
| Discord | Bot Token |
| Others | The platform's bot Token / App ID / Secret |
Step 3: hand configuration to the delivery team
Submit "channel + credentials + the people/groups allowed to use it" to the delivery team through the secure method agreed at delivery. Do not paste them into the chat — chat content is stored in the session record.
After configuration, the connection usually needs one restart. Then message the bot privately in the new channel, or @ it:
Are you there?
A normal reply means the channel is connected. If your own ops team manages the deployment, you can also follow the deployment notes provided at delivery and configure it yourself, then ask the assistant to confirm the channel status.
Things to keep in mind#
- A channel's credentials only need configuring once and stay valid; reconfigure only when changing the bot or the app;
- WeCom / Feishu / DingTalk usually require a platform admin to approve app permissions;
- A personal WeChat account requires a QR scan; the code expires, so the owner must be present;
- After a new channel is connected, the existing ledger, watch items and inspection results are shared automatically — nothing needs registering again;
- To make the new channel the default notification channel, just tell the assistant (see 7.1).
7.3 External alerts#
Monitoring systems, business applications or CI can report when a service fails:
- Report a "service anomaly" alert;
- The assistant finds the matching resource in the ledger by service name;
- It pulls logs and compares configuration and changes;
- It pushes the root-cause conclusion to the chat channel.
Connecting requires a server address, a port and a shared secret, and alerts must carry the service name, error message and event type. The delivery team helps configure this; you only tell the assistant which service should receive alerts.
The reporter only receives "accepted"; findings go to the chat channel and are not sent back to the reporter.
8. Getting the most out of it#
8.1 How to state a request clearly#
Where possible, one sentence should carry object, location, expectation.
| Not quite enough | Better |
|---|---|
| "Register a machine" | "Register 10.0.0.5, the marketing site server; I'm the owner" |
| "Keep an eye on disk" | "Alert me when web1's disk passes 85%, checked once a day" |
| "The service is down" | "order-api has been returning 502 since 8 a.m. — find out why" |
If you can't say it all, that's fine: it probes first, then asks.
8.2 A good order for your first run#
- Health check: make sure the environment is complete;
- Register core resources: machines, databases, domains, certificates;
- Add dependencies: what runs on what, and who depends on whom;
- Bind watch items: disk, certificates, health checks;
- Run one inspection by hand: confirm the results match expectations;
- Hand over to the daily inspection.
8.3 It gets easier with use#
- If a judgement is wrong, correct it — it updates the check to your policy;
- After resolving an incident, ask it to turn the lesson into a check method;
- When a new service goes live, say "bring it under inspection" as you go.
9. FAQ#
Q1: Do I need to understand the technology or memorise commands?
No. Being able to describe what you need is enough; it handles the operations.
Q2: Will it change my production environment on its own?
No. Queries are done directly; restarts, configuration changes and deletions ask you first. Unattended scenarios are read-only.
Q3: Are passwords and keys stored?
No. The ledger is zero-secret; connection credentials are held by the access channel itself.
Q4: Why can't it connect to the server after I register it?
Registration only records what it is and where it is; connecting needs an access channel. It tells you what is missing and how to add it.
Q5: Will inspections send a pile of messages every day?
No. It pushes one message only when it finds an anomaly; no anomaly means no interruption.
Q6: How do I change a threshold?
Just state the new policy, for example "alert me when disk passes 90%", and confirm.
Q7: What can it watch?
31 built-in resource types; watch items can bind any check method: disk / memory / CPU, certificate expiry, domain renewal, service health, database connection counts and more.
Q8: How do I connect DingTalk or WeCom?
See 7.2 Connect a new IM channel: create the bot on the platform → prepare credentials → hand configuration to the delivery team → verify in the new channel.
Q9: Where is the data, and what if I move servers?
Data is stored locally on the deployment server. The delivery team helps with migration; the license is bound to the machine, so a new machine needs a new license code.
Q10: What happens when the license is about to expire?
You are reminded 7 days before expiry. Contact the delivery team with the machine fingerprint for a new code; no data is lost.
Q11: How do I let more people use it?
By default only the account configured at deployment can use it. To enable a colleague, contact the delivery team or your administrator.
Q12: Does it conflict with Prometheus or Zabbix?
No. Monitoring collects metrics and alerts on thresholds; the assistant owns the ledger, inspection orchestration and troubleshooting. Alerts can be fed in.
Q13: Can it get things wrong or make things up?
Facts come from the ledger. When evidence is insufficient it says plainly "I'm not sure, and this is what is missing" — it does not invent cause and effect.
10. Glossary#
| Term | Meaning |
|---|---|
| Resource | An operational object in the ledger (host, database, domain, certificate and so on) |
| Type | The kind of resource, which decides the fields recorded and how it is observed |
| Standard properties | Fields predefined for a type (such as address and port) |
| Extended properties | Information you add (such as owner and data center) |
| Dependency | "Who depends on whom" between resources |
| Watch item | The binding of "watch this concern on this resource" |
| Check method | The rule that describes "what counts as abnormal", generated on demand |
| Inspection | A read-only pass over every resource and watch item, with anomalies summarised |
| Event | An automatically recorded change, action, approval or alert |
| Access channel | The external tool connection that actually reaches a resource, and holds its credentials |
| Grace period | The 30-day window after a license expires during which it still works |
| Machine fingerprint | The unique machine identifier the license is bound to |
This guide is updated with the product. Where it differs from your deployment, the assistant's reply in the conversation takes precedence.
Need help?
Every question reaches the team that builds the product. Tell us what you were trying to do and where you got stuck.