firebase-ai-logic
Client-side Gemini integration for web apps with multimodal inference, streaming, and on-device hybrid execution.
What it does
- Gemini Developer API: It has a free tier ideal for prototyping, and pay-as-you-go for production
- Vertex AI Gemini API: Ideal for scale with enterprise-grade production readiness, requires Blaze plan
- Before starting, ensure you have Node.js 16+ and npm installed. Install them if they aren’t already available.
- Identify the platform the user is interested in building on prior to starting: Android, iOS, Flutter or Web.
- Requires an upgraded Blaze pay-as-you-go billing plan.
Requirements & configuration
- Vertex AI Gemini API: Ideal for scale with enterprise-grade production readiness, requires Blaze plan
- Use the Gemini Developer API as a default, and only Vertex AI Gemini API if the application requires it.
- Requires an upgraded Blaze pay-as-you-go billing plan.
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Client-side Gemini integration for web apps with multimodal inference, streaming, and on-device hybrid execution.
Source
Repository: https://github.com/firebase/agent-skills
firebase-ai-logic FAQ
What does the firebase-ai-logic skill do?
Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security. Gemini Developer API: It has a free tier ideal for prototyping, and pay-as-you-go for production Vertex AI Gemini API: Ideal for scale with enterprise-grade production readiness, requires Blaze plan
What does firebase-ai-logic require?
Vertex AI Gemini API: Ideal for scale with enterprise-grade production readiness, requires Blaze plan Use the Gemini Developer API as a default, and only Vertex AI Gemini API if the application requires it. Requires an upgraded Blaze pay-as-you-go billing plan.
How do I install firebase-ai-logic?
Run: npx -y skills add https://github.com/firebase/agent-skills --skill firebase-ai-logic --agent claude-code — the source lives at github.com/firebase/agent-skills.
Maintain firebase-ai-logic?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/firebase-agent-skills-firebase-ai-logic?ref=badge) npx agentictools info skills/firebase-agent-skills-firebase-ai-logic The second line is the CLI lookup for this page — handy in READMEs and docs.