# firebase-ai-logic-basics

> Claude/Codex skill by [@firebase](https://omgskills.com/library/firebase/index.md) · 472 stars · Updated 2026-10-18

Integrates Firebase AI Logic (formerly Vertex AI for Firebase) into mobile and web apps (Android, iOS, Web, and Flutter) to call Gemini models from client code. Use when provisioning or initializing Firebase AI Logic, or adding Gemini features to an app: text generation, multimodal input, chat, streaming, structured output, hybrid on-device inference, App Check protection, or switching models with Remote Config.

## Install

```sh
git clone https://github.com/firebase/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/firebase-ai-logic-basics ~/.claude/skills/firebase-ai-logic-basics
```

## From README

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. & initialization Prerequisites Identify the platform the user is interested in building on prior to starting: Android, iOS, Web, or Flutter.

## Links

- HTML page: https://omgskills.com/library/firebase/skills/firebase-ai-logic/
- GitHub: https://github.com/firebase/agent-skills
- Author: [@firebase](https://omgskills.com/library/firebase/index.md)

## More from this repo

- [extension-to-functions-codebase](https://omgskills.com/library/firebase/agent-skills/skills/extension-to-functions-codebase/index.md) — Skill for converting an installed Firebase Extension (or extension source) into a standalone Cloud Functions for...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
- [firebase-app-hosting-basics](https://omgskills.com/library/firebase/skills/firebase-app-hosting-basics/index.md) — Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
- [firebase-basics](https://omgskills.com/library/firebase/skills/firebase-basics/index.md) — Provides foundational Firebase CLI setup, CLI installation, version checks (\`firebase-tools@latest --version\`), CLI...
   - [@firebase](https://omgskills.com/library/firebase/index.md) · 491 stars
