Freesail achieves highly performant A2UI via a 3-node architecture:
- The Agent: The “brain” of the operation (e.g., LangChain) that makes
decisions about what UI to display via Model Context Protocol (MCP)
tools.
- Freesail Gateway: A standalone MCP
and Express server that validates the agent’s
output against the catalog schema and seamlessly streams A2UI messages
to the client, and user actions back to the agent.
- Freesail Renderer: The stateful presentation layer that translates the
incoming A2UI messages into actual UI components (currently React),
manages the local data model, and handles offline queueing and user
interactions.