Cybersecurity

Cairn

An AI search engine that explores unknown problems, first tested on automated penetration testing.

Your data
Your choice: device or online
Coding needed
Developers only
Cost
Free, but needs an AI account
Runs on
Mac, Linux, Server
Computer
Works best on a powerful computer or one with a graphics card (GPU)
Checked by a personMostly for developers

What it does

Cairn is a general problem-solving engine. You give it a starting point and a goal, and it searches for a path between them when the path is unknown. Its makers describe penetration testing as the first area it has been tested on.

It works by keeping a shared board of facts (confirmed findings), intents (directions to explore), and hints (human judgment added at any time). AI agents read the board, decide what to try next, act, and write back new facts.

It supports AI coding assistant backends such as Claude Code, Codex, and Pi. It can run workers inside Docker containers or directly on your own machine in a local mode.

Who it's for

Security researchers and technical users who want an AI engine for tasks like authorized penetration testing, CTF challenges, or vulnerability research.

Can I use it without coding?

Developers only. It needs Python, command-line tools, and either Docker or installed AI CLIs to set up and run. New to this? Start here.

Can I run it?

Cost
Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
Runs on
Mac, Linux, Server
Computer
Works best on a powerful computer or one with a graphics card (GPU)
Privacy
Your choice: run it on your device or use an online service
API key
Needed. An API key is a password-like code from an online AI service. What's that?

Try it

  1. Make sure you have macOS or Linux, Python 3.12 or newer, and Docker if you want container mode
  2. Copy the example config file and fill in your AI provider endpoints and API keys
  3. Start the server and dispatcher using the commands in the README

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (AGPL-3.0): Free to use; if you run a changed version as an online service, you must share your source code.
  • Keep your API key private. Never paste it into websites or share it, and set a spending limit with the AI service.
  • More on staying safe