Detections as code are code. Agents write and tune them.
Cotool detections are Python code that runs against both centralized and federated data sources. Your team edits them in a notebook alongside detection engineering agents that tune your library and write new detections continuously.
Detections optimized for agents
Every detection under the hood is pure code, what agents write best. A single detection can model baselines and deviations, call any tool in your stack, and apply any deterministic logic you want. Detection code is mapped to a dead-simple visual workflow, so the logic is clear to the entire team.
WINDOW_MIN 10 · MIN_DENIES 5cotool_logs.okta for denied Okta Verify pushesEvery detection, tuned automatically
Agents investigate every alert, and each verdict feeds back into the detection that fired it. False positives get tuned out on their own, so your queue only holds what needs a human and you can ship new detections without bracing for noise.
Detect on data you don't store
A detection can run against logs in Cotool or directly against the tools where your data already lives. You don't have to ingest a source to cover it. Store what needs fast search and long retention, and write detections against the rest where it is.
Start with coverage, then close the gaps
Cotool comes with a library of detections across common log sources, automatically tuned to your environment by agents. Cotool maps your entire detection suite onto the MITRE ATT&CK framework, prioritizing gaps and creating new contextualized detections for any tactic or technique.


Scale detection in a completely new way
See how teams run continuous detection across live logs without writing rules for every edge case
Book a demoExtended Features
GitOps
Keep detections in your own repository. Review changes in pull requests and deploy through CI.
Write detections with your coding agent
Cotool's MCP server lets Claude Code, Codex, Cursor, or any agent harness write, test, and deploy detections from your editor.
New detections from threat hunts
Hunts and threat intel produce detection suggestions around the clock, ready for your review.
Detection observability built-in
Every detection run is logged and searchable. Re-enter any execution to view all tool inputs and outputs and ask follow up questions.
“It's enabled us to comfortably onboard new log sources and write rules around them without worrying that we're going to cause alert fatigue for the human detection engineers and analysts on the team.”