github ag-ui-protocol/ag-ui release/2026-09-09
Release 2026-09-09

latest releases: java-server@0.1.1, java-core@0.1.1, java-client@0.1.1...
3 hours ago

Packages Published

Python (PyPI) - published at 15:22:36 UTC

Package Version Install
ag-ui-langgraph 0.0.45 pip install ag-ui-langgraph==0.0.45

ag-ui-langgraph@0.0.45

  • Endpoint helpers now forward FastAPI route kwargs (name, tags, summary, operation_id, dependencies, include_in_schema) so agent routes embed cleanly in existing APIs.
  • Populate RUN_FINISHED.usage and RUN_ERROR.usage terminal-event token usage from provider metadata (previously always absent in Python).
  • Record token usage from non-streaming model calls via OnChatModelEnd; streaming-disabled models previously reported no usage.
  • Cap token counts at Number.MAX_SAFE_INTEGER (2**53 - 1) to match the TypeScript protobuf decoder.
  • Preserve plain string entries in multimodal message content conversion, keeping their original order alongside structured blocks.
  • Guard reasoning content blocks against non-mapping values; AIMessageChunk(content=["hello"]) no longer raises and kills the stream.
  • Reject whitespace-only or leading-whitespace image_url payloads that previously bypassed the empty-value guard.
Breaking changes
  • image_url payloads that are whitespace-only or have leading whitespace are now rejected; re-verify attachment inputs.
  • Token counts are now capped at 253 - 1 rather than int64's 263 - 1.

Java (Maven Central) - published at 16:57:07 UTC

Package Version Install
java-core 0.1.1 com.ag-ui.community:java-core:0.1.1
java-client 0.1.1 com.ag-ui.community:java-client:0.1.1
java-server 0.1.1 com.ag-ui.community:java-server:0.1.1

java-core@0.1.1

  • Added REASONING("reasoning") to the Role enum, enabling Role.fromValue("reasoning") to succeed.
  • Added a ReasoningMessage type to the sealed Message hierarchy for representing reasoning in conversation history.
  • ReasoningMessage carries an optional encryptedValue, retaining encrypted chain-of-thought reasoning across round trips.
  • Existing (id, content) and (id, content, name) constructors are preserved; ReasoningMessageStartEvent can now carry the role: "reasoning" field.
Breaking changes
  • The sealed Message hierarchy gains a new ReasoningMessage variant; exhaustive switches over Message must handle it.

java-client@0.1.1

  • Maintenance release; no consumer-facing changes identified.
Breaking changes

None.

java-server@0.1.1

  • Maintenance release; no consumer-facing changes identified.
Breaking changes

None.

Don't miss a new ag-ui release

NewReleases is sending notifications on new releases.