> Markdown version of [AI & LLMs](https://vaadin.com/docs/latest/building-apps/ai). Section index: [llms.txt](https://vaadin.com/docs/latest/building-apps/llms.txt)

# AI in Vaadin Applications

In this section, you’ll learn how to connect a Vaadin application to a Large Language Model (LLM) and integrate AI features into your workflows. Using common Vaadin application scenarios as examples, you’ll explore typical UI patterns for AI integration. The focus is on simple, adaptable examples that you can quickly implement in your own projects.

You’ll learn how to:

- connect your application to an AI client with popular Java libraries such as Spring AI and LangChain4j,

- use the [AI support features](https://vaadin.com/docs/latest/flow/ai-support.md) to connect LLM providers to Vaadin UI components with minimal boilerplate,

- choose Vaadin components that create intuitive, AI-powered workflows — such as `MessageInput`, `MessageList`, and `UploadManager`,

- let users explore application data through natural language with [AI-powered Grid](https://vaadin.com/docs/latest/flow/ai-support/ai-powered-grid.md) and [AI-powered Chart](https://vaadin.com/docs/latest/flow/ai-support/ai-powered-chart.md), or fill a form from a prompt or an attached document with the [AI Form Filler](https://vaadin.com/docs/latest/flow/ai-support/ai-powered-form.md), and

- deliver real-time updates to users through server push.

> **Tip:** The [AI support features](https://vaadin.com/docs/latest/flow/ai-support.md) eliminate the boilerplate of wiring UI components to LLM frameworks. The `AIOrchestrator` handles streaming, conversation history, file attachments, and tool calling behind a simple builder API. Ready-made controllers — `GridAIController`, `ChartAIController`, and `FormAIController`, available with a commercial Vaadin subscription — bring natural-language data exploration to `Grid` and `Chart`, and form filling to any layout of input fields. See the [documentation](https://vaadin.com/docs/latest/flow/ai-support.md) for the full API reference.

- [Technical Setup](https://vaadin.com/docs/latest/building-apps/ai/technical-setup.md): Configure API keys and IDE settings so your Vaadin application can connect to hosted or local LLMs.
- [Quick Start-Guide](https://vaadin.com/docs/latest/building-apps/ai/quickstart-guide.md): A compact chat view with streaming, correct scrolling, and message context.
