0.3.9

ExVoix

Agentic Web implementation using Phoenix.LiveView

About VOIX framework and MCP-UI (The Core of ExVoix)

The VOIX framework is a new, web-native, declarative framework that allows website developers to explicitly define available actions and relevant data for AI agents using simple HTML elements. This approach aims to create a more efficient, secure, and privacy-preserving collaboration between humans and AI on the web.

MCP-UI is an open-source standard and SDK that extends the basic MCP protocol, allowing AI agents to render rich, interactive web components (like forms, product selectors, maps) directly within chat interfaces or any app user interfaces, moving beyond text-only responses to create dynamic, rich UI / UX for complex tasks like shopping or booking.

Core Concept

The primary challenge the VOIX framework addresses is the difficulty AI agents currently have in interpreting complex, human-oriented web interfaces. Existing methods often rely on visual interpretation or DOM parsing, which can be slow and unreliable. VOIX provides a machine-readable "contract" for agents, allowing them to understand a website's functionality without needing to visually interpret its design.

The collaboration between VOIX framework, MCP-UI and Phoenix LiveView will bring the powerful interaction between AI and human.
The VOIX framework is displaying the capabilities of the website, informing to AI Agent what kind of actions can be done from website point of view. The MCP-UI will bring rich interaction to the AI Agent user, displaying Web UI as the resources of the website. And the phoenix framework is the underlying technologies that can bind all the components together.

Key Features and Mechanics

Declarative HTML Elements: VOIX introduces two main HTML tags:

<tool>: Used by developers to define specific actions an AI agent can perform on the site, such as "add to cart" or "book a flight".

<context>: Used to explicitly provide relevant state or information to the agent, such as product details or current user status.

MCP and MCP-UI:

Model Context Protocol (MCP): The underlying system connecting AI agents to external tools and data, for this setup, the mcp will be running in the server side, bring more security to the user and the system.

MCP-UI: An extension to MCP, providing a way to send interactive UI elements.

UIResource: The core object defining the UI content (HTML, URL, Remote DOM and JS Command from Phoenix Liveview) to be delivered, actioned and displayed.

Client SDK: How the UIResource will be delivered and displayed to the users by Phoenix LiveView and MCP-UI client renderer.

Improved Performance: By eliminating the need for complex visual inference or repeated verification loops, VOIX enables immediate feedback and significantly reduces latency for AI agent tasks, making interactions feel instantaneous.

Privacy and Security: The framework enhances user privacy by separating conversational AI interactions from the website itself, shifting control to the developer to specify exactly what information is shared with agents.

Developer-Friendly: Built on familiar web patterns and standard JavaScript event listeners, developers in an initial hackathon study found the framework easy to learn and use effectively.

Accessibility: By providing a clear, non-visual description of website actions, the framework can also streamline web browsing and make it more accessible for users with visual impairments.

Status and Adoption

The VOIX framework is a recent research development from researchers at TU Darmstadt and is part of a movement toward the "Agentic Web," where new standards are needed to facilitate reliable AI interaction. While initial studies show promising results in its practicality and performance, its success ultimately depends on ecosystem-wide adoption and further standardization efforts.

MCP-UI created by Ido Salomon and Liad Yosef, standardizes a mechanism for agents to embed user interfaces directly within the conversation flow or any UI flow, treating them as a first-class content type. The technology is highlighted when Shopify Engineering and Block publicly announce their support and implementation of MCP-UI to enable "agentic commerce" experiences.

More Articles

Original Source Repository

Installation

If available in Hex, the package can be installed by adding ex_voix to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_voix, "~> 0.3"}
  ]
end

Integration Steps for Phoenix.LiveView Project (Required)

MCP-UI client support for rendering raw-html, external-url or remote-dom from MCP-UI server (optional):

More Examples and Demo

License

Released under the MIT License.