FrootAI User Guide
The complete guide to using FrootAI — from first install to production deployment.
1. Getting Started
Step 1: Install the VS Code Extension
bashcode --install-extension frootai.frootai-vscode
Or search "FrootAI" in the VS Code Extensions Marketplace.
Step 2: Browse the Knowledge Hub
Open the sidebar → FROOT Modules panel to explore 16 knowledge modules across 5 layers:
| Layer | Modules | Focus |
|---|---|---|
| 🌱 Foundations | GenAI, LLM Landscape, AI Glossary, Agentic OS | Core AI concepts |
| 🪵 Reasoning | Prompt Engineering, RAG, Deterministic AI | Making AI reliable |
| 🌿 Orchestration | Semantic Kernel, AI Agents, MCP & Tools | Building agents |
| 🍃 Operations | Azure AI, Infrastructure, Copilot Ecosystem | Platform & infra |
| 🍎 Transformation | Fine-Tuning, Responsible AI, Production Patterns | Production readiness |
Step 3: Init DevKit
Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P) → FROOT: Init DevKit
This scaffolds the .github/ Agentic OS into your project:
agent.md— Agent behavior rulescopilot-instructions.md— Copilot context- Prompt files, CI workflows, and config templates
Step 4: Init TuneKit
Command Palette → FROOT: Init TuneKit
Adds tunable configuration files:
config/agents.json— Agent routing and parametersconfig/model-comparison.json— Model selection criteriaconfig/guardrails.json— Safety and content limitsevaluation/— Golden sets and scoring scripts
Step 5: Deploy
Command Palette → FROOT: Deploy Solution
Packages your configured play for deployment. Output depends on the selected solution play.
2. Using the VS Code Extension
2.1 All Commands
Open Command Palette and type FROOT: to see all available commands:
| Command | Description |
|---|---|
| FROOT: Browse Modules | Open the knowledge hub and browse all 16 modules |
| FROOT: Search Knowledge | Full-text search across all modules |
| FROOT: Lookup Term | Look up any AI term in the glossary (200+ terms) |
| FROOT: Init DevKit | Scaffold .github Agentic OS files into your project |
| FROOT: Init TuneKit | Add config and evaluation files |
| FROOT: Show Solution Plays | Browse all 20 solution plays with status |
| FROOT: Open Play | Open a specific play's folder |
| FROOT: Deploy Solution | Package and deploy the current play |
| FROOT: Show MCP Tools | View documentation for all 16 MCP tools |
| FROOT: Read User Guide | Open this guide in the editor |
| FROOT: Show Architecture | Display system architecture diagram |
| FROOT: Show Changelog | View version history |
| FROOT: Check Updates | Check for new versions of all components |
2.2 Sidebar Panels
The FrootAI sidebar (click the 🌱 icon) has these panels:
- FROOT Modules — Expandable tree of all 16 knowledge modules, color-coded by layer
- Solution Plays — All 20 plays with status badges (Ready / In Progress)
- MCP Tools — Documentation for all 16 MCP server tools, grouped by type
- Quick Actions — One-click access to common commands
2.3 Standalone Mode
The extension works offline with bundled knowledge. It caches downloaded content in globalStorage with a 24-hour TTL. No internet required for core functionality.
3. Using the MCP Server
3.1 What is the MCP Server?
The FrootAI MCP Server exposes 23 tools that any MCP-compatible AI agent can call. It adds AI architecture knowledge to your agent's capabilities.
3.2 Setup
Add to your .vscode/mcp.json:
json{
"servers": {
"frootai": {
"command": "npx",
"args": ["frootai-mcp"]
}
}
}
3.3 Tool Reference
Static Tools (bundled knowledge)
| Tool | What it does | Example query |
|---|---|---|
get_module | Retrieve a full knowledge module | "Get the RAG Architecture module" |
list_modules | List all 16 modules with metadata | "What modules are available?" |
search_knowledge | Full-text search across all content | "Search for vector databases" |
lookup_term | Look up a term in the AI glossary | "What is LoRA?" |
Live Tools (real-time retrieval)
| Tool | What it does | Example query |
|---|---|---|
fetch_azure_docs | Fetch current Azure documentation | "Get Azure AI Search pricing" |
fetch_external_mcp | Query external MCP registries | "Find MCP servers for databases" |
Chain Tools (multi-step workflows)
| Tool | What it does | Example query |
|---|---|---|
agent_build | Generate a new agent scaffold | "Build an IT ticket resolution agent" |
agent_review | Review an agent's configuration | "Review my agent.md for security issues" |
agent_tune | Optimize agent parameters | "Tune my agent for lower latency" |
AI Ecosystem Tools
| Tool | What it does | Example query |
|---|---|---|
get_architecture_pattern | Get architecture patterns for a scenario | "Pattern for multi-agent RAG" |
get_froot_overview | Overview of the FrootAI platform | "What is FrootAI?" |
get_github_agentic_os | Explain the .github Agentic OS | "What files does DevKit create?" |
list_community_plays | Browse community solution plays | "Show me community plays" |
get_ai_model_guidance | Model selection guidance | "Compare GPT-4o vs Claude 3.5" |
3.4 Using in Copilot Chat
In VS Code with GitHub Copilot, you can invoke MCP tools naturally:
@workspace Use frootai to search for "semantic kernel orchestration"
@workspace Use frootai to get the RAG Architecture module
@workspace Use frootai agent_build to create an IT ticket agent
4. Solution Plays
4.1 What is a Solution Play?
A solution play is a pre-configured scenario accelerator. Each play includes:
- README.md — Overview, architecture, deployment steps
- DevKit (
.github/Agentic OS) — Agent rules, copilot instructions, prompts, CI - TuneKit (
config/+evaluation/) — Tunable parameters and quality benchmarks
4.2 Available Plays (20)
| # | Play | Category |
|---|---|---|
| 01 | IT Ticket Resolution | IT Operations |
| 02 | Customer Support Agent | Customer Service |
| 03 | Code Review Assistant | Development |
| 04 | Security Incident Response | Security |
| 05 | Knowledge Base FAQ | Knowledge Management |
| 06 | Onboarding Assistant | HR / People |
| 07 | Sales Intelligence | Sales |
| 08 | Compliance Checker | Governance |
| 09 | Data Quality Monitor | Data Engineering |
| 10 | Infrastructure Health | Platform / SRE |
| 11 | Cost Optimization Advisor | FinOps |
| 12 | Release Notes Generator | DevOps |
| 13 | API Documentation Writer | Documentation |
| 14 | Meeting Summarizer | Productivity |
| 15 | Competitive Analysis | Strategy |
| 16 | Training Content Creator | Learning |
| 17 | Change Management | ITSM |
| 18 | Document Processor | Document AI |
| 19 | Multi-Agent Orchestrator | Agent Platform |
| 20 | Custom Play Template | Template |
4.3 Choosing a Play
Use the Solution Configurator at /configurator — answer 3 questions and get a recommendation. Or use the AI Assistant at /chatbot.
4.4 Customizing a Play
FROOT: Init DevKitto scaffold the play's .github files- Edit
agent.mdto adjust behavior rules FROOT: Init TuneKitto add config parameters- Tune
config/agents.jsonfor your scenario - Run evaluation against the golden set
5. DevKit Deep Dive
The DevKit scaffolds .github Agentic OS — a structured set of files that make your project agent-ready.
5.1 File Reference
| File | Purpose |
|---|---|
.github/agent.md | Primary agent behavior rules — scope, constraints, tools, error handling |
.github/copilot-instructions.md | GitHub Copilot context — project structure, conventions, key files |
.github/prompts/init.prompt.md | Initial prompt for bootstrapping the agent |
.github/prompts/review.prompt.md | Code review prompt template |
.github/prompts/deploy.prompt.md | Deployment preparation prompt |
.github/workflows/validate.yml | CI pipeline — structure validation, lint, test |
.github/ISSUE_TEMPLATE/bug.yml | Structured bug report template |
.github/ISSUE_TEMPLATE/feature.yml | Feature request template |
.github/pull_request_template.md | PR description template |
5.2 The 7 Primitives
The Agentic OS uses 7 composable primitives:
- Agent Rules (
agent.md) — Behavioral boundaries - Context (
copilot-instructions.md) — Project knowledge - Prompts (
prompts/*.prompt.md) — Reusable prompt templates - Workflows (
workflows/*.yml) — CI/CD automation - Templates (
ISSUE_TEMPLATE/,pull_request_template.md) — Structured collaboration - Config (
config/) — Tunable parameters - Evaluation (
evaluation/) — Quality benchmarks
6. TuneKit Deep Dive
6.1 Config Files
| File | Parameters |
|---|---|
config/agents.json | Agent routing, model selection, temperature, max_tokens |
config/model-comparison.json | Model capabilities, latency, cost comparison |
config/guardrails.json | Content filters, blocked topics, rate limits |
config/search.json | Search method (vector, hybrid, keyword), top_k |
config/chunking.json | Chunk size, overlap, strategy |
6.2 Tuning Workflow
- Review current config:
FROOT: Show Config - Adjust parameters based on your scenario
- Run evaluation:
python evaluation/evaluate.py - Compare scores against the golden set
- Iterate until quality targets are met
6.3 Evaluation
Each play includes:
evaluation/golden-set.jsonl— Expected inputs/outputs (5+ examples)evaluation/evaluate.py— Scoring script (accuracy, latency, safety)- Results output to
evaluation/results.json
6b. SpecKit Deep Dive
SpecKit provides architecture specifications and WAF (Well-Architected Framework) alignment for every solution play.
What's in SpecKit?
| File | Purpose |
|---|---|
spec/play-spec.json | Architecture pattern, WAF pillar scores, evaluation thresholds |
WAF Alignment (6 Pillars)
Every play is scored across the Azure Well-Architected Framework:
| Pillar | What it checks |
|---|---|
| Reliability | Retry policies, health probes, multi-region readiness |
| Security | Managed identity, private endpoints, RBAC, no API keys |
| Cost Optimization | Right-sized SKUs, autoscaling, reserved capacity |
| Operational Excellence | Diagnostic settings, Log Analytics, CI/CD |
| Performance | Caching, async patterns, connection pooling |
| Responsible AI | Content Safety, guardrails, bias monitoring |
CLI WAF Scorecard
bashnpx frootai validate --waf
Runs 17 checks across 6 pillars and shows per-pillar scores + failing items.
6c. Using the CLI
The FrootAI CLI (npx frootai) provides 8 commands for terminal-based workflows.
Commands
| Command | What it does |
|---|---|
npx frootai init | Interactive project scaffolding (auto-detects existing projects) |
npx frootai scaffold <play> | One-command play scaffold (e.g. scaffold play-01) |
npx frootai search <query> | Search across 16 knowledge modules |
npx frootai cost <service> | Estimate Azure AI service costs |
npx frootai validate | Run consistency checks across your project |
npx frootai validate --waf | WAF alignment scorecard (6 pillars, 17 checks) |
npx frootai doctor | Health check: Node.js, npm, VS Code, MCP config |
npx frootai help | Show all available commands |
Scaffold Command
One-command play scaffolding — creates all 5 FROOT kits + froot.json manifest:
bashnpx frootai scaffold 01-enterprise-rag
# or shorthand:
npx frootai scaffold play-01
Creates: .github/agents/, config/, spec/, evaluation/, froot.json, WAF instructions.
Auto-detects existing projects and merges files alongside yours.
6d. Using Docker
Run the FrootAI MCP Server as a container — no Node.js required.
Quick Start
bashdocker run -i --rm ghcr.io/frootai/frootai-mcp:latest
Client Configuration
Claude Desktop / Cursor:
json{
"mcpServers": {
"frootai": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/frootai/frootai-mcp:latest"]
}
}
}
VS Code Copilot (.vscode/mcp.json):
json{
"servers": {
"frootai": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/frootai/frootai-mcp:latest"],
"type": "stdio"
}
}
}
Multi-arch (amd64 + arm64). Same 23 tools, 682KB knowledge. Pinnable versions.
6e. Using the REST API
The FrootAI REST API provides 5 HTTP endpoints — no SDK or MCP client needed.
Base URL
https://frootai-chatbot-api.azurewebsites.net
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/chat | Chat with Agent FAI (AI assistant) |
| GET | /api/search?q=<query> | Search solution plays |
| GET | /api/cost?service=<name> | Estimate Azure AI costs |
| GET | /api/health | Health check |
| GET | /api/openapi.json | OpenAPI 3.1 specification |
Rate Limits
60 requests/minute per IP. Sliding window. Returns HTTP 429 when exceeded.
7. Agent Chain
The build → review → tune chain is a three-step workflow:
Step 1: Build (agent_build)
Generate a new agent scaffold based on your scenario description. Produces agent.md, config files, and evaluation templates.
Step 2: Review (agent_review)
Analyze the generated agent for:
- Security gaps
- Missing error handling
- Unclear scope boundaries
- Config completeness
Step 3: Tune (agent_tune)
Optimize parameters based on review findings and evaluation results. Adjusts temperature, model selection, guardrails, and routing.
Deploying a Solution Play
Deploy any play with one command:
bash# Deploy play 01 (Enterprise RAG)
./scripts/deploy-play.sh 01 --resource-group rg-frootai-dev
# Deploy play 05 (IT Ticket Resolution) without evaluation
./scripts/deploy-play.sh 05 --resource-group rg-frootai --skip-eval
The script: validates the play structure → deploys Azure infra via Bicep → copies config files → runs evaluation.
Exporting FROOT Knowledge as Copilot Skills
Make any FROOT module available as a GitHub Copilot skill:
bash# Export a single module
./scripts/export-skills.sh F1
# Export all 16 modules
./scripts/export-skills.sh --all
This creates .github/skills/<module-id>/SKILL.md + README.md that Copilot reads automatically.
Knowledge Auto-Update
The MCP server can auto-refresh its knowledge:
- Bundled knowledge.json is checked every 7 days
- If stale, fetches latest from GitHub automatically
- Falls back to bundled version if offline
To manually rebuild: ./scripts/rebuild-knowledge.sh
8. FAQ
Q: Does FrootAI require an internet connection?
A: Core functionality works offline. The VS Code extension bundles knowledge locally. Live tools (fetch_azure_docs, fetch_external_mcp) require connectivity.
Q: Which AI models does FrootAI support?
A: FrootAI is model-agnostic. Solution plays can be configured for any model in config/agents.json. The knowledge modules cover GPT-4o, Claude, Gemini, Phi, Llama, and more.
Q: Can I use FrootAI without VS Code? A: Yes. The MCP server works with any MCP-compatible client (Claude Desktop, Cursor, Windsurf, Azure AI Foundry). The website is accessible via browser.
Q: How do I add a custom solution play? A: See the Contributor Guide for step-by-step instructions.
Q: Is FrootAI free? A: Yes. FrootAI is 100% open source under the MIT license.
Q: How do I report a bug? A: Open an issue on GitHub using the bug report template.
Q: How often is the knowledge base updated? A: Knowledge modules are updated with each release. The changelog tracks all content changes.
Next: Admin Guide · Contributor Guide · API Reference