Architecture

How Leafy Works

A high-level overview of how the pieces connect to help you build faster.

Roblox Studio Plugin

Streams live context from your Studio project—selected objects, script contents, hierarchy, and console output—directly to Leafy in real-time.

Available

Leafy Web App

Modern chat interface with workflow controls and project management. Where you interact with Leafy and see changes as they're applied.

Available

Backend Services

Handles AI model calls (Claude, GPT), verification checks, code analysis, and orchestrates the entire workflow securely with encryption.

Available
Workflow

The Leafy Workflow

From request to applied code in three simple steps.

Available
01

Studio Context

Leafy understands what you're working on by analyzing selected objects, scripts, project structure, and recent changes in real-time.

Available
02

AI Generation

Generate Luau modules, systems, UI components, and fixes based on your request. Leafy understands Roblox APIs, Luau syntax, and your project patterns.

Available
03

Safe Application

Apply directly to Studio with guardrails to verify changes match your intent. Changes queue automatically if Studio is in play mode.

Features

Core Capabilities

Everything you need to build faster and safer.

Available

Instant Code Application

Changes apply directly to your Roblox Studio project with a single click.

Available

Code Preview

Preview code changes with syntax highlighting before they land in your game.

Available

Live Context Streaming

Real-time synchronization between Studio and Leafy keeps context up-to-date.

Available

Safety Guardrails

Built-in verification checks and change queuing prevent accidental modifications.

What Leafy Sees

The plugin streams project context to help Leafy understand your codebase:

  • Selected objects and their properties
  • Script contents from relevant modules
  • Complete project hierarchy and structure
  • Recent changes and modifications
  • Console output and error messages
  • Module dependencies and relationships

Leafy uses this context to generate code that fits your project structure and follows your existing patterns.

What Leafy Won't Do

  • Leafy is not a substitute for verifying code. Always verify suggestions and applied changes.
  • You stay in control of what gets applied. Nothing changes without your approval.
  • Leafy won't install frameworks automatically. You must install dependencies manually.