Lifestyle
Google Cloud Launches Spanner Queues: Putting Message Queues Inside Database Transactions to Make AI Agents More Reliable
Google Cloud has announced the general availability of Spanner queues, which make message creation part of a database transaction. The aim is to stop AI agents' "state" and "actions" from falling out of sync. This article covers Google Cloud's claims, the main features, and what it means for general readers.
About 6 min read

What Google Cloud announced
Google Cloud announced on its official blog that Spanner queues are now generally available (general availability, meaning the feature is no longer in preview). Spanner is Google Cloud's database service. According to the company, Spanner queues are a native transactional messaging feature built directly into the Spanner database. The post is bylined by product manager Nitin Sagar and engineering manager Matthew Mucklo.
A "queue" here can be thought of as a to-do list of jobs waiting to be processed. A "transaction" is a set of data changes bundled together that either all complete or are all canceled. Google Cloud says that with Spanner queues, creating a message is simply another write within a transaction. An AI agent is an AI program that can carry out tasks on its own, such as issuing refunds or managing inventory. When such an agent updates its own state, that update and the instruction for "what to do next" are written together as a single unit. Either everything succeeds or nothing takes effect.
The problem it aims to solve: state and actions out of sync
Google Cloud notes that AI agents often need to record their internal state in a database. At the same time, they dispatch asynchronous actions (work that doesn't have to finish immediately and runs later) through a separate messaging or event-queue system. The company argues that having the two systems commit independently breaks transactional consistency.
Google Cloud gives two failure scenarios. In one, the database is updated but the action is never sent, so the agent "decided but didn't act". In the other, the action is sent but the database update is rolled back (undone), so the agent acts on invalid state. The company says developers previously had to build their own workarounds, such as the outbox pattern, idempotency layers and reconciliation programs. An idempotency layer is a mechanism that ensures running the same action repeatedly doesn't produce duplicate results. Google Cloud describes these workarounds as a heavy reliability burden.
| Aspect | Traditional approach (as described by Google Cloud) | Spanner queues (according to Google Cloud) |
|---|---|---|
| State and messages | Database and messaging system commit separately | Committed together or fail together in one transaction |
| Delays and scheduling | Requires an external cron scheduler (a tool that runs jobs on a timer) or polling (repeatedly checking for new work) | Messages can be dispatched immediately or scheduled for future delivery |
| Reliability safeguards | Self-built outbox, idempotency layer, reconciliation programs | Guarantees at-least-once delivery and at-most-once acknowledgment, enabling exactly-once processing |
| Monitoring | Message storage is often a black box | Query queue tables with standard SQL |
Key features
- Deciding and acting in one step: Google Cloud says an agent can update its memory or state and add a task to the queue for another agent in the same transaction. Both are treated as one indivisible ("atomic") change, so they always complete together.
- Scheduling and delays: according to the company, delayed retries, scheduled checks or SLA (service level agreement) escalation timers can all be written alongside state updates.
- Human approval and timeouts: in Google Cloud's example, an agent waiting for a manager's approval can record a pending-approval state and schedule an escalation for 72 hours later. If the manager approves early, the escalation task can be canceled in the same transaction.
- Lease management: a "lease" is the period during which a worker temporarily claims a task. Google Cloud says Spanner manages message leases automatically. Leases can be extended for long-running LLM (large language model) reasoning or external API calls.
- SQL monitoring: the company says queues can be defined, inspected and managed with GoogleSQL. Execution records can be audited with standard SQL.
Google Cloud also draws a distinction between Spanner change streams and Spanner queues. Change streams continuously capture data changes in the database and stream them to downstream analytics or storage. Spanner queues are designed specifically for transactional task orchestration.
What it means for general readers
Ordinary users won't interact with Spanner queues directly, but they may indirectly experience the problems it aims to solve. Google Cloud uses refunds and approvals as examples. If an agent's "records" and "actual actions" fall out of sync, things that should happen may not, or reminders may still arrive after approval. Google Cloud says this feature hands exactly these consistency problems over to the database.
Google Cloud says Spanner queues can also be used beyond AI agents. Its examples are social feeds, live news updates, retail order and inventory workflows, and transaction notifications in financial services. Actual results still depend on how each company designs and uses it, and no independent source has yet verified its performance.
Frequently asked questions
What are Spanner queues?
According to Google Cloud, Spanner queues are a transactional messaging feature built directly into the Spanner database. Creating a message is like writing one more record in a transaction, so it succeeds or fails together with the other data updates.
Why does Google Cloud say it is especially suited to AI agents?
Google Cloud notes that AI agents often need to record state while dispatching actions. If the two live in separate systems, an agent may decide something but never carry it out, or act on invalid state. Spanner queues let both happen within the same transaction.
Can it guarantee a task runs only once?
Google Cloud says it guarantees at-least-once delivery and at-most-once acknowledgment, which users can use to "achieve" exactly-once processing. This means correct application design is still required. In the company's example, the task ID is used as an idempotency key for external APIs so that duplicate requests aren't executed twice.
How is it different from Spanner change streams?
According to Google Cloud, change streams continuously capture data changes and stream them to downstream analytics or storage. Spanner queues are for transactional task orchestration, supporting message leases, scheduled delivery, SQL-based pulling and in-transaction acknowledgment.
Have these claims been independently verified?
No. The information in this article comes solely from Google Cloud's official blog and is a vendor announcement. No independent third party has tested or confirmed it so far.
Browse the latest news in this topic
Lifestyle
GPT-6.1 Sol Launches: New Sol Version in the API, Codex and ChatGPT Work, Not in Chat
OpenAI launched GPT-6.1 Sol on September 29, 2026, with the API name gpt-6.1-sol. The launch rollout covers Codex and ChatGPT Work on Plus, Pro, Business, Enterprise and Edu (Enterprise and Edu need an administrator to enable it); Free and Go are not included at launch, and it is not in Chat (checked September 2026).
Lifestyle
Claude Sonnet 5.5 Launches: Same List Price as Sonnet 5, Available in the API, on Cloud Platforms and in Claude.ai
Anthropic launched Claude Sonnet 5.5 on September 28, 2026. API list prices are the same as Sonnet 5 ($2 per million input tokens, $10 per million output tokens). It is available in Claude.ai, the API and several cloud platforms, and higher-risk cybersecurity requests fall back to Sonnet 5 (checked September 2026).
Lifestyle
Claude Code Adds mods: TypeScript Functions in Plugins Change Its Behavior and Interface
On October 1, 2026, Anthropic introduced Claude Code mods: TypeScript or JavaScript functions that ship inside a plugin and run in the Claude Code process, and can rewrite prompts, manage tool calls and draw new interface. Anthropic says they work in the CLI and the desktop app and are not sandboxed; the documentation says v2.1.287 or later is required (checked October 2026).
Lifestyle
DoorDash launches an AI agent you can text via Apple Messages to order food
According to TechCrunch, DoorDash has announced an AI agent that takes food orders by text message in Apple Messages, so users can order in plain language without opening an app. For now it is open only through a waitlist for US users. It is part of a wider push toward AI assistants that complete everyday tasks for you.
Latest travel guides

GuideTokyo
Where to Stay in Tokyo: Comparing Shinjuku, Ueno, Tokyo Station, Shibuya, Asakusa, Ikebukuro, and Ginza, Plus Airport Access, Accommodation Tax, and Luggage Delivery
Where should you stay in Tokyo? Compare Shinjuku, Ueno, Tokyo Station, Shibuya, Asakusa, Ikebukuro, and Ginza by the same criteria: access from Narita and Haneda, transit routes, nearby attractions, neighborhood character, and who each area suits. Includes a comparison table, a Yamanote Line diagram, Tokyo’s accommodation tax as verified in 2026/9 (changing to 3% in 2027/4), and Airport TA-Q-BIN luggage shipping rules.
- Budget
- Hotels

GuideTokyo
How to Choose Tokyo Transit Passes: Are Suica, Welcome Suica, the Tokyo Subway Ticket, and the JR Pass Worth It?
On a first Tokyo trip, start with an IC card and pay per ride (Welcome Suica has no deposit and is valid for 28 days). If you take four or more subway rides in a day, add a 72-hour Tokyo Subway Ticket for 2,000 yen; a JR Pass is never worthwhile if you stay in Tokyo and do not go to Kansai. See what TOURIST PASMO, Suica on iPhone, and the Tokyo Metro day pass do and do not cover, with a decision chart. Prices verified in September 2026.
- Transport
- Budget

GuideTokyo
Tokyo Disneyland and DisneySea Guide: Ticket Prices, Fantasy Springs, Disney Premier Access (DPA), Standby Pass, and Which Park to Choose for Your First Visit
Tokyo Disney one-day Passport prices vary: most weekdays in 9/2026 cost ¥9,900 and weekends ¥10,900. At 14:00 daily, tickets go on sale for the same date two months later. Free Priority Pass is no longer on the official service list; only paid Disney Premier Access (¥1,000–3,500 per person per use) shortens waits. Covers hours, the 25th anniversary, Standby Pass, Entry Request, Fantasy Springs access and first-visit park choice; checked on the official site in 9/2026.
- Itineraries
- Family