ai_companion

AI companion for Flutter apps. Drop-in chat, type-safe actions, multi-provider support, and zero-config backend deploy.

pub version CI License: MIT

Features

  • Drop-in chat — embed a fully-styled chat experience with a single widget.
  • Type-safe actions — model your assistant's capabilities as Dart types, not stringly-typed tool schemas.
  • Multi-provider — OpenAI, Anthropic, Google, and pluggable custom providers behind one interface.
  • Zero-config backend deploy — ship a ready-to-host server template so API keys never live in the client app.

Getting started

Add ai_companion to your app's pubspec.yaml:

dependencies:
  ai_companion: ^0.1.0

Then run:

flutter pub get

Usage

import 'package:ai_companion/ai_companion.dart';

// Coming soon — the public API is being finalized.
//
// Widget build(BuildContext context) {
//   return AiCompanion(
//     // ...configuration here
//   );
// }

See the example/ app for a runnable starting point.

Configuration

TODO: add documentation

Additional information

License

MIT © 2026 ngaboindev

Libraries

ai_companion
AI companion for Flutter apps. Drop-in chat, type-safe actions, multi-provider support, and zero-config backend deploy.