New advertisers: 50% off your first month with code FIRSTMONTHSee slots
firebase avatar

Firebase Ai Logic Basics

Official Firebase skill for calling Gemini from client-side Android, iOS, Web, and Flutter apps without a backend.

skills.sh installs
146.3K
GitHub stars
522
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers provisioning with npx -y firebase-tools@latest init ailogic, SDK setup, text and multimodal input, chat, and streaming responses
  • Includes text-to-speech generation, Nano Banana image generation, Google Search grounding, structured JSON output, and hybrid on-device inference
  • Enforces current Gemini 3+ model names and warns that GoogleService-Info.plist, google-services.json, and firebase_options.dart do not enable the service
  • Designed for app developers adding Gemini features with Firebase AI Logic; requires Node.js 20+ for the CLI steps

Install

$ npx -y skills add firebase/agent-skills --skill firebase-ai-logic-basics -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Firebase AI Logic Basics

Overview

Firebase AI Logic is a product of Firebase that allows developers to add gen AI to their mobile and web apps using client-side SDKs. The app can directly call Gemini models via Firebase AI Logic without the developer needing to manage a dedicated backend. Firebase AI Logic was previously known as "Vertex AI for Firebase".

It supports the two Gemini API providers:

  • Gemini Developer API: It has a free tier ideal for prototyping, and pay-as-you-go for production
  • Agent Platform Gemini API (formerly branded Vertex AI): Ideal for scale with enterprise-grade production readiness, requires Blaze pricing plan

Use the Gemini Developer API as a default, and only Agent Platform Gemini API (formerly branded Vertex AI) if the application requires it.


Setup & initialization

Prerequisites

Details

Repository
github.com/firebase/agent-skills
Categories
AI Agents & LLM Apps, Mobile Apps, Frontend & UI Code
First seen
May 16, 2026

More from firebase/agent-skills

All 17

Similar to Firebase Ai Logic Basics

More AI Agents & LLM Apps