agentivity_ag_ui
Flutter package for AI agent UIs — AG-UI protocol, SSE streaming, chat panel, HIL forms, AI assistant, and agent run monitor. Bring your own backend.
What this package is like to depend on
Last release 3 months ago
23 May 2026
Too new to tell
only 1 release windows
Some releases are documented
notes for 3 of 7 stable releases
Nothing withdrawn
no release was ever pulled
3 months old
7 releases · first in 2026
7 releases in the last 12 months
see the full history below
Release timeline
7 releases · May 2026 to May 2026Releases
latest 7-
0.3.1223 May 2026 -
0.3.622 May 2026Release notes
Open source →Clean versioning release — correct tag/pubspec alignment.
- Re-tagged release to ensure the published version on pub.dev matches the Git tag and pubspec version.
- No functional changes since 0.3.5.
-
0.3.122 May 2026Nothing published for this version
-
0.2.722 May 2026Nothing published for this version
-
0.2.622 May 2026Nothing published for this version
-
0.2.421 May 2026Nothing published for this version
-
0.2.021 May 2026Release notes
Open source →Generative UI, protocol alignment, state sync, and frontend tools.
New capabilities
- Generative UI —
AgUiGenerativeControllerprocessesStream<AgUiEvent>and maintains a sealedAgUiGenerativeItemlist (AgUiTextItem,AgUiReasoningItem,AgUiComponentItem,AgUiToolCallItem).AgUiGenerativeViewrenders it reactively with streaming indicators, collapsible reasoning blocks, and tool-call status cards. - Widget registry —
AgUiWidgetRegistrymaps component names to Flutter widget builders. The agent calls a tool whose name matches a registered component → the controller seamlessly replaces the placeholder with the live widget. Also supported viaCUSTOMevents withname == 'render'. - Frontend tools —
AgUiFrontendToolRegistry/AgUiFrontendToollet the agent call client-side code (no backend round-trip). Results are shown inline. UsetoApiDescriptions()to include frontend tools in the agent's tool list. - State sync —
AgUiStateControllerappliesSTATE_SNAPSHOTandSTATE_DELTA(RFC 6902 JSON Patch: add, remove, replace, move, copy) to a reactive state map.AgUiStateBuilderprovides aListenableBuilderwrapper.
Protocol alignment (breaking if you used internal names)
ToolCallStartEvent: JSON key changed fromtoolName→toolCallName(legacytoolNamestill read as fallback).ToolCallArgsDeltaEvent: now handles both spec nameTOOL_CALL_ARGSand legacyTOOL_CALL_ARGS_DELTA.ToolCallResultEvent: field renamedresult→content(legacyresultread as fallback);messageIdis now a requiredString.RunStartedEvent: addedthreadId,parentRunId.RunFinishedEvent: addedthreadId,outcome(AgUiSuccessOutcomeorAgUiInterruptOutcomewithList<AgUiInterrupt>).isInterruptedconvenience getter.- Added event types:
TextMessageChunkEvent,ToolCallChunkEvent,ReasoningMessageStartEvent,ReasoningMessageContentEvent,ReasoningMessageEndEvent,ReasoningStartEvent,ReasoningEndEvent,ActivitySnapshotEvent,ActivityDeltaEvent,RawEvent. StateDeltaEvent.deltais now typedList<dynamic>(RFC 6902 patch array).
Tests
- 150 unit tests covering protocol parsing, JSON Patch operations (including
~0/~1escaping and-array append), generative controller event handling, and controller notification behaviour.
- Generative UI —