VergAI
How VergAI watches and fixes
VergAI is the part of the console that looks at everything else. Once a minute it reads what your products already know: incidents, nodes, certificates, vault copies, server health. Each problem becomes one issue. A fixed library of playbooks then decides what happens next. Some playbooks do one small thing you could have clicked yourself, then check that it worked. The rest hand the issue to a person with the exact steps.
It starts by telling you what it would do and waits for your approval. You decide when it may act on its own.
What it watches
| Product | What becomes an issue |
|---|---|
| VergMind | Every open incident of the workspace: a monitor that is down, an objective being missed, a certificate warning, a vault that stopped copying, a path that lost packets or got slow. VergMind stays the place that alerts you. VergAI adds what to do about it. |
| VergMesh | A node that has not reported for 10 minutes, a notice from an agent, an agent that was told to upgrade two hours ago and still runs the old version, and agents that are behind the current release. |
| VergShield | An online node that still runs an older policy than the published one for more than 10 minutes. |
| VergVitals | A full disk, low memory, high load, a restart that is waiting and security updates that are waiting, when no incident covers them yet. |
| VergCert | A certificate that is about to end, cannot be read or is not trusted. |
| VergVault | A restore check that failed in the last 7 days and has not passed since, and a mirror in error. |
| VergFit | A server that is too small for what it carries. |
| VergShip | A signed operation that was refused or failed in the last 24 hours. |
VergAI only reads. It uses each product's own tables and its own service calls, and every issue keeps the same key from one scan to the next, so a problem is one issue however long it lasts.
Playbooks
A playbook is written in advance and tested. VergAI never invents a fix. There are two kinds.
Fixes in the console
Each one does a single thing a member could click today, on exactly one named object, then checks that it worked within a deadline.
| Playbook | Does | Checks |
|---|---|---|
| Vault copy stalled | Asks every machine of that vault to copy now. | The incident closes, or the machine's last copy is newer and shows no error. |
| Monitor check again | Runs the check of a monitor that has been down for 5 minutes or more once more, from the console or from inside your network for private checks. | The incident closes within 15 minutes. |
| Private site check again | Runs the check of a private site again, at most once a day for each site. | The incident closes within 20 minutes. |
| Exposure scan again | Runs the exposure scan of a network again, once a day for each network. | The incident closes within 30 minutes. |
| Certificate read again | Reads a certificate again through VergCert, in case it was renewed since the last look. | The end date moved later, or the error cleared. |
When the check fails, the issue is handed to a person with the steps and the playbook does not run on it again for 24 hours.
Handovers
A handover changes nothing. It writes the exact steps on the issue, and a note on its VergMind incident when it has one. Handovers cover an offline node, an agent upgrade that did not finish, an agent that is behind, policy drift, a full disk, low memory, a restart that is waiting, updates that are waiting, a slow path, a server that is too small, a refused operation, an agent notice, a failed vault check and a certificate that is not trusted. Anything an incident covers that no other playbook takes gets a general handover with a link to the incident.
The steps use commands you run yourself on your own server, such as sudo verg-agent doctor. For a disk they only show what takes the space. They never tell you to delete data.
Modes and tell me first
| Mode | What happens |
|---|---|
| Off | No scans and no proposals. The tiles keep showing the last scan. |
| Tell me first | VergAI writes down what it would do and waits. A person approves it, and it runs at once, or declines it. A proposal that nobody decides expires after 24 hours. |
| Act | VergAI runs a console fix as soon as it is found, unless it is held by quiet hours or a limit. |
The first scan starts a 7 day period in which VergAI only tells you, even when the mode is Act. An admin can end it early in Settings. A playbook can follow the workspace or have its own mode, so you can let one fix act while the rest keep asking. Handovers run in Tell me first and in Act alike, since they only write a note.
The Replay tab keeps every proposal of the last 30 days and what happened next: closed by itself, fixed by a person or still open. It is the evidence for deciding when to let VergAI act.
Approvals
Operators approve or decline by default. In Settings an admin can make it admins only. Approving runs the fix straight away, by the same code that runs in Act mode, and the audit log says who approved it. Declining hands the issue to a person with the steps written out.
Limits and quiet hours
- Quiet hours: a start and an end time in the workspace time zone. A fix that comes up during them is held and runs when they end, or expires after 24 hours.
- Actions an hour: at most 6 for the whole workspace by default, 60 at most. The rest wait for the next hour.
- Runs a day for each playbook: 3 by default.
- Back off: a fix acts on one named object, never on a list. A playbook does not run twice on one issue within 6 hours. After a check that failed it does not run on that issue for 24 hours. Running a fix twice does the same as running it once.
The Free plan tells you and never acts. Paid plans can act.
What it never does
- It runs no command on your servers and makes no change on them. The console can run no command on its own, and VergAI is part of the console.
- It only does what a member could click in the console today, with the same checks: a vault copy, a monitor check, a private site check, an exposure scan, a certificate read.
- It never changes a policy, a key, a member or a plan, and never deletes anything.
- It never claims a fix worked until it has looked: every fix is checked, and one that fails is handed to a person.
The health score
Each product starts at 100 and loses 25 for every open problem, 10 for every warning and 3 for every note, never below 0. The workspace score is the average over the products in use, and it is never above 79 while any problem is open. 90 and up is healthy, 70 and up needs a look, below that needs action. Words always come with the number, so colour is never the only signal.
Audit and VergMind
Every run is in the audit log under VergAI, with the issue it was for and the person who approved it. The product's own line is written too, for example the vault sync. When an issue has a VergMind incident, VergAI adds a note to it when it runs, when it checks and when it hands over, and the incident page links back to the issue.
API
Reads need a read key. Approving, declining, changing settings and scanning need a read and write key, and accept an Idempotency-Key header. Fields are in snake_case.
curl -s https://api.cloudverg.com/v1/ai/summary -H "Authorization: Bearer $VERG_API_KEY"curl -s -X POST https://api.cloudverg.com/v1/ai/actions/aia_0123456789abcdef0123/approve \
-H "Authorization: Bearer $VERG_API_KEY" -H "Idempotency-Key: $(uuidgen)"GET /v1/ai/summary score, tone, 30 day numbers, product tiles and settings
GET /v1/ai/issues?state=&product= issues: open, handed, fixed or all
GET /v1/ai/issues/{id} one issue with its playbook, steps and actions
GET /v1/ai/actions?state= proposals and runs
POST /v1/ai/actions/{id}/approve run a proposed or held fix now
POST /v1/ai/actions/{id}/decline decline it
GET /v1/ai/playbooks the library with mode, limit and results
PATCH /v1/ai/playbooks/{key} {mode, max_day}
GET /v1/ai/settings mode, quiet hours, limits, who approves
PATCH /v1/ai/settings change them
POST /v1/ai/scan look now (once every 30 seconds)