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
# MCP Server β add AI tooling to any MCP-compatible agent
npx frootai-mcp@latest
# SDK β programmatic API for Node.js / TypeScript
npm install frootaiStep 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"]
}
}
}π‘
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 01This 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 wiringStep 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 --statusExpected 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
});βΉοΈ
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
Last updated on