Scaffold projects, search knowledge, estimate costs, and validate configs β all from the terminal.
Ships with the MCP Server package. No extra install needed.
No install needed β runs via npx
npx frootai <command>
Or if you've installed frootai-mcp globally: just frootai <command>
frootai initInteractive project scaffolding. 3 questions β complete FrootAI project.
$ npx frootai init π³ FrootAIβ’ CLI v3.1.2 From the Roots to the Fruits Let's set up your FrootAI-powered project! What are you building? 1) Enterprise RAG (document Q&A, knowledge base) 2) AI Agent (multi-step reasoning, tool calling) 3) AI Gateway (API management, cost control) 4) Content Moderation (safety, compliance) 5) Multi-modal (vision, document intelligence) 6) Custom (pick from 20 solution plays) Choose [1-6]: 1 Target scale? 1) dev β Local development, minimal cost 2) prod β Production, high availability Choose [1-2]: 1 Project name [my-ai-project]: my-rag-app
What gets created
my-rag-app/ ββ β .vscode/mcp.json β MCP server auto-connects in VS Code βββ .github/ β βββ agents/ β Builder, Reviewer, Tuner agent definitions β βββ copilot-instructions.md β βββ instructions/ βββ config/ β βββ openai.json β Model, temperature, max_tokens β βββ search.json β Azure AI Search settings β βββ guardrails.json β Safety + PII + grounding rules βββ evaluation/ β βββ eval-config.json β Groundedness, relevance thresholds βββ infra/ β Infrastructure templates βββ README.md
Then: cd my-rag-app && code . β FrootAI MCP auto-connects, agents are ready.
frootai scaffold <play>One-command play scaffold. Creates all 5 FROOT kits + froot.json manifest.
$ npx frootai scaffold 01-enterprise-rag # or shorthand: $ npx frootai scaffold play-01 π³ FrootAIβ’ CLI v3.1.2 Scaffolding play: 01-enterprise-rag β Play scaffolded: 01-enterprise-rag Files created: .vscode/mcp.json β MCP auto-connect .github/agents/ β Builder + Reviewer + Tuner .github/instructions/ β 5 WAF instruction files config/ β OpenAI + Search + Guardrails evaluation/ β Eval config + thresholds spec/play-spec.json β SpecKit (WAF alignment) froot.json β Play manifest (5 kits)
Auto-detects existing projects and merges files. Includes froot.json manifest linking all 5 kits.
frootai search <query>Search the FrootAI knowledge base (16 FROOT modules) from the terminal.
$ npx frootai search "RAG architecture"
Searching: "RAG architecture"
Found 3 result(s):
π R2 β RAG Architecture & Retrieval
Layer: Reasoning
π O4 β Azure AI Platform & Landing Zones
Layer: Orchestration
π T3 β Production Architecture Patterns
Layer: Transformationfrootai cost [play] --scale <dev|prod>Estimate Azure infrastructure costs for any solution play at dev or prod scale.
$ npx frootai cost enterprise-rag --scale prod Cost Estimate: enterprise-rag (prod) Service | Cost ββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββ AI Search | $250/mo (S1) OpenAI (GPT-4o) | ~$150/mo (moderate) App Service | $55/mo (B1) Storage | $0.02/GB/mo Cosmos DB | $25/mo (400 RU/s) Total estimate | ~$500-800/mo
frootai validateCheck that your project has the right structure, configs, and MCP setup.
$ npx frootai validate β MCP config β .vscode/mcp.json β Copilot instructions β .github/copilot-instructions.md β Builder agent β .github/agents/builder.agent.md β Reviewer agent β .github/agents/reviewer.agent.md β Tuner agent β .github/agents/tuner.agent.md β OpenAI config β config/openai.json β Guardrails config β config/guardrails.json β MCP server configured: frootai 8/8 checks passed
frootai doctorHealth check for your development environment β verifies Node.js, npm, git, VS Code, and MCP connectivity.
$ npx frootai doctor β Node.js v22.0.0 (>= 18 required) β npm 10.8.0 β git version 2.45.0 β VS Code 1.96.0 β .vscode/mcp.json found β .github/agents/ found β frootai-mcp available on npm
frootai version$ npx frootai version frootai-mcp v3.1.2
ββββββββββββββββββββββββββββββββββββββββββββββββ
β npx frootai init β
β βββ Scaffolds project structure β
β βββ Creates .vscode/mcp.json β
β βββ Creates .github/agents/ (3 agents) β
β βββ Creates config/ (3 config files) β
ββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββ
β code . β
β βββ VS Code reads .vscode/mcp.json β
β βββ Auto-starts frootai-mcp server β
β βββ 22 tools available to Copilot β
ββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββ
β @builder / @reviewer / @tuner β
β βββ Copilot agents use MCP tools β
β βββ Architecture patterns, cost est, β
β config validation, play search β
ββββββββββββββββββββββββββββββββββββββββββββββββ