article hero
Cyber

CAI: the framework behind cybersecurity AI

Date Published

Models in this article · 5View all models →
Back to all posts

The paper appeared on 8 April 2025 with a claim that read like marketing: most cybersecurity work would be autonomous by 2028. Its authors, at the Spanish robotics firm Alias Robotics, shipped the claim with code — an open-source framework called CAI, for Cybersecurity AI, that let a language model drive security tools through a structured agent loop.

Today the phrase is a research domain with its own benchmark, an 18-terabyte dataset and a paid commercial tier. The repository that started it is read-only: GitHub marked aliasrobotics/CAI archived on 28 August 2026, and Alias folded the framework into a successor called CSI.

That sequence — name a field, then get absorbed by it — is the most useful thing about CAI.

A library, not a harness

CAI was a Python command-line tool. Underneath sat LiteLLM, the adapter layer that lets one codebase call 300-plus models, from Claude and GPT to local weights on your own hardware. On top sat an agent runtime with what a security workflow needs: tools, handoffs between agents, reusable patterns, tracing, human-in-the-loop checkpoints and guardrails.

The docs carried a six-level taxonomy of autonomy, from a human doing the work to an agent running unsupervised. That taxonomy outlived most of the code.

The design choice worth noting is what CAI lacked: a fixed execution loop, the kind an opinionated pentest harness hard-codes. The May 2026 paper describing its successor calls CAI a constrained-Python tool registry with a hard $10 per-run cost cap and a 100-turn ceiling. You brought the model; the framework supplied the tools and the boundaries.

Where the air gap actually was

The free edition ran on those 300-plus models, licensed for research. Commercial use came with CAI PRO at €350 a month or €3,990 a year: a commercial licence, hosted alias models under licence-defined token limits, and features the vendor says arrive six or more months before the open-source build.

On-premise deployment sat above that, priced by negotiation for governments and critical infrastructure, with air-gapped alias models on customer hardware. The air gap was never free; it was the top of the ladder.

The licence was mixed. Agent code derived from OpenAI's agents SDK carried MIT terms; other additions were proprietary and licensed for research only. GitHub labels the repository "MIT + Proprietary," which is accurate and also why the free path was never a commercial one.

The numbers the project left

Alias reported that CAI ran up to 3,600 times faster than humans on specific capture-the-flag tasks, 11 times faster on average, at roughly 156 times lower cost, placing top 20 in a live AI-versus-human CTF. Those are vendor figures from the April 2025 paper; the 3,600× rests on a narrow set of tasks.

CAIBench, published 28 October 2025, is the more sober instrument: more than 10,000 instances across jeopardy CTFs, attack-and-defence CTFs, cyber ranges, knowledge tests and privacy assessments. Models score around 70% on knowledge questions and fall to 20–40% on multi-step adversarial work, with robotic targets near 22%. How a model pairs with a scaffold moves attack-and-defence results by up to 2.6×.

Announced 25 June 2026, the dataset covers 230,935 sessions, 26,027,742 operator messages and 18.07 TB collected over 428 days from 16,768 IPs in 123 countries, with 4,187 model identifiers run against 23,147 domains. Anthropic models carried 20.79% of calls, OpenAI 20.00%, Alias's own models 16.89%.

The test that cut against the pitch

In May 2026 the same authors published a harness comparison less flattering to their first framework. With the model fixed at alias2-mini and 33 Cybench challenges, CAI solved 7. Codex and Claude Code solved 15 each, a compact scaffold called GCAI solved 10, and a blackboard design that let all of them write to shared notes solved 19, at about $5,480 for the run.

CAI was the cheapest scaffold and the weakest, with no solves at the hard end. That does not contradict the vendor's 751-to-286 attack-and-defence score against Claude Code and Codex, because the tests differ in model, budget and step cap. It says something more useful: neither framework nor model decides the outcome alone.

Three layers people confuse

CAI shares paragraphs with ARTEX and Cantina, and the three do not compete.

ARTEX was an opinionated offensive harness: a Go backend with a planner and parallel workers, findings bound to the traffic that proved them. It appeared in July 2026 and its author withdrew it on 8 October, 74 days after the first commit, after GitGuardian traced real-world abuse. Maintained forks still run; Google's threat intelligence group reported on 30 October 2026 that actors had used it alongside Hexstrike and Cairn.

CAI sat one layer down: a framework you built a harness with, not a harness with a fixed loop, and it covered defensive work and robotics alongside offence.

Cantina sits a layer up. It is an agentic security platform running bug bounties and code-review competitions for Coinbase, Uniswap, Aave, Morpho and Optimism, with a $15.5M Uniswap programme listed. You buy judged outcomes and human-plus-agent review, not an installable framework.

Library, harness, marketplace. A choice at one layer is not a choice at another.

Why it ended as a component

CSI — Cybersecurity Superintelligence — routes Claude Code, Codex, CAI, GCAI and Mistral behind one command-line tool, a local proxy and a multi-agent blackboard. CAI became CSI::CAI, one scaffold among five.

The usual fate of a general framework: it stays neutral about the loop, and the market rewards scaffolds that optimise one. Alias kept the part that could not be forked — the models and hosted stack — and released the rest.

The model you plug in

Which model sits behind the registry still decides most of what an agent can do — CAIBench's 2.6× pairing variance is that fact measured.

OrcaCyber Flash 1.0 and MiMo V2.6 Flash run at $0.80 and $1.60 per million tokens with a 1M-token context window, and access is provisioned by passkey for vetted engagements, so an authorised team can point a CAI-style loop at frontier offensive capability.

OrcaPod meters agent-hours rather than tokens and locks the price for twelve months, which suits long engagements where the framework, not the prompt, sets the workload.

What survives the archive

The archive is not a deletion. The PyPI package cai-framework reached 0.5.10 in December 2025, forks remain, and the trajectory format behind the dataset — typed operator, tool-call, observation and revision turns mapped to a harness-neutral protocol — is now a template for security agent data collection.

What is worth keeping from CAI is the discipline rather than the code: a cost cap per run, a step ceiling, a checkpoint where a human can stop the loop, and an autonomy ladder saying which of those you may skip. Those survive in CSI, and they are the questions to ask of any framework that replaces it.

Sources: Mayoral-Vilches et al., "CAI: An Open, Bug Bounty-Ready Cybersecurity AI," arXiv:2504.06017, 8 April 2025; Sanz-Gómez et al., "Cybersecurity AI Benchmark (CAIBench)," arXiv:2510.24317, 28 October 2025; Mayoral-Vilches et al., "Towards Cybersecurity SuperIntelligence (CSI): What's the best harness for cybersecurity?," arXiv:2605.28334, 31 May 2026; Alias Robotics, CAI Dataset announcement, 25 June 2026; Alias Robotics CAI product page (tiers, pricing, vendor claims), accessed 1 December 2026; aliasrobotics/CAI repository and archive notice, 28 August 2026; GitGuardian, "Beyond ARTEX," October 2026; Google Threat Intelligence Group, ARTEX and agentic offensive frameworks, 30 October 2026; Cantina bounty platform pages, accessed 1 December 2026.

Data card from the articleData card from the articleData card from the article