<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl" -->

---
title: Introducing Support for Local AI Models in the...
description: Google's Antigravity SDK now supports running agentic AI workflows entirely offline using local models, with initial support for Gemma 4 26B A4B via Google AI...
canonical: https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Introducing Support for Local AI Models in the Antigravity SDK | daily.dev
og:description: Google's Antigravity SDK now supports running agentic AI workflows entirely offline using local models, with initial support for Gemma 4 26B A4B via Google AI...
og:url: https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl
og:image: https://api.daily.dev/og/posts/P3cJeNPFL.png
og:image:alt: Introducing Support for Local AI Models in the Antigravity SDK
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing Support for Local AI Models in the Antigravity SDK

**[Google Developers](https://daily.dev/sources/googledevs)** · 4 min read · 4 upvotes · 0 comments

## Summary

Google's Antigravity SDK now supports running agentic AI workflows entirely offline using local models, with initial support for Gemma 4 26B A4B via Google AI Edge's LiteRT runtime. Developers can install the SDK, import the Gemma model locally, and run agents fully on-device, recommended on machines with over 24GB VRAM or unified memory. The post walks through setup code, a hybrid architecture pattern pairing a cloud model (Gemini 3.8 Flash) as planner with a local swarm of Gemma instances for execution, and a demo where a local agent autonomously builds a CLI resource monitor. The SDK also supports OpenAI-compatible local servers like Ollama, LM Studio, and vLLM via a LocalOpenAIAgentConfig.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developers.googleblog.com/introducing-support-for-local-ai-models-in-the-antigravity-sdk>

## Questions this post answers

### How do I run Gemma 4 26B locally with the Antigravity SDK?

Install the SDK and litert-lm via pip, then import the model with litert-lm import using the huggingface repo litert-community/gemma-4-26B-A4B-it-litert-lm. Point a LiteRTAgentConfig at the resulting model.litertlm file and use it inside an Agent context manager to chat with the local model. A machine with more than 24GB VRAM or unified memory is recommended.

_daily.dev surfaces setup guides like this for developers wiring local models into agent workflows._

### Does the Antigravity SDK support local inference servers besides LiteRT?

Yes, it offers plug-and-play support for any OpenAI-compatible server, including Ollama, LM Studio, and vLLM, through a LocalOpenAIAgentConfig class. This lets developers swap inference backends while keeping agent orchestration, tools, and workflows unchanged.

_Comparing local inference backends gets easier when daily.dev tracks agent tooling updates like this._

### What is the Architect-Builder pattern for combining cloud and local AI models?

It pairs a cloud model as the planner, such as Gemini 3.8 Flash acting as architect and conductor, with a local swarm of smaller models like Gemma 4 26B handling execution entirely on-device. This hybrid setup preserves data privacy for sensitive tasks like auditing code while maximizing token efficiency by offloading heavy lifting locally.

_daily.dev helps engineers designing hybrid cloud-local agent architectures stay on top of new patterns._

## Similar posts on daily.dev

- [Google Antigravity SDK Adds Local Model Support for Greater Token Efficiency and Code Privacy](https://daily.dev/posts/google-antigravity-sdk-adds-local-model-support-for-greater-token-efficiency-and-code-privacy-trbxzh6yk) · InfoQ · 0 upvotes · 0 comments
- [Bring state-of-the-art agentic skills to the edge with Gemma 4](https://daily.dev/posts/bring-state-of-the-art-agentic-skills-to-the-edge-with-gemma-4-hucjhitib) · Google Developers · 1 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#local-ai](https://daily.dev/tags/local-ai), [#gemma](https://daily.dev/tags/gemma)

[View this post on daily.dev](https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Introducing Support for Local AI Models in the Antigravity SDK","url":"https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl"},"datePublished":"2026-09-23T17:03:09.975Z","dateModified":"2026-09-23T17:03:32.456Z","description":"Google's Antigravity SDK now supports running agentic AI workflows entirely offline using local models, with initial support for Gemma 4 26B A4B via Google AI...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/77b32652180953409bfcc6ee5f2f1d97?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/77b32652180953409bfcc6ee5f2f1d97?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Google Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Google Developers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ea4bbded4e7f45ccb82e121a3156535f","url":"https://daily.dev/sources/googledevs"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,local-ai,gemma","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Google Developers","item":"https://daily.dev/sources/googledevs"},{"@type":"ListItem","position":3,"name":"Introducing Support for Local AI Models in the Antigravity SDK"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/introducing-support-for-local-ai-models-in-the-antigravity-sdk-p3cjenpfl#faq","mainEntity":[{"@type":"Question","name":"How do I run Gemma 4 26B locally with the Antigravity SDK?","acceptedAnswer":{"@type":"Answer","text":"Install the SDK and litert-lm via pip, then import the model with litert-lm import using the huggingface repo litert-community/gemma-4-26B-A4B-it-litert-lm. Point a LiteRTAgentConfig at the resulting model.litertlm file and use it inside an Agent context manager to chat with the local model. A machine with more than 24GB VRAM or unified memory is recommended. daily.dev surfaces setup guides like this for developers wiring local models into agent workflows."}},{"@type":"Question","name":"Does the Antigravity SDK support local inference servers besides LiteRT?","acceptedAnswer":{"@type":"Answer","text":"Yes, it offers plug-and-play support for any OpenAI-compatible server, including Ollama, LM Studio, and vLLM, through a LocalOpenAIAgentConfig class. This lets developers swap inference backends while keeping agent orchestration, tools, and workflows unchanged. Comparing local inference backends gets easier when daily.dev tracks agent tooling updates like this."}},{"@type":"Question","name":"What is the Architect-Builder pattern for combining cloud and local AI models?","acceptedAnswer":{"@type":"Answer","text":"It pairs a cloud model as the planner, such as Gemini 3.8 Flash acting as architect and conductor, with a local swarm of smaller models like Gemma 4 26B handling execution entirely on-device. This hybrid setup preserves data privacy for sensitive tasks like auditing code while maximizing token efficiency by offloading heavy lifting locally. daily.dev helps engineers designing hybrid cloud-local agent architectures stay on top of new patterns."}}]}
```

