Supercharge your development with the Google Developer Knowledge API ecosystem Google launched the Developer Knowledge API ecosystem, an official programmatic source of truth for developer documentation covering Google Cloud, Firebase, and Android, designed for AI agents, IDE extensions, and automated workflows. The ecosystem includes a gcloud CLI surface with commands answer-query, documents search-chunks, and documents describe, an agent skill installable via 'npx skills add google/skills --skill retrieving-developer-knowledge', API Explorer, and multi-language client libraries, and it connects to a Developer Knowledge MCP server with REST API fallback. Google said the API is indexed frequently to provide fresh, Markdown-formatted documentation with semantic and keyword search, intelligent document chunking, and grounded Q&A, replacing web-scraping and stale LLM training cutoffs. If you build AI agents or developer tools on Google Cloud, stop relying on brittle web-scraping or wrestling with stale LLM training cutoffs. Build faster, smarter, and with greater confidence using the Google Developer Knowledge API https://developers.google.com/knowledge/api?utm campaign=cloud-ix-social-media-post 562111984 ecosystem, including our gcloud CLI surface, an official agent skill, API Explorer, and multi-language client libraries. Whether you are operating in a command-line terminal, prompting an AI agent, testing requests interactively, or writing production software, our tools deliver Google documentation. The Developer Knowledge API is Google's official, programmatic source of truth for developer documentation about Google Cloud, Firebase, Android, and more. Designed specifically for modern AI agents, IDE extensions, and automated workflows, it replaces brittle web-scraping with a structured API that serves fresh, Markdown-formatted documentation. By offering semantic and keyword search, intelligent document chunking, and grounded Q&A capabilities, the API ensures your agents and developer tools remain accurate and token-efficient. The Developer Knowledge API is indexed frequently to ensure predictable retrieval, fresh documentation, and minimal lag between upstream updates and agent access. With the Developer Knowledge API interfaces, developers and AI agents can discover, retrieve, and synthesize answers grounded in official Google documentation across terminals, IDEs, and backend codebases. The Developer Knowledge API gcloud CLI https://docs.cloud.google.com/sdk/gcloud/reference/developer-knowledge?utm campaign=cloud-ix-social-media-post 562111984 surface integrates official documentation search, retrieval, and grounded Q&A into your command-line environment. It comes pre-installed in Cloud Shell https://cloud.google.com/shell?utm campaign=cloud-ix-social-media-post 562111984 and works across standard Google Cloud SDK installations on Linux, macOS, and Windows without requiring extra plugins or configuration. Key capabilities and commands: answer-query documents search-chunks documents describe Get grounded answers gcloud developer-knowledge answer-query --query="How do I create a BigQuery dataset?" Search document chunks gcloud developer-knowledge documents search-chunks --query="Firestore transactions" Retrieve metadata and content for a specific document gcloud developer-knowledge documents describe "documents/docs.cloud.google.com/storage/docs/creating-buckets" Troubleshoot an error trace by piping it directly into the answer-query command gcloud developer-knowledge answer-query --query="$ cat error.txt " To get started with the gcloud CLI, see the gcloud CLI Quickstart https://developers.google.com/knowledge/quickstart-gcloud?utm campaign=cloud-ix-social-media-post 562111984 . The Developer Knowledge agent skill https://github.com/google/skills/tree/main/skills/developers/retrieving-developer-knowledge establishes a link between AI coding assistants and Google's documentation ecosystem, enabling autonomous tools to access up-to-date technical specifications. Key Benefits searchDocumentChunks documents.get answerQuery curl . Configure the agent skill Configure the skill by running the following CLI helper command in your terminal: npx skills add google/skills --skill retrieving-developer-knowledge This command installs the Developer Knowledge agent skill in your project. The skill instructs your assistant how to use the Developer Knowledge MCP server https://developers.google.com/knowledge/mcp?utm campaign=cloud-ix-social-media-post 562111984 or fall back to the REST API using curl . To connect to the MCP server in your IDE, or to configure authentication with Application Default Credentials or an API key https://developers.google.com/knowledge/quickstart?utm campaign=cloud-ix-social-media-post 562111984 create-secure-key , see Connect to the Developer Knowledge MCP server https://developers.google.com/knowledge/mcp?utm campaign=cloud-ix-social-media-post 562111984 . The client libraries https://developers.google.com/knowledge/quickstart-client-libraries?utm campaign=cloud-ix-social-media-post 562111984 let you embed documentation retrieval, search, and grounded answer generation into production systems, automated CI/CD pipelines, and enterprise knowledge bots. Key benefits: AnswerQuery , SearchDocumentChunks , GetDocument , and BatchGetDocuments . Supported languages: Get started by following the Quickstart https://developers.google.com/knowledge/quickstart-client-libraries?utm campaign=cloud-ix-social-media-post 562111984 to set up your environment, install a library, and start retrieving developer documentation. Code examples: The following example demonstrates how an AI agent can use the Python client library to fetch the latest product release notes, ensuring its responses are grounded in data beyond its training cutoff: python from google.cloud import developer knowledge v1 def FetchMyProductReleaseNotes my product name: str - str: """Fetches the latest release notes to bridge a model's knowledge cutoff.""" Initialize the Developer Knowledge API client my api client = developer knowledge v1.DeveloperKnowledgeClient Formulate a targeted query for the specific product's release notes my search query = f"{my product name} latest release notes" my request = developer knowledge v1.SearchDocumentChunksRequest query=my search query, Retrieve and return the relevant documentation chunks my response = my api client.search document chunks request=my request Extract the chunk text my release notes = my chunk.text for my chunk in my response.chunks return "\n".join my release notes Example usage: my latest notes = FetchMyProductReleaseNotes "Firestore" Code examples across various tasks: The Google APIs Explorer for the Developer Knowledge API https://developers.google.com/knowledge/reference/rest?utm campaign=cloud-ix-social-media-post 562111984 offers an interactive, zero-code interface integrated into Google's developer site, enabling experimentation and verification of API requests and response structures. Through the APIs Explorer, you can test the following core endpoints: Ready to integrate Google developer documentation into your workflows and AI tools? Here are a few ways to get started: