rai

Run AI Instructions directly from your terminal, scripts, and CI/CD pipelines.

cargo install rai-cli
Quick demo
In your terminal

Run AI in your shell — pipe and chain it like any Unix tool, from quick one-liners to structured markdown runbooks.

$ rai "whois github.com" Registrar: MarkMonitor Inc.
$ ls -a | rai "count all file size" Total: 42 files, 1.2 MB combined
$ rai --yes "Clean up feature flags.md" Removed 3 stale flags, 2 remain. See diff below.
In your scripts

Supercharge your project workflows with AI-powered scripts.

{ "scripts": { "test": "npm run test", "check": "rai rules-check.md & rai security.md" } }
In CI/CD

Drop any AI steps into your build pipeline.

steps: - run: npm install - run: npm run build - run: rai translate.md - run: npm run deploy