ag_ui 0.1.0 copy "ag_ui: ^0.1.0" to clipboard
ag_ui: ^0.1.0 copied to clipboard

Dart SDK for AG-UI protocol - standardizing agent-user interactions through event-based communication

Changelog #

All notable changes to the AG-UI Dart SDK will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 - 2025-01-21 #

Added #

  • Initial release of the AG-UI Dart SDK
  • Core protocol implementation with full event type support
  • HTTP client with Server-Sent Events (SSE) streaming
  • Strongly-typed models for all AG-UI protocol entities
  • Support for tool interactions and generative UI
  • State management with snapshots and JSON Patch deltas (RFC 6902)
  • Message history tracking across multiple runs
  • Comprehensive error handling with typed exceptions
  • Cancel token support for aborting long-running operations
  • Environment variable configuration support
  • Example CLI application demonstrating key features
  • Integration tests validating protocol compliance

Features #

  • AgUiClient - Main client for AG-UI server interactions
  • SimpleRunAgentInput - Simplified input structure for common use cases
  • Event streaming with backpressure handling
  • Tool call processing and result handling
  • State synchronization across agent runs
  • Message accumulation and conversation context

Known Limitations #

  • WebSocket transport not yet implemented
  • Binary protocol encoding/decoding not yet supported
  • Advanced retry strategies planned for future release
  • Event caching and offline support planned for future release
1
likes
130
points
103
downloads

Publisher

unverified uploader

Weekly Downloads

Dart SDK for AG-UI protocol - standardizing agent-user interactions through event-based communication

Topics

#agent #ai #llm #protocol #streaming

Documentation

API reference

License

MIT (license)

Dependencies

http, meta

More

Packages that depend on ag_ui