Skip to content

Initial Kotlin port of the Python A2UI SDK.#1012

Open
jgindin wants to merge 8 commits intogoogle:mainfrom
jgindin:kotlin-sdk
Open

Initial Kotlin port of the Python A2UI SDK.#1012
jgindin wants to merge 8 commits intogoogle:mainfrom
jgindin:kotlin-sdk

Conversation

@jgindin
Copy link
Copy Markdown
Collaborator

@jgindin jgindin commented Mar 27, 2026

Description

Port of the Python SDK. Developed with significant help from various forms of Gemini.

See the later PRs which create new versions of the rizzcharts sample for both Kotlin and Java as demonstrations of this SDK.

Pre-launch Checklist

Copy link
Copy Markdown
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 Kotlin SDK for the Agent-to-App (A2A) protocol with A2UI integration, featuring request handlers, event converters, and a toolset for rich UI rendering. It also includes a schema management system and a validator for A2UI payload integrity. Review feedback suggests several improvements: replacing printStackTrace with a logging framework, fixing a numeric type conversion bug in JSON parsing, refactoring hardcoded strings and versions into constants, and adopting more idiomatic Kotlin collection operations.

jgindin and others added 5 commits March 27, 2026 15:00
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Decompose the `handleA2aPost` method into smaller ones.

Also, fix the previous commit, which Github messed up.
@jgindin jgindin requested a review from nan-yu March 27, 2026 21:13
Copy link
Copy Markdown
Collaborator

@nan-yu nan-yu left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me overall!

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.

2 participants