koel_http

pub package License: MIT CI

HTTP transport for koel, the premium Dart/Flutter SDK for the AG-UI protocol. koel_http provides the framework-free HttpAgent, a streaming Server-Sent Events (SSE) parser, and the transport interceptors (retry, auth, logging, Sentry/PII redaction) that turn an AG-UI HTTP endpoint into a koel_core event stream.

Getting started

// pubspec.yaml:  dart pub add koel_http
import 'package:koel_http/koel_http.dart';

final agent = HttpAgent(url: Uri.parse('https://your-backend/agui'));

Most apps use the koel meta-package.

Documentation

Guides are on the koel docs site — see Connect an HTTP backend and Interceptors. The API reference is on the pub.dev API tab (dart doc); see the repo-root README for the package map.

Changelog

See CHANGELOG.md.

License

MIT © 2026 Si Huynh. See LICENSE.

Libraries

koel_http
HTTP/SSE transport for AG-UI agents — HttpAgent, SseParser, interceptors.