Quick Start
Go from zero to a working FrootAI environment in under 5 minutes.
Prerequisitesβ
- Node.js 18+ β nodejs.org (22+ recommended)
- Git β git-scm.com
- An AI-capable editor: VS Code with GitHub Copilot, Cursor, or Claude Desktop
Step 1 β Install FrootAIβ
- npm
- pip
- Docker
- VS Code
# MCP Server β add AI tooling to any MCP-compatible agent
npx frootai-mcp@latest
# SDK β programmatic API for Node.js / TypeScript
npm install frootai
# Python SDK β offline, zero dependencies
pip install frootai
# Python MCP Server
pip install frootai-mcp
# Zero-install MCP server
docker run -i ghcr.io/frootai/frootai-mcp
# Install the VS Code extension
code --install-extension frootai.frootai-vscode
Or search "FrootAI" in the VS Code Extensions panel.
Step 2 β Configure Your AI Agentβ
Add FrootAI as an MCP server in your editor's config:
mcp.json (VS Code / Claude Desktop / Cursor)
{
"mcpServers": {
"frootai": {
"command": "npx",
"args": ["frootai-mcp@latest"]
}
}
}
tip
This works with GitHub Copilot, Claude Desktop, Cursor, Windsurf, Azure AI Foundry, and any MCP-compatible client.
Step 3 β Init a Solution Playβ
Scaffold a complete DevKit for Enterprise RAG (Play 01):
npx frootai init-devkit 01
This generates the full play structure:
solution-plays/01-enterprise-rag/
βββ .github/ # DevKit: Copilot brain
β βββ copilot-instructions.md # Always-on context
β βββ agents/ # builder, reviewer, tuner
β βββ instructions/ # Coding standards
β βββ skills/ # Step-by-step procedures
β βββ hooks/ # Security guardrails
βββ config/ # TuneKit: AI parameters
β βββ openai.json # Model + temperature
β βββ guardrails.json # Quality thresholds
βββ infra/ # Azure Bicep templates
βββ spec/ # Architecture decisions
βββ fai-manifest.json # FAI Protocol wiring
Step 4 β Run Your First Evaluationβ
Validate that all primitives are correctly wired:
# Validate schemas, naming, and frontmatter
npm run validate:primitives
# Load the play in the FAI Engine
node engine/index.js solution-plays/01-enterprise-rag/fai-manifest.json --status
Expected output:
π FAI Engine v0.1
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Play: 01-enterprise-rag v1.0.0
Knowledge: 2 FROOT modules
WAF: 3 pillars enforced
Guardrails: groundednessβ₯0.95, safetyβ₯0.99
β
All primitives wired, context resolved
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Step 5 β Explore with the SDKβ
import { FrootAI } from 'frootai';
const fai = new FrootAI();
// Search across all knowledge modules
const results = fai.search('RAG architecture');
// Get play details
const play = fai.plays.get('01');
console.log(play.title); // "Enterprise RAG Q&A"
// Run evaluation quality gates
fai.evaluation.run({
groundedness: 0.95,
relevance: 0.88,
safety: 1.0
});
info
The SDK works offline with zero external dependencies β all knowledge is bundled.
What's Next?β
- Installation β all distribution channels and prerequisites
- Your First Solution Play β deploy Play 01 to Azure
- FAI Protocol β understand the wiring specification
- Primitives β the 6 building block types
- Solution Plays β browse 100 pre-built architectures