Next Gen UI Agent A2A Server Configuration
Next Gen UI Agent A2A Server configuration. Documentation: https://redhat-ux.github.io/next-gen-ui-agent/spec/a2a/#agent-configuration
| Type | object |
|---|---|
| File match |
ngui-a2a_*.yaml
ngui-a2a_*.yml
ngui-a2a_*.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/next-gen-ui-agent-a2a-server-configuration/latest.json |
| Source | https://raw.githubusercontent.com/RedHat-UX/next-gen-ui-agent/refs/heads/main/spec/a2a/a2a_agent_config.schema.json |
Validate with Lintel
npx @lintel/lintel check
A2A Agent Configuration.
Properties
Component system to use to render the UI component. Default is json. UI renderers have to be installed to use other systems.
Transformer used to parse the input data (can be overriden on 'data type' level). Default json, available transformers: yaml, csv-comma, csv-semicolon, csv-tab. Other transformers can be installed, see docs.
List of components that can be selected by the agent's LLM for data visualization. If not set, all components are selectable.
Strategy for LLM powered component selection and configuration step. Possible values: one_llm_call (default) - uses one LLM call, two_llm_calls - use two LLM calls - experimental!
Mapping from InputData.type to UI component - currently only one dynamic component with pre-configuration, or hand-build component (aka HBC) can be defined here. Will be extended in the future.
If True (default), the agent will wrap the JSON input data into data type field if necessary due to its structure. If False, the agent will never wrap the JSON input data into data type field.
If True, the agent will generate all possible view Fields for the UI component into its output configuration UIBlockComponentMetadata.fields_all, if False then all fields aren't generated. Can be overriden for individual data_types. Supported only for table and set-of-cards components.
Prompt-related configuration for LLM interactions. Allows customizing component descriptions, rules, and examples used in agent prompts.
If True (default), the agent will attempt to auto-detect the appropriate input data transformer based on data structure when no transformer is explicitly configured for a data type. If False, auto-detection is disabled and the default transformer is always used.
A2A related configuration.
Definitions
Information to override default values in the A2A Agent card.
Name of the A2A Agent.
Description of the A2A Agent.
URL of the A2A Agent. Use if you want to override the real URL of the A2A Agent, eg. when running behind a proxy or load balancer.
Information to override default values in the A2A Agent skill.
Name of the A2A Agent skill.
Description of the A2A Agent skill.
Tags of the A2A Agent skill.
Examples of the A2A Agent skill.
Skills info to override default values in the A2A Agent card.
generate_ui_components skill info to override default values in the A2A Agent card.
Information to override default values in the A2A Agent card.
Skills info to override default values in the A2A Agent card.
Agent Configuration - one component config for data type.
Component name. Can be name of existing dynamic component supported by the UI Agent, or name for hand-build component.
Optional pre-configuration of the dynamic component to be used.
If True, LLM generates configuration. If False, pre-defined configuration must be provided and will be used. Only applicable to dynamic components, not hand-build components.
Optional prompt customization for this component. Overrides global prompt.components configuration for this component in this data_type context. Has the same fields as prompt.components. For HBCs in multi-component scenarios, at least 'description' field is required.
Agent Configuration for the Data Type.
Transformer to use to transform the input data of this type. Available transformers: json, yaml, csv-comma, csv-semicolon, csv-tab. Other transformers can be installed, see docs.
If True, the agent will generate all possible view Fields for the UI component into its output configuration UIBlockComponentMetadata.fields_all, if False then all fields aren't generated, if None then agent's default setting is used. Supported only for table and set-of-cards components.
List of components to select from for the input data of this type.
Optional prompt configuration for this data type. Overrides global prompt settings from AgentConfig.prompt. All fields from AgentConfigPromptBase are available (system prompts, examples, chart instructions). Takes precedence over global configuration.
Agent Configuration - pre-configuration of the one dynamic component for data type.
Title of the dynamic component to be shown in the UI
Fields of the dynamic component to be shown in the UI
Global prompt configuration for LLM interactions.
Inherits all base prompt fields and adds component-specific metadata overrides.
Override the initial system prompt section for one-step strategy. Available components list and other dynamically generated parts are added after this section. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override the initial system prompt section for two-step strategy step1 (component selection). Available components list and other dynamically generated parts are added after this section. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override the initial system prompt section for two-step strategy step2 (field configuration). MUST contain {component} placeholder which is replaced with the selected component name from step1. Other dynamically generated component parts are added after this section. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override the chart instructions template used in both strategies. Supports placeholders: {charts_description}, {charts_fields_spec}, {charts_rules}, {charts_inline_examples} which will be replaced with dynamically generated component-specific content. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override normal component examples (table, cards, image) for one-step strategy. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override chart component examples for one-step strategy. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override normal component examples (table, cards, image) for two-step strategy step1. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override chart component examples for two-step strategy step1. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Component related prompt overrides. Keys are component names (e.g., 'table', 'chart-bar'), values are objects with prompt overrides for that component. Component names must match those in CONFIG_OPTIONS_ALL_COMPONETS.
Base prompt configuration (all prompt fields except components).
Used for data-type level prompt customization. Contains all prompt-related fields that can override global settings on a per-data-type basis.
Override the initial system prompt section for one-step strategy. Available components list and other dynamically generated parts are added after this section. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override the initial system prompt section for two-step strategy step1 (component selection). Available components list and other dynamically generated parts are added after this section. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override the initial system prompt section for two-step strategy step2 (field configuration). MUST contain {component} placeholder which is replaced with the selected component name from step1. Other dynamically generated component parts are added after this section. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override the chart instructions template used in both strategies. Supports placeholders: {charts_description}, {charts_fields_spec}, {charts_rules}, {charts_inline_examples} which will be replaced with dynamically generated component-specific content. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override normal component examples (table, cards, image) for one-step strategy. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override chart component examples for one-step strategy. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override normal component examples (table, cards, image) for two-step strategy step1. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Override chart component examples for two-step strategy step1. Precedence order is 'per data_type' > 'global' > 'hardcoded default'.
Component metadata overrides for LLM prompts.
Allows overriding any field from COMPONENT_METADATA for a specific component. Available fields depend on component type:
- All components: description, twostep_step2configure_example, twostep_step2configure_rules
- Chart components: chart_description, chart_fields_spec, chart_rules, chart_inline_examples
Override component description used in LLM prompts
Override example for two-step strategy field selection (step2configure)
Override rules for two-step strategy field selection (step2configure)
Override chart type description (chart components only)
Override chart fields specification (chart components only)
Override chart-specific rules (chart components only)
Override inline chart examples (chart components only)
UI Component Field Metadata.
Unique field ID. Can be used in CSS selectors to target the field, eg. to set its style, or during live refresh of the shown data from the backend.
Field name to be shown in the UI
JSON Path pointing to the input data structure (after input data transformation and JSON wrapping, if applied). It is used to pickup values to be shown in the UI.