Skip to content

7.1. Operations Checks

Overview​

An operations check is the work of finding where a problem is, in a fixed order. You read the numbers on the dashboard. If a number is not 0, you look for the cause on the scheduled jobs, messenger connections, and API keys & tokens screens.

Permissions: Administrator. Only administrators can use the top "All AI Agent Workspaces" section of the dashboard and the actions in this chapter (such as starting and stopping a gateway).

Terms are in A.3. Glossary. The terms used in this chapter are as follows.

  • AI agent workspace: The place where an AI agent works, created one per user. It holds settings, skills, memory, and files.
  • Profile: The set of settings for one AI agent inside a workspace.
  • Gateway: The channel through which an AI agent receives messenger messages and scheduled jobs.

When to Check​

SituationWhat to do
Regular check (once a day or once a week)In step 1, look at the numbers on the dashboard. If all are 0, you are done. If any number is not 0, go to the matching step.
A report that "the AI agent does not answer"In step 1, look at the LiteLLM status in "Operations" and the ready state of that workspace. Then see A.2. Troubleshooting.
A report that "notifications or scheduled jobs do not arrive"Look at steps 2 and 3.
A report that "a key has expired"Look at step 4.

Reading the Menu Numbers​

The numbers in the left menu show where a check is needed.

MenuNumber colorMeaning
ChatOrangeNumber of chats waiting for an answer or approval
ProfilesOrangeNumber of requests waiting for an administrator
Skill hubGrayNumber of skills that can be upgraded to a new version
Scheduled jobsRedIssues that are still failing, plus jobs whose last run failed
API keys & tokensRedExpired keys and tokens
Claude Code connectionsRedManual tokens, among the connections you created yourself, that end within 7 days

The group title shows the sum of the numbers inside it. The gray number of the Skill hub is not a fault, so it is not added to the group title. The "Claude Code connections" number counts only your own connections. To check other people's connections, see 7.4. Managing Claude Code Connections.

Order of Checks​

OrderScreenWhat to look at
1DashboardThe state and problem counts of all AI agent workspaces
2Automation › Scheduled jobsJobs that failed or stalled
3Automation › Messenger connectionsThe state of gateways and messenger connections
4Settings › API keys & tokensValues that have expired or will expire soon

The scheduled jobs, messenger connections, and API keys & tokens screens show the content of the "AI agent workspace you are viewing". To check another workspace, switch workspaces first. Use "Switch AI Agent Workspace" in the top bar or the table on the dashboard.

Step 1: Look at the Dashboard​

Look at the four number cards in the top "All AI Agent Workspaces" section of the "Dashboard". How to read the whole section is in 1.3. Administrator Dashboard. Clicking a card whose number is not 0 leads you to the next step.

CardMeaningWhen clickedNext step
AI Agent Workspaces readyNumber of ready workspaces / totalThe "AI Agent Workspaces" screen3.2. Workspace Status and Restarting
Failed or stalled jobsSum of jobs whose last run failed and jobs that stalledFilters the table to that workspaceStep 2
Profiles with problemsNumber of profiles whose messenger connection has a problemFilters the table to that workspaceStep 3
Expiring API keys & tokensNumber of keys and tokens that have expired or will expire soonThe "API keys & tokens" screenStep 4

If a dash (-) appears instead of a number, the first collection has not happened yet. If "Based on N of N · N failed to collect" appears, some workspaces are missing from the total. Clicking that text filters the table to only the workspaces that failed to collect. To clear the filter, click close on the filter mark above the table.

Clicking a row in the table switches to that workspace and moves to the "Current AI Agent Workspace" section below. A workspace that is not ready cannot be switched to.

Reading Operations​

The "Operations" line in the top section shows the state of the services.

"Operations" textMeaningAction
LiteLLM OKThe model server is connected.None
LiteLLM unreachableThe model server cannot be reached. Chat answers may not appear.Tell the operator. See 4.1. Models and A.2. Troubleshooting.
Skill hub helper OKThe helper that processes skill install requests is running.None
Skill hub helper stoppedSkill install requests are not being processed.Tell the operator. See A.2. Troubleshooting.

The "Operations" line of the dashboard. It shows "LiteLLM OK", "Skill hub helper OK", and the collection round

Figure 7.1-1. The "Operations" line

Note: The numbers on the dashboard are values collected at regular intervals. Even after you fix a problem, a number may not drop right away. If a "Next collection" time is shown, the first collection has not happened yet.

On success, all four numbers are 0 and "LiteLLM OK" is shown. If a number does not drop, open the screen again after the collection time has passed.

Step 2: Check Scheduled Jobs​

  1. Switch to the AI agent workspace you want to check.
  2. Open "Automation › Scheduled jobs" in the left menu. A red number in the menu means there is an issue that is still failing.
  3. Look at the tabs below in order.

The scheduled jobs screen.

Figure 7.1-2. The scheduled jobs screen

TabContent
Last run failedJobs whose last run failed
Failing issuesIssues that are still failing
Stalled jobsJobs that did not run although their scheduled time passed
Jobs without alertsJobs that have no alert target, so no alert is sent even if they fail
Resolved issuesIssues that leave "To check" once you only click "Mark as seen"
  1. Click a row to see the failure reason and the run history.

Administrators, workspace owners, and team managers can pause or edit scheduled jobs. If there are many "Stalled jobs", go to step 3 and check whether the gateway is stopped. On success, the "Failing issues" tab is empty.

Step 3: Check Messenger Connections​

  1. Open "Automation › Messenger connections" in the left menu. This screen is read-only and does not read token values.
  2. Look at "Channels to check" and "To check".
  3. If the gateway is "Stopped", the scheduled jobs and messenger connections of that profile do not work. Open the profile's drawer (the detail pane that opens on the right), go to the "Gateway" section of the "Overview" tab, and click "Start". Only administrators can start and stop a gateway. If you are not an administrator, "Only admins can change this." is shown in the same place.
  4. If the gateway is "Running" but the messenger is disconnected, reconnect it on the "Channels" tab of the profile detail window.

The messenger connections screen. It shows the gateway state and the items to check for each profile

Figure 7.1-3. The messenger connections screen

A profile that shares the workspace's default gateway has no "Start" or "Stop", only "Restart". Restarting briefly stops the channels and scheduled jobs of all profiles in that workspace. It takes a few seconds for the state to change after the request.

On success, the gateway state changes to "Running". If it does not change, tell the operator.

Note: If a user asks you to turn on a gateway, an administrator does it for them. Ask for the name of the profile and start it the same way.

Step 4: Check API Key and Token Expiry​

  1. Open "Settings › API keys & tokens" in the left menu. A red number in the menu means there are expired values.
  2. Click the "Expired or expiring" card. "Includes the next 14 days" appears under the card.
  3. Use the "Empty values" card to also check items that have only a name and an empty value.
  4. Click a row to see where to enter the value.

The API keys & tokens screen. Values are not shown.

Figure 7.1-4. The API keys & tokens screen

Values are not shown on the screen. It shows only the name, the location, whether it is filled in, the expiry date, and whether the same value is duplicated. Only administrators record status, owner, and notes. The user who uses the key, or an administrator, enters a new value for an expired one. On success, the "Expired or expiring" card becomes 0.

The API keys & tokens drawer. It shows the scope, storage location, whether the value is filled in, and the expiry date, and does not show the value itself

Figure 7.1-5. The API keys & tokens drawer