Let your computer take diagnosis runs
Have each Diagnosis you start in Tellagen run by itself on your own computer, with Claude in the terminal (Claude Code), so you don't have to paste a command.
A run that your computer takes has nobody at the keyboard, so Tellagen holds it to read-only tools: the read tools of your Grafana and GitHub servers, and kubectl and gh commands that read, such as get, describe, logs, top and pr view. It reads no code on your computer unless you name a working folder.
Steps
Turn it on
Go to Settings → AI diagnosis, open the Local tab and turn on Take my runs automatically. The switch appears once a client is signed in under Your clients.
Tap to enlarge. Start listening
On the computer that takes the runs, run
npx @tellagen/mcp-server listen. The first time, and after each update, it makes one short model call to check that the shell guard works in your Claude in the terminal (Claude Code).When the terminal says "Listening for diagnosis runs.", you're set. The switch in Tellagen then names your computer as listening, and its client shows Takes runs.
Check its tools
Select Check now on its client under Your clients. Your computer reports which tools it can reach, so you know before the first incident.
Start a Diagnosis
Run a Diagnosis as usual. The tab says Starting on your computer's name, and the run starts within a few seconds.
Take alert runs from Slack (optional)
If an admin allowed computers in an alert channel, you can take the runs that start there by themselves. Under Alert channels, turn on the channel. You need to be in that Slack channel and to have linked your Slack account. Your computer takes such a run only while it listens and has no run open. See Start alert diagnoses by itself.
Stop listening
To stop new runs, alert runs too, turn off Take my runs automatically. To stop the computer, press Ctrl+C in its terminal. The current run finishes first, and a second Ctrl+C stops it at once. To see the current run, run
npx @tellagen/mcp-server listen --status.
What happens next
- Each Diagnosis you start runs on your computer while it listens. So does a question in a Slack alert thread. See Investigate an alert from Slack.
- The answer of a run in a Slack thread shows up to 3 reasons under the headline, each with the source it rests on, such as Prometheus or Loki. A mark shows whether a step is confirmed (✓), likely (~) or not verified (?). It shows no figures.
- When you ask for more on a finished run, your computer takes that request too.
FAQs
What can a run do on my computer?
Only read. Every shell command passes a check first. Only
kubectlandghread commands run, with no pipes, quotes, redirects or secrets, and nothing runs when the check can't. It can't write files, browse the web, or runexec,applyordelete. It writes only its own run in Tellagen. A refused command becomes a gap in the run.The tab says the computer couldn't start my client. What now?
Install Claude in the terminal (Claude Code) on that computer and sign it in, then try again. Or start the run yourself with the command the tab shows. The tab also tells you when the computer reached its limit of runs.
Why does the listener refuse to start?
It names the cause. It refuses Codex and Windows. It also refuses when your Claude in the terminal (Claude Code) settings allow a tool that isn't on its read-only list, or can't be read. Remove that rule, or name a working folder whose settings are clean. It needs
npx @tellagen/mcp-server loginfirst on that computer.A run can't use my Grafana or GitHub tools. Why?
The listener allows the servers named
grafana,mcp-grafanaandgithub. For other names, list them undermcp_serversin~/.tellagen/listen.json, withgrafanaandgithublists. A list replaces the default names of its kind, so add the default too if you still use it.Can it run more than one Diagnosis at a time?
Yes, up to 3. By default it runs one at a time and stops a run after 45 minutes. Change
max_runsandrun_time_limit_minutesin~/.tellagen/listen.json.
Related guides
Did this help?
Updated . Something out of date? Write to [email protected]. Open Markdown version