Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Farai

FreeMaintained

AI Harness for Security Assessments

GitHubEmbed

About

AI Harness for Security Assessments

README

Farai

Cyber-first local AI agent for terminal-driven security work.

npm version License: Apache-2.0 GitHub stars GitHub forks

Farai terminal demo

Farai is a local AI agent built for CTFs, lab automation, security research, and long-running technical workflows. It runs from the terminal, keeps sessions resumable, executes tools locally or inside a Kali Docker runtime, and preserves tool output, artifacts, usage, and evidence so work can be reviewed instead of only trusted from a final answer.

For CSI/CyBench materials and exploratory benchmark artifacts, see farai-csi-bench.

Installation

bun install -g farai@latest

Requirements:

  • Bun 1.1+
  • Docker
  • A model provider/API key, unless using an already configured default provider

Setup

Configure Farai and prepare the local runtime:

farai setup

Usage

Open the interactive:

farai

Config and auth files live under:

~/.local/pajarori/farai/

Farai checks the separate farai-data content channel before opening the TUI. Each commit to that repository is built into an immutable, commit-pinned bundle; when a validated bundle publishes new knowledge or skills, Farai asks before downloading it. The current content can be inspected or managed without starting a session:

farai update status
farai update check
farai update apply
farai update rollback

Set FARAI_CONTENT_MANIFEST_URL for a private channel or local file:// manifest, and FARAI_CONTENT_DIR to isolate the local content store. Set FARAI_DISABLE_CONTENT_UPDATE=1 to disable the channel.

Run Farai's hermetic agent-loop regression suite without model credentials or Docker:

farai eval --stream

Custom JSON suites can assert responses, events, stop reasons, tool selection, tool argument subsets, tool order, and error budgets:

farai eval examples/eval-suite.json --output eval-result.json

Status

Farai is under active development.

The current defensible claim is that Farai has substantial implementation validation and an evidence-oriented agent architecture. Stronger claims require clean benchmark campaigns, stronger isolation, canonical scoring, and larger empirical evaluations.

Early benchmark artifacts should be treated as exploratory unless the run artifact, oracle, isolation policy, model selection, and challenge materials are frozen and auditable.

License

Apache License 2.0

from github.com/pajarori/farai

Install Farai in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install farai

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add farai -- npx -y farai

Step-by-step: how to install Farai

FAQ

Is Farai MCP free?

Yes, Farai MCP is free — one-click install via Unyly at no cost.

Does Farai need an API key?

No, Farai runs without API keys or environment variables.

Is Farai hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Farai in Claude Desktop, Claude Code or Cursor?

Open Farai on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Changes

Versions and requested access over time.

  • New version published
  • New version published

Related MCPs

Compare Farai with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs