Skip to content

Commit fff398e

Browse files
IvanDanchevIvanDanchev
authored andcommitted
docs: add pr review suggestions #12387
1 parent 54dae52 commit fff398e

File tree

1 file changed

+64
-64
lines changed

1 file changed

+64
-64
lines changed

ai/agentic-ui-generator/index.md

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -10,125 +10,126 @@ published: True
1010

1111
# Telerik UI for Blazor Agentic UI Generator
1212

13-
The Agentic UI Generator is an intelligent, prompt-driven development assistant designed to accelerate the creation and styling of modern web applications. Built around Telerik and Kendo UI, the Agent enables developers to move from idea to quality UI with speed, precision, and confidence. It allows developers to use it with their favourite AI-powered IDEs for seamless integration with their existing workflows, delivering more productivity with no extra friction.
13+
The Agentic UI Generator is an intelligent, prompt-driven AI development assistant designed to accelerate the creation and styling of modern web applications. Built around Telerik and Kendo UI, the Agent enables developers to move from idea to quality UI with speed, precision, and confidence.
1414

15-
## What is the Agentic UI Generator
15+
## What Is the Agentic UI Generator
1616

17-
At its core, the Agentic UI Generator integrates five specialized tools—UI Generator, Style Search, Component Search, Style Customization, and Icon Search—working together in an agentic flow to deliver complete, beautiful, on-brand and enterprise-ready UIs. The main generator coordinates these tools to handle component generation, styling, theming, and design system integration seamlessly.
17+
At its core, the Agentic UI Generator integrates five specialized tools:
18+
* UI Generator
19+
* Style Search
20+
* Component Search
21+
* Style Customization
22+
* Icon Search
1823

19-
### How It Works
24+
The tools are working together in an agentic flow to deliver complete, beautiful, on-brand and enterprise-ready UIs. The main generator coordinates these tools to handle component generation, styling, theming, and design system integration seamlessly.
2025

21-
The Agentic UI Generator uses an intelligent approach where specialized tools work together to handle different aspects of UI development. When you provide a prompt, the main generator analyzes your requirements and coordinates the appropriate tools to deliver the desired outcome. For more control over specific aspects of your UI, you can also call individual tools directly as described in the [Advanced Use](#advanced-use) section.
26+
## How It Works
2227

23-
### Intended Use
28+
The Blazor Agentic UI Generator uses an intelligent approach where specialized tools work together to handle different aspects of UI development. When you provide a prompt, the main generator analyzes your requirements and coordinates the appropriate tools to deliver the desired outcome. For more control over specific aspects of your UI, you can also call individual tools directly as described in the [Advanced Use](#advanced-use) section.
29+
30+
## Intended Use
2431

2532
The Agentic UI Generator is designed to help with various development scenarios:
2633

27-
**Create Individual Components**
28-
* Build specific Telerik components with custom configurations
29-
* Generate components with advanced features like filtering, validation, and data binding
30-
* Example: "Create a Select component with filtering and the option to add new items"
34+
### Create Individual Components
35+
36+
Build specific Telerik components with specific configurations and features like filtering, validation, and data binding
37+
38+
**Example:** "#telerik_ui_generator Create a Select component with filtering and the option to add new items"
39+
40+
### Create Full Responsive Pages
3141

32-
**Create Full Responsive Pages**
3342
* Build complete dashboards, landing pages, and listing pages in existing applications
34-
* Generate pages similar to [Telerik Design System page templates](https://www.telerik.com/design-system/docs/ui-templates/templates/automotive-industry/)
35-
* Example: "Create a new PoC and I have created an empty application that now needs a login screen and an admin dashboard"
43+
* Generate pages similar to the [Progress Design System page templates](https://www.telerik.com/design-system/docs/ui-templates/templates/automotive-industry/)
44+
45+
**Example:** "#telerik_ui_generator I have created an empty application that now needs a login screen and an admin dashboard. Create a new PoC"
46+
47+
### Modify Existing Pages
3648

37-
**Modify Existing Pages**
3849
* Enhance existing dashboards by adding new sections
3950
* Insert new sections that match existing layout style and responsiveness
40-
* Example: "Insert a new section in the middle of an existing page. In that added section, a Dashboard Card displays summary KPIs (revenue, active users, growth rate), next to a Compact Card showing a recent alert or message"
4151

42-
**Create and Modify Themes**
43-
* Generate new themes inside existing applications
44-
* Add dark mode or high-contrast themes
45-
* Example: "Generate a complete dark theme for my app based on a prompt so my UI looks on-brand in dark mode as well"
52+
**Example:** "#telerik_ui_generator Insert a new section in the middle of an existing page. In that added section, a Dashboard Card displays summary KPIs (revenue, active users, growth rate), next to a Compact Card showing a recent alert or message"
53+
54+
### Create and Modify Themes
55+
56+
* Generate new themes inside existing applications. Add dark mode or high-contrast themes
57+
58+
**Example:** "Generate a complete dark theme for my app based on a prompt so my UI looks on-brand in dark mode as well"
4659

47-
**Responsive Layout**
48-
* All created pages and sections are automatically responsive
60+
### Implement Responsive Layout
61+
62+
* Create new responsive pages and sections
4963
* Convert existing pages to be responsive for mobile and tablet views
50-
* Example: "Update an existing page layout to make it responsive"
64+
65+
**Example:** "Update an existing page layout to make it responsive"
5166

5267
For specific examples of these use cases, see the [Sample Prompts](#sample-prompts) section.
5368

5469
## Installing the Agentic UI Generator
5570

56-
The Agentic UI Generator is available as an MCP (Model Context Protocol) server that integrates with AI-powered IDEs like GitHub Copilot, Cursor, and other MCP-compatible tools.
71+
The Agentic UI Generator is available as an MCP (Model Context Protocol) server that integrates with AI-powered IDEs like Visual Studio Code, Cursor, and other MCP-compatible tools.
5772

5873
### Prerequisites
5974

60-
* A valid Telerik DevCraft Complete, or DevCraft Ultimate license.
61-
* An AI-powered IDE that supports MCP servers (e.g., Visual Studio, Visual Studio Code).
75+
* An AI-powered IDE that supports MCP servers, for example, Visual Studio, Visual Studio Code, Cursor.
6276

6377
### Configuration Steps
6478

65-
Sign in to your Telerik account to ensure proper user identification.
79+
This section contains information about how to set up the Agentic UI Generator in Visual Studio and Visual Studio Code.
6680

6781
#### Visual Studio
6882

69-
To enable the Agentic UI Generator in a specific Blazor app, add a `.mcp.json` file to the solution folder and paste the [Preview JSON MCP Configuration](https://uiagent.mcp.telerik.com/preview) in the file.
70-
71-
>caption .mcp.json
72-
73-
````JSON.skip-repl
74-
{
75-
"servers": {
76-
"telerik-ui-generator": {
77-
"type": "http",
78-
"url": "https://uiagent.mcp.telerik.com/mcp/blazor",
79-
"headers": {
80-
"x-preview-access": "userid-..."
81-
}
82-
}
83-
}
84-
}
85-
````
83+
To enable the Agentic UI Generator in a specific Blazor app, add a `.mcp.json` file to the solution folder and paste the configuration from the [Agentic UI Generator | MCP Configuration page](https://uiagent.mcp.telerik.com/preview).
8684

8785
To enable global automatic discovery of the Agentic UI Generator in Visual Studio, add the above `.mcp.json` file to your user directory (`%USERPROFILE%`), for example, `C:\Users\____\.mcp.json`.
8886

8987
#### Visual Studio Code
9088

91-
1. Go to the [Agentic UI Generator Preview Configuration](https://uiagent.mcp.telerik.com/preview).
92-
2. Click the `Add to VS Code` button. This will open a tab named `MCP Server: telerik-ui-generator` in your VS Code instance.
93-
3. In the new VS Code tab, click the `Install` button.
89+
1. Go to the [Agentic UI Generator Preview Configuration](https://uiagent.mcp.telerik.com/preview).
90+
2. Log in with a valid Telerik account.
91+
3. Click the **Add to VS Code** button. This will open a tab named **MCP Server: telerik-ui-generator** in your VS Code instance.
92+
4. In the new VS Code tab, click **Install**.
9493

9594
After adding the configuration, restart your IDE to load the MCP server.
9695

97-
## Using the Agentic UI Generator
96+
## Call the Generator
9897

9998
The Agentic UI Generator can be used in two primary modes: basic usage through the main tool, or advanced usage by calling specific MCP tools directly.
10099

101100
### Basic Use
102101

103102
To use the Agentic UI Generator, you can call it in two ways:
104103

105-
**Method 1: Using the Tool Handle**
104+
#### Method 1: Using the Tool Handle
105+
106106
Prefix your prompt with `#telerik_ui_generator` followed by your request:
107107

108108
````TEXT.skip-repl
109109
#telerik_ui_generator Create a dashboard page with a grid showing sales data and a chart visualizing monthly trends
110110
````
111111

112-
**Method 2: Using Natural Language**
113-
Simply describe what you want to create using natural language. The AI assistant will automatically recognize when to use the Agentic UI Generator:
112+
#### Method 2: Using Natural Language
113+
114+
Prefixing your prompt with `#telerik_ui_generator` will make it more likely for the Agentic UI Generator to get called. Alternatively, you can use natural language and simply describe what you want. The AI assistant automatically recognizes when to use the Agentic UI Generator:
114115

115116
````TEXT.skip-repl
116117
Create a product management page with a grid for displaying products, a form for adding new items, and filtering options
117118
````
118119

119-
The generator will analyze your prompt and create the appropriate Blazor components, markup, and styling.
120+
The generator analyzes your prompt and creates the appropriate Blazor components, markup, and styling.
120121

121-
### Advanced Use
122+
### Target the Tools (Advanced)
122123

123124
For more granular control, you can call individual tools that make up the Agentic UI Generator:
124125

125126
| Tool Handle | Description |
126127
|------------|-------------|
127128
| `telerik_ui_generator` | Main generator for building full UI flows. Coordinates all other tools to deliver complete solutions. |
128-
| `telerik_style_search` | Retrieves design system utilities including spacing, typography, and colors for consistent layouts. |
129-
| `telerik_component_search` | Retrieves documentation and answers about Telerik/Kendo components, providing implementation guidance. |
130-
| `telerik_style_customization` | Generates CSS variables for themes and customization, enabling brand-specific styling. |
131-
| `telerik_icon_search` | Retrieves icons from the Telerik Design System for consistent iconography across your application. |
129+
| `telerik_layout_assistant` | Applies suitable CSS utility classes from the Progress Design System for styling and positioning elements. Use this tool when you need help with spacing, typography, colors, layout structure, or transforms. |
130+
| `telerik_component_assistant` | Answers questions and generates code related to Teelrik UI for Blazor components. Use this tool when you need to implement or configure specific UI for Blazor components like Grid, Charts, Forms, etc. |
131+
| `telerik_style_assistant` | Generates custom styles and theme configurations for your application. Use this tool when you need to apply brand-specific colors, create custom themes, or modify the overall visual design of your UI. |
132+
| `telerik_icon_assistant` | Searches and retrieves icons from the Progress Design System iconography by name, category, or keywords. Use this tool when you need to find and add specific icons for your UI components or design elements. |
132133

133134
You can call these tools directly when you need specific functionality, allowing for more precise control over the generation process.
134135

@@ -165,24 +166,23 @@ Build a landing page similar to the automotive industry template with a hero sec
165166

166167
To get the best results from the Agentic UI Generator:
167168

168-
**Provide Clear Context:**
169+
### Provide Clear Context
170+
169171
* Be specific about your requirements and desired layout structure.
170172
* Mention any existing components or styles you want to match.
173+
* Attach the files you want to modify as context to your prompt so the tool can understand your existing code structure.
171174
* Specify responsiveness requirements for different screen sizes.
172175
* Reference existing design patterns when applicable (e.g., "similar to the automotive industry template").
173176

174-
**Optimize Your Environment:**
175-
* Don't configure too many MCP tools or extensions simultaneously, as this may affect performance.
176-
* In case of issues when both the Telerik AI Coding Assistant and the Agentic UI Generator are enabled, disable one of the tools.
177+
### Best Practices
178+
179+
* Don't configure too many MCP tools or extensions simultaneously, as this may affect performance. In case of issues when both the Telerik AI Coding Assistant and the Agentic UI Generator are enabled, disable one of the tools.
177180
* Ensure you have a stable internet connection for AI processing.
178181
* Keep your Blazor project structure organized and follow naming conventions.
179-
180-
**Best Practices:**
181182
* Start with simpler prompts and gradually add complexity.
182-
* Review and test generated code before integrating into production.
183183
* Customize the generated code to match your specific business logic and branding.
184184
* Use the advanced tool handles when you need precise control over specific aspects.
185-
* Leverage existing Telerik Design System patterns for consistency.
185+
* Leverage existing [Telerik Design System](https://www.telerik.com/design-system/docs/) patterns for consistency.
186186

187187
## See Also
188188

0 commit comments

Comments
 (0)