> Markdown version of [AI Form Filler](https://vaadin.com/docs/next/components/form-layout/ai-powered). Section index: [llms.txt](https://vaadin.com/docs/next/components/llms.txt)

# AI Form Filler (since V25.2) Flow

AI Form Filler lets your users fill the fields of a Vaadin form by typing in natural language or attaching a document. The `FormAIController` from the [AI Integration](https://vaadin.com/docs/next/flow/ai-support.md) module connects a layout to an `AIOrchestrator` so the LLM can read the current values, look up options for combo boxes and selects, and write new values back. Each written field is validated through its `Binder` binding when it has one, and through the component’s own built-in validator otherwise, and rejections are reported back so the model can correct them on the same turn.

> **Note: Commercial Feature**
>
> A commercial Vaadin subscription is required to use AI Form Filler in your project.
>
> - [Start Free Trial](https://vaadin.com/trial)
>
> - [See Pricing](https://vaadin.com/pricing)

```java
TextField name = new TextField("Name");
EmailField email = new EmailField("Email");
ComboBox<String> country = new ComboBox<>("Country");
country.setItems("Finland", "Germany", "United States");
DatePicker hiredOn = new DatePicker("Hired on");

FormLayout form = new FormLayout(name, email, country, hiredOn);
MessageInput messageInput = new MessageInput();

FormAIController controller = new FormAIController(form);

AIOrchestrator.builder(provider, systemPrompt)
        .withInput(messageInput)
        .withController(controller)
        .build();

add(messageInput, form);
```

Example prompts:

- "Fill in John Doe, <john@acme.com>, started in Germany on 2026-03-01."

- "Use the information in the attached resume to fill the form."

- "Clear the country and date fields."

For the full guide — including field descriptions, options for selects and multi-selects, `Binder` integration, marking and reverting the AI’s changes, and tracking which part of an attached document each value came from — see [AI Form Filler](https://vaadin.com/docs/next/flow/ai-support/ai-powered-form.md) in the AI Integration section. The same approach is available for tabular data via [AI-Powered Grid](https://vaadin.com/docs/next/flow/ai-support/ai-powered-grid.md) and for charts via [AI-Powered Chart](https://vaadin.com/docs/next/flow/ai-support/ai-powered-chart.md).
