One unified API for Gemini, OpenAI, Anthropic, HuggingFace, Ollama, on-device Gemma, and GGUF models — with tool calling, memory, and safety guardrails built in.
The Problem
Building AI agents in Flutter is fragmented. Every provider has a different API shape. There's no standard way to switch between cloud and on-device inference. Tool calling, persistent memory, and safety guardrails are always custom implementations.
The result: developers rebuild the same plumbing for every project.
What It Is
genesis_ai_sdk is a universal Flutter SDK for building AI agents that run locally and in the cloud. One clean API. Seven providers. Zero vendor lock-in.
Supports:
Gemini (Google)
OpenAI (GPT-4o)
Anthropic (Claude)
HuggingFace (any public model, no download needed)
Ollama (local server, no API key)
On-device Gemma (fully offline)
On-device GGUF via llama.cpp (fully offline)
Switch providers by changing one line.…