Getting Started
Enabling AI Agent Watch¶
AI Agent Watch is enabled on a per-Infra App basis.
If you don't already have an Infra App, create one first. Then open the AI Agent Watch page, click Enable, and select the Infra App(s) for which you want to enable AI Agent Watch.

Enabling AI Agent Watch adds default PII categories, alert rules, and governance policies, and gives you access to built-in activity and security reports and cost tracking. Governance policies are disabled by default; review and enable them when you’re ready to enforce restrictions.
Connect servers or workstations¶
Install or upgrade Sematext Agent on each machine with your Infra App token. Workstations can run Linux, macOS, or Windows; choose the setup path by operating system. See Platform Support for requirements and capability differences.
- Linux servers and workstations: Follow Linux installation. On supported hosts, Sematext Agent automatically discovers AI agents.
-
macOS, Windows and WSL: Use Sematext Agent 4.7 or later, then set up Claude Code and Codex with one command. Follow macOS, Windows and WSL Setup.
AI Agent Watch currently supports only Claude Code and Codex on macOS and Windows.
Find your Infra App token¶
- In Sematext Cloud, open Fleet & Discovery → Agents → Install Agent.
- Select the Infra App you enabled for AI Agent Watch. If you need a new one, create an Infra App first.
- Select the operating system or deployment environment for your machine.
- Copy the token from the installation instructions.
Use this token when installing or configuring Sematext Agent.
Verifying data is flowing¶
After completing the setup, open the AI Agent Watch Overview screen for the App. You should see captured events - starting with an agent_session_started event - within a few minutes.

No AI Agents Detected Yet¶
Sematext Agent continuously discovers AI agents and automatically begins monitoring their activity. If none are running, no AI agent data will appear.
This is expected—and valuable. Leaving Sematext Agent running provides continuous visibility into your environment and gives you immediate awareness when new AI agents are introduced, whether intentionally or without authorization. Early detection helps identify potentially malicious, misconfigured, or high-risk AI agents before they become a security or compliance concern.
For the best coverage and strongest security posture, deploy Sematext Agent on as many hosts as possible. The broader your deployment, the greater the likelihood of discovering AI agents wherever they appear across your infrastructure.
Next steps¶
- Check Platform Support for available capabilities
- Explore Cost Tracking and configure cost alerts
- Review the captured events AI Agent Watch records
- Mark known agents and destinations as trusted to tune alerting
-
Review or customize the default PII categories and alert rules
-
Review the default governance policies or create your own, define their conditions and scope, and enable them on compatible hosts to block the operations you want to restrict.