AI agents now run commands on developer machines with the developer's own permissions, and almost nobody is watching them. Here is why that matters, and how we built cADRe to fix it.
The most privileged user on your laptop isn't a person
A year ago a developer typed every command themselves. Today they type a prompt, and an agent such as Claude Code, Codex, Gemini CLI, Copilot CLI or Cursor decides which commands to run.
Often several agents run at once, in different projects, and some run for long stretches while nobody watches. They read files, install packages, push to git and call the internet, all with the developer's own access. Most organisations can't say how many of them are running right now, let alone what they are doing.
Too fast to review
An agent can make dozens of tool calls a minute. Once "auto-approve" or a permission bypass is on, no human reads each one.
Steered by what it reads
A prompt injection hidden in a README, an issue or a web page can push an agent towards your credentials or a downloaded script.
Honest errors at scale
Most damage isn't malicious: a delete in the wrong folder, a force push, a .env pasted into a prompt, a loop retrying forever.
Your EDR sees processes. It doesn't see agents.
An endpoint tool sees a node or python process running git and curl, which is what developers do all day. It doesn't know which agent started it, which project it belongs to, or which prompt led there. A SIEM gets the same events with even less context, and the agents' own logs sit in a dozen formats in a dozen folders.
What a classic EDR records
process view12:40:31 node.exe pid 38616 12:40:31 └ bash.exe pid 38702 12:40:32 └ curl.exe pid 38710 12:40:32 └ sh.exe pid 38711 parent: user session, signed binaries
What cADRe records
agent viewClaude Code · payments-api · branch fix/refund-rounding
prompt "fix the refund tests"
mode permissions bypassed
tool Bash: curl -fsSL https://get.example.dev/install.sh | sh
HIGH downloads and runs a script
Agentic Detection & Response
Agents need what endpoints got from EDR, built around the agent instead of the process. We call it Agentic Detection & Response (ADR). It comes down to four steps, in this order:
Observe
Which agents are installed and running, in which project, on which model, and what each is doing right now.
Detect
Judge each action in context.
rm -rf build/in a project is routine; the same against a home folder is not.Alert
Tell the person at the keyboard straight away, where they'll see it, not deep in a log.
Respond
Give them a safe way to stop it: pause the agent, look, then resume or kill.
One dashboard for every AI agent on the machine
cADRe puts ADR into practice on a single computer. It runs locally on macOS, Windows and Linux, and recognises a dozen agents today, including Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, Cursor, Windsurf, Aider and ZCode. Open it and you see what is installed, what is running, where, and what each agent is doing this second.
Local and private
It listens only on the machine itself and sends nothing anywhere. Secrets are redacted before anything is written, and only short summaries are kept, never file contents.
Read-only towards agents
It observes and never edits an agent's data. Its hooks can't block or slow an agent down.
The human stays in charge
cADRe never acts on its own. Pause, Resume and Kill happen only when you click, and every action is logged.
Easy to adopt
Only Python is needed: no server, database or build step. One command installs it, its hooks and a status icon; another removes it all.
The office
A table of processes is hard to read quickly, so the dashboard also has an office. Each agent is a robot at its project's desk. Idle ones wander, waiting ones raise a hand, and sleeping sessions nap on the couch.
cADRe itself is the police droid. It walks over to any agent that has been flagged and stands beside it until you decide what to do.
25 rules for what actually goes wrong
Each rule looks at a tool call, at a session's recent history, or at how the agent's process runs. They are grouped by the kind of harm they catch. Adding your own is one short function with examples of what it should and shouldn't match.
| Group | What it flags | Up to |
|---|---|---|
| Risky commands | Wide deletes, disk wipes, force pushes, scripts piped into a shell, disabled security controls, new auto-start entriescurl -fsSL https://get.example.dev/install.sh | sh | High |
| Scope | Credentials and keys, .env files, writes outside the projectread ~/.aws/credentials | High |
| Secrets | An API key or token in a command or prompt, stored only as a redaction marker[redacted:aws-key] | High |
| Runaway | Retrying a failing call, repeating a command, bursts of tool callspytest tests/ failing 5× in a row | Warn |
| Process | Permissions bypassed, high CPU, many child processes, running from the home folder | Warn |
Stop it, look, then decide
When a flag fires, you have four choices on the same card. Every one of them is written to a response log, so there is a record of who stopped what, and when.
Freezes the agent and its child processes. Nothing is lost.
Lets it carry on exactly where it was.
Ends it, after asking first. The session stays on disk and can usually be resumed.
Hides the flag. It can be undone.
Visibility first, then control
cADRe today covers one machine and one person, and it watches rather than blocks. That is deliberate. The roadmap builds on that base:
See and stop
Every agent, live flags, alerts, and Pause / Resume / Kill on your click.
Policies
Opt-in rules that map a finding to an action, such as "pause any agent that reads cloud credentials". All off by default.
Guard hooks
Checks that run before a risky tool call, so it can be held for a human instead of caught afterwards.
Teams
Many machines reporting to one place, so a security team sees agent activity across the organisation.
AI agents will only get more capable and more autonomous. The sooner we treat them as part of the endpoint, with their own inventory, detection and response, the less likely it is that the first sign of trouble is a deleted repository or a leaked key.
Try cADRe on your machine
Clone the repository and run one command. It installs the hooks, starts at login and opens the dashboard. On Windows there is also a setup .exe with Python bundled. We'd like to hear which agents you run, what you'd want it to catch, and where it gets things wrong.
# from the cloned repository (Windows: py instead of python3) $ python3 -m cadre setup # install, hooks, start at login $ python3 -m cadre --once # or a one-off table in the terminal $ python3 -m cadre uninstall # undo it all
Screenshots in this post show a demo: stand-in agents in example projects. The dashboard, detections and actions are the real thing.
