llm_sdk 0.4.0 copy "llm_sdk: ^0.4.0" to clipboard
llm_sdk: ^0.4.0 copied to clipboard

Unified interface for talking to LLMs (Claude, OpenAI, Gemini) from Dart/Flutter: multi-provider, streaming, tool calling, structured outputs.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add llm_sdk

With Flutter:

 $ flutter pub add llm_sdk

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  llm_sdk: ^0.4.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:llm_sdk/llm_sdk.dart';
2
likes
160
points
381
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Unified interface for talking to LLMs (Claude, OpenAI, Gemini) from Dart/Flutter: multi-provider, streaming, tool calling, structured outputs.

Repository (GitHub)
View/report issues

Topics

#llm #ai #claude #openai #gemini

License

MIT (license)

Dependencies

http

More

Packages that depend on llm_sdk