Skip to content

Conversation

@nan-yu
Copy link
Collaborator

@nan-yu nan-yu commented Feb 11, 2026

Description

It updates the sample to use the A2uiSchemaManager from the a2ui-agent python SDK.

Tested:

  • The rizzcharts Angular client successfully connected to the rizzcharts agent and rendered the response correctly.
rizzcharts_demo.mov
  • The orchestator Angular client successfully connected to the orchestator agent and all subagents.
orchestrator_demo.mov

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a significant and valuable refactoring by creating the A2uiSchemaManager to centralize schema loading, management, and prompt generation. This makes the system more robust and easier to extend. The use of build hooks to package schema files and the clear separation of concerns in the new inference package are excellent design choices. However, I've identified a few issues, including a critical one where validation is disabled in one of the samples, which should be addressed before merging.

@nan-yu nan-yu force-pushed the update-rizzchart-sample branch 2 times, most recently from f398270 to 6bb60e0 Compare February 12, 2026 00:25
- Add a base InferenceStrategy class
- Add PackSpecsBuildHook to copy JSON schemas into the package during
  build time.
- Update pyproject.toml to include assets and configure the build hook.
- Implement A2uiSchemaManager for robust schema loading, pruning, and
  prompt generation.
Tested:
- [x] The contact_lookup client successfully connected to the contact_lookup
agent and rendered the response correctly.
Introduces a `schema_modifiers` parameter to A2uiSchemaManager, allowing
custom callable hooks to transform schemas after loading. This enables
flexible schema customization, such as relaxing strict validation
constraints during testing.
It updates the sample to use the A2uiSchemaManager from the a2ui-agent
python SDK.

Tested:
- [x] The `contact` lit client successfully connected to the
  `contact_multiple_surfaces` agent and rendered the response correctly.
It updates the sample to use the A2uiSchemaManager from the a2ui-agent
python SDK.

Tested:
- [x] The `restaurant` angular client successfully connected to the
  `restaurant_finder` agent and rendered the response correctly.
It updates the sample to use the A2uiSchemaManager from the a2ui-agent python SDK.

Tested:
- [x] The `rizzcharts` Angular client successfully connected to the
  `rizzcharts` agent and rendered the response correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant