Part of Linux Audit
AI agents on your servers
Every command they run, every file they change with the difference, the secrets they read, the models they talk to — and who started them.
Two ways an AI agent works on a server
Part of the Linux Audit module, with the same agent on each server.
It logs in
An AI agent that runs elsewhere and connects over SSH or AWS SSM is, for the server, a login like a person's: SSH Audit records the session and every command, Linux Audit shows its configuration changes against the approved state and can put them back. Give the AI agent its own SSH key, recorded as a key of the person who answers for it, or temporary SSH access that ends by itself; every session then names that person.
It runs on the server
Coding agents and assistants in a terminal (Claude Code, Codex, Aider, Gemini CLI and others), automation platforms such as n8n, scripts that call a model's API, clients of a model running on the server.
Found by itself
Nothing to register, no special account: people run AI agents in their own accounts, and neboauditor recognises them.
By its program
claude, codex, aider, gemini, goose, opencode, cursor-agent, crush, qwen, openhands, interpreter, n8n, copilot, amp, gptme, plandex, sgpt, llm, mods, cline, droid, auggie, kimi — also when started through Node.js, Bun, Deno or Python. Within about a second of its start.
By a connection to a model API
Anthropic, OpenAI, Mistral, Groq, DeepSeek, OpenRouter, xAI, Together, Cohere, Perplexity, Fireworks, Moonshot, Z.ai. Within about 2 seconds, so a script nobody declared as an AI agent is found as soon as it talks to a model.
By a connection to a model server
Ollama, llama.cpp, LM Studio and others, running on the server.
Already running
AI agents that were running before neboauditor's agent started are found too.
Recorded for every run
A run is one AI agent with everything it started, also through sudo, shells, scripts and programs that detach.
Every program and script
Shown as a tree (AI agent → shell → script → program), with the arguments, directory and user. Recorded even where the noise settings leave commands out.
Every file it wrote
Created, changed, renamed or removed, with every version and the difference to the version before. Keys, .env files, credentials, binary and large files are kept by hash only and never leave the server.
Sensitive files it read
/etc/shadow, sudo rules, SSH keys, cloud and Kubernetes credentials (AWS, Google Cloud, Azure, Docker, kube), .netrc, .pgpass, Git credentials, GnuPG.
Every network connection
Address, port, failed or not, and the provider's name when it is a model API; listening ports it opened.
Its configuration changes
sudo, su and changes to the server's configuration, with Linux Audit's approval, alert and restore.
Who answers for it
The person of the login session it runs in (known by their SSH key, also on a shared account), the account and the session. The person's own commands in the same session stay theirs and are not mixed into the run.
Model servers, alerts and questions
Model servers listed
Ollama, llama.cpp, vLLM, LM Studio, LocalAI, Text Generation Inference, KoboldCpp and Tabby running on your servers are listed with the ports they listen on.
Alerts that name the AI agent
Alert rules can match an AI agent's file writes, sensitive reads, connections and commands: "AI agent claude read a sensitive file".
The AI assistant points out risky runs
Ask what the AI agents did; the assistant is told to point out agents that use sudo, read keys or credentials, write outside their working directory, change system files or connect to unexpected addresses.
How it works
With the Linux audit subsystem (auditd), as the rest of Linux Audit.
Rules only while an AI agent runs
neboauditor's agent adds audit rules for that AI agent's login session only (or its account, when it runs as a service) and removes them when the AI agent ends.
Nothing in between
Nothing is installed in the AI agent and nothing stands between the AI agent and its model. It works with any AI agent and any model.
What it does not do
So you know where its view ends.
It does not see prompts
It records what was done, not what was asked: the prompts and the model's answers are encrypted, and by design there is no gateway.
It does not block
It records; it does not block or approve an AI agent's actions. The server's configuration is still protected by Linux Audit's alerts and restore.
The first moment
Up to about a second after an AI agent starts (about 2 seconds when it is found by its connection), its commands are recorded but not yet its files and connections.
Very short connections
A program that is not a known AI agent and talks to a model only in connections shorter than about 2 seconds can be missed.
root services
An AI agent running as root without a login session: only its commands are recorded.
Containers
AI agents inside containers are not covered yet.
See it on a live system
We show neboauditor on our demo system, with the modules you are interested in.