Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeag_ui

Dart SDK for AG-UI protocol supporting event-based communication and SSE streaming.

pub.devRemove
http2

An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

pub.devRemove
ScoresHealth7691 (best)
Maintenance7599 (best)
Quality9193 (best)
Popularity4288 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)16k965k (best)
Likes697 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars17k (best)1.1k
MaintenanceLatest release0.3.0, 5 months ago3.2.0, 4 days ago (best)
Major versions in 12 months0 (best)1
Contributors100+100+
Publishercommunity.ag-ui.comdart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Dart-native with full type safety and null safety
  • Comprehensive support for tool calls, state snapshots, activity, and reasoning events
  • Efficient event decoding with backpressure handling
  • Supports multiplexing multiple requests over a single connection
  • Includes `Http2Client` for pooled `package:http` compatibility
  • Provides fine-grained control over frames, streams, and transport connections
Weaknesses
  • Requires specific AG-UI compliant server architecture on the backend
  • Narrow domain focus limited entirely to the AG-UI protocol
  • Does not fall back to HTTP/1.1 if a server fails to negotiate HTTP/2
  • Requires handling low-level byte streams and header framing for custom requests
WarningsNoneNone
ag_ui vs http2: which Flutter package should you use? | pubscout