Triage Ubuntu failures without giving the agent write access
A locked-down agent reads Ubuntu state and proposes a repair plan, while a separate gate decides whether any fix is carried out.
- What they did
- Maat ran from a snap that was confined to read-only diagnostics on Linux machines. Its sandbox let it examine journals, systemd units, processes, and disks, but denied sockets, file writes, and service restarts. The model could only draft a typed set of fixes with references to log lines, and a different polkit-protected tool performed any approved action, checked that it worked, and recorded the step in a hash-linked audit log. A single agent instance could connect to several hosts over SSH.
- How it went
- In ten LXD scenarios, each repeated three times, gpt-oss:20b identified the cause 28 times out of 30 and had 3 repairs carried out and confirmed. qwen3:8b identified the cause 24 times out of 30 and never produced a completed fix. Neither model was steered by misleading text embedded in the logs.
- Tips
- These scenarios were simple, and only two were adversarial, so the results are best treated as an initial signal. The tests covered Ubuntu 24.04 only, and only from the Snap Store edge channel.
Try it yourself with Claude Code
On my [Ubuntu version] machine, help me investigate [problem]. Read the journal, systemd units, running processes, and disk state, but do not make any changes. Give me a ranked diagnosis with the supporting log lines or other evidence, then write out a detailed repair plan with exact commands. Stop and wait for my approval before any step that would write files, alter settings, delete data, submit anything, send anything, or restart a service. If you need more evidence, tell me what you would inspect next.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Have the agent interview you before it writes code
A developer uses an agent to clear up vague requirements, handle small implementation choices, and keep them learning while the code is being built.
Set up an email agent that works Redmine tasks
A developer wired custom agents to take job requests by email and let one of them handle Redmine tasks inside a locked-down sandbox.
Turn a docs site into Markdown files with an agent
They used a custom crawler so Claude could save a 60-page docs site as Markdown without crowding the chat.
Add LLM review to pull requests and related docs
A team inserted LLM checks into PR review, architecture testing, and documentation, with developers still approving the agent’s suggestions.
Check upgrade risks before you ship
A ReAct agent reviewed dependency data for a planned cloud upgrade and blocked it when it found an incompatible SDK version.
Run a two-pass bug check before opening a PR
Use an agent to flag possible bugs first, then have it verify each one before any pull request is opened.