Skip to main content

ai_broker 0.5.1 copy "ai_broker: ^0.5.1" to clipboard
ai_broker: ^0.5.1 copied to clipboard

Provider-agnostic Dart broker for Claude, OpenAI, Gemini, and Google Translate. Chat, embed, translate, plus a RAG CLI over a local SQLite vector store.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate ai_broker

Use it

The package has the following executables:

$ ai_broker
$ aib

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ai_broker

With Flutter:

 $ flutter pub add ai_broker

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

dependencies:
  ai_broker: ^0.5.1

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:ai_broker/ai_broker.dart';
1
likes
150
points
448
downloads

Documentation

API reference

Publisher

verified publisherdev-cetera.com

Weekly Downloads

Provider-agnostic Dart broker for Claude, OpenAI, Gemini, and Google Translate. Chat, embed, translate, plus a RAG CLI over a local SQLite vector store.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #llm #rag #embeddings #anthropic

License

MIT (license)

Dependencies

args, crypto, http, meta, path, sqlite3

More

Packages that depend on ai_broker