{
  "schema_version": "openagent.agent_resource_packet.v1",
  "id": "res_gemma_4",
  "slug": "gemma-4",
  "name": "Gemma 4",
  "canonical_url": "https://www.openagent.bot/models/gemma-4",
  "category": "models",
  "resource_type": "model",
  "summary": "Gemma 4 is a family of Apache 2.0 open models from Google DeepMind, designed for reasoning, multimodal inputs, edge deployments, and developer workflows that need more control than hosted-only APIs.",
  "capabilities": [
    "local-inference"
  ],
  "constraints": [
    "open-source",
    "self-hosted",
    "local-first",
    "open-weights"
  ],
  "scenarios": [
    "local-ai",
    "self-hosted-ai"
  ],
  "deployment_modes": [
    "local",
    "self_hosted",
    "cloud"
  ],
  "interfaces": [
    "docs",
    "demo"
  ],
  "integrations": [
    "Google AI Studio",
    "Google AI Edge Gallery",
    "Hugging Face",
    "Vertex AI",
    "llama.cpp",
    "Ollama",
    "vLLM",
    "MLX"
  ],
  "permission_surface": [
    "external services"
  ],
  "risk_level": "moderate",
  "source_confidence": "medium",
  "recommended_workflows": [
    "Evaluation and observability",
    "Local or private AI stack"
  ],
  "avoid_when": [
    "Users who want a fully managed consumer assistant",
    "Teams that do not want to handle model serving, safety testing, or deployment details",
    "Workflows that require guaranteed hosted SLA support from the model provider"
  ],
  "primary_actions": [
    "Open Homepage",
    "Read setup docs",
    "Open Demo",
    "Run a workstation model with Ollama",
    "Run the smaller edge-oriented variant"
  ],
  "evidence_urls": [
    "https://deepmind.google/models/gemma/gemma-4/",
    "https://ai.google.dev/gemma",
    "https://aistudio.google.com/",
    "https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12b/",
    "https://developers.googleblog.com/bring-state-of-the-art-agentic-skills-to-the-edge-with-gemma-4/",
    "https://huggingface.co/collections/google/gemma-4",
    "https://ollama.com/library/gemma4",
    "https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/"
  ],
  "last_verified_at": "2026-06-04",
  "machine_readable": {
    "json_url": "https://www.openagent.bot/models/gemma-4.json",
    "markdown_url": "https://www.openagent.bot/models/gemma-4.md",
    "agent_json_url": "https://www.openagent.bot/models/gemma-4.agent.json"
  }
}