Open Source · A2UI Protocol · Plug & Play

Build
Agent-Driven
Interfaces
10× Faster

Freesail is the open-source SDK that lets your AI agents dynamically drive rich user interfaces — without writing a single line of UI code.

Designed for enterprise & product teams · by Thendral AI


import { ReactUI } from 'freesail';
import { StandardCatalog } from '@freesail/catalogs';
//Agent renders UI according to chat context & responds to actions.
//You just provide the UI slot.
const App = () => (
  <ReactUI.FreesailProvider
    gateway = "/gateway"
    catalogDefinitions = "[StandardCatalog]">
    ...
  </ReactUI.FreesailProvider>
);
Plug & Play Architecture
Secure UI Rendering
Instant Validation
Tools Included Build Faster

Why Freesail?

Empower AI agents
to own the UI layer

Say goodbye to walls of text. Give AI agents a safe, structured channel to render rich UI components that capture user attention, in real-time.

Agent-Driven UI

Let your AI agents generate dynamic, interactive UI in real time. Agents get the tools to drive UI on connecting to Freesail Gateway, and are guided by prompts and notifications.

Contract-First Safety

Agents select UI capabilities from a validated JSON catalog (A2UI Catalog) — not raw code. Zero hallucination risk, guaranteed layout integrity, enterprise-grade reliability.

Batteries Included

Deploy the Freesail Gateway, plug in your LLM agent (LangChain, etc.), wire up the React Provider. Full streaming, offline queueing, and bidirectional interactions — out of the box.

Bring Your Own UI

Register custom components with Freesail, apply your brand styles and themes, then let agents render them on demand. Build once, reuse — or distribute your component library.

Architecture

Three nodes.
Infinite possibilities.

Freesail's proven 3-node design cleanly separates concerns — keeping your AI logic, validation layer, and presentation layer independently scalable and maintainable.

01

Agent

The decision-making brain (e.g., LangChain or crewAI agent). Uses the Freesail Gateway's MCP Prompts, Tools and Resources to learn about A2UI on the fly and composes A2UI messages in JSON format to be rendered by the Freesail ReactUI front-end.

02

Gateway

Standalone MCP + Express server. Validates agent output against the catalog schema, streams A2UI messages from the agent to the front-end, and routes user actions from the front-end back to the agent.

03

Front-end

The stateful React presentation layer. Uses Freesail ReactUI to render A2UI JSON messages into UI components, manages the local data model, and ensures a seamless, responsive user experience.

Ready to give your agents a face?

Get started in minutes with our quickstart guide, or reach out to our team for a demo.

Get Started Contact Us