Skip to main content

VS Code Extension

The FrootAI VS Code extension integrates the full FrootAI ecosystem into your editor โ€” browse solution plays, discover primitives, configure MCP tools, and run evaluations without leaving VS Code.

Installationโ€‹

Install from the VS Code Marketplace:

code --install-extension frootai.frootai-vscode

Or search for "FrootAI" in the VS Code Extensions panel (Ctrl+Shift+X).

:::info VS Code Protocol Link You can also install via protocol link:

vscode://github.copilot-chat/createAgent

:::

Featuresโ€‹

Solution Play Browserโ€‹

Browse all 100 solution plays with filtering by category, complexity, and WAF alignment:

  • Play details โ€” architecture, services, config, evaluation metrics
  • Init DevKit โ€” scaffold a new play from any template
  • User guides โ€” step-by-step implementation instructions
  • Cost estimation โ€” monthly cost breakdown by environment

Primitive Catalogโ€‹

Discover and browse all 830+ FAI primitives:

CategoryCountDescription
Agents238AI personalities with tools and WAF alignment
Instructions176Auto-applied coding standards
Skills322Multi-step procedures
Hooks10Event-driven guardrails
Plugins77Themed primitive bundles
Workflows13Multi-agent orchestration

MCP Integrationโ€‹

Built-in MCP server configuration for Copilot Chat โ€” access 25 FrootAI tools directly from your conversations.

Evaluation Dashboardโ€‹

Run and visualize quality gate evaluations:

  • Groundedness, coherence, relevance, fluency scores
  • Historical trend tracking
  • Pass/fail status per play

Commandsโ€‹

CommandDescription
FrootAI: Browse Solution PlaysOpen the play browser
FrootAI: Browse PrimitivesOpen the primitive catalog
FrootAI: Init PlayScaffold a new solution play
FrootAI: Validate PrimitivesRun npm run validate:primitives
FrootAI: Run EvaluationEvaluate a play's quality gates
FrootAI: Estimate CostCalculate Azure costs for a play

Access commands via Ctrl+Shift+P and type "FrootAI".

Settingsโ€‹

Configure the extension in VS Code settings:

.vscode/settings.json
{
"frootai.playsDirectory": "solution-plays",
"frootai.showWAFIndicators": true,
"frootai.autoValidateOnSave": false,
"frootai.mcpServerPath": "mcp-server/index.js"
}
SettingDefaultDescription
playsDirectorysolution-playsPath to solution plays
showWAFIndicatorstrueShow WAF pillar indicators in play browser
autoValidateOnSavefalseRun validation on file save
mcpServerPathmcp-server/index.jsPath to MCP server entry point

Versionโ€‹

Current version: v2.0.0, synced with 100 plays and all primitives.

See Alsoโ€‹