gemini_langchain

A Dart/Flutter package that integrates Google Gemini with LangChain-style prompt templates and chain execution.
It enables AI-driven workflows in your Flutter or Dart applications with both streaming and non-streaming responses.

GitHub Repository: Amjaddaher/gemini_langchain

Example

For a full working example, see example/example.dart on GitHub


Features

  • Easy initialization with your Gemini API key.
  • Prompt templates to structure AI inputs.
  • Streaming responses for real-time content generation.
  • Minimal, developer-friendly API.

Getting started

1. Install

Add this to your pubspec.yaml:

dependencies:
  gemini_langchain: ^0.0.1

Libraries

gemini_langchain