Tuesday, December 1, 2026

Google Agent Substrate

 Google Agent Substrate is an open-source, stateful execution runtime for running and scaling millions of isolated AI agent sandboxes on Kubernetes and Google Kubernetes Engine (GKE). Accepted into the Cloud Native Computing Foundation (CNCF) Sandbox and reaching general availability (v1.0) in late 2026, it acts as the low-level compute and sandboxing layer beneath higher-level agent frameworks and orchestrators like Google's Agent Executor (AX), LangGraph, and Kagent. [1, 2, 3, 4, 5]

The Problem It Solves
Interactive and autonomous AI agents typically spend 90% to 95% of their lifecycle idle, waiting on LLM inference, external tool calls, or human approval. Traditional Kubernetes architectures struggle with this pattern: [1, 2]
  • 1:1 Pod-per-agent models waste massive amounts of CPU and RAM while pods sit idle. [1, 2]
  • Standard scale-to-zero destroys the agent's in-memory state and local workspace files, forcing slow 20-to-60-second cold starts on every new prompt. [1, 2, 3]
Core Architecture & Concepts
Agent Substrate solves this by decoupling logical agent sessions from physical Kubernetes Pods. Its architecture relies on four main primitives: [1, 2, 3]
  • Actor: A stateful, running agent instance (containing its active RAM, processes, and local filesystem). [1, 2]
  • ActorTemplate: The configuration blueprint defining an actor's sandbox environment, resource limits, and runtime image. [1, 2]
  • Worker: A continuously running Pod capable of hosting multiple isolated agent sandboxes simultaneously. [1, 2]
  • WorkerPool: A pre-warmed fleet of Worker Pods shared across ActorTemplates. [1, 2]
Key Capabilities & Performance
  • Sub-Second Suspend & Resume: When an agent goes idle, Substrate snapshots its exact RAM state and local files to local disk or object storage (such as Google Cloud Storage) and releases the compute slot. When a new request arrives, it restores that exact memory state onto a warm Worker in under 500 milliseconds, supporting over 500 activations per second.
  • High Compute Density: By multiplexing dormant and active actors across warm pools, Substrate achieves roughly 10x higher density than standard containers—capable of hosting over 1,000 dormant agents per host or running ~250 active interactive sessions across just 8 Pods.
  • Zero-Trust Sandbox Isolation: Because AI agents often execute untrusted, LLM-generated code, Substrate isolates each actor using Cloud Hypervisor microVMs or gVisor sandboxes.
  • Network & Credential Security: Built-in egress proxies and gateways enforce strict network policies and inject API credentials at the network boundary so sensitive secrets are never exposed directly inside the agent's sandbox environment. [1, 2, 3, 4, 5, 6]
Ecosystem & Requirements
While the core project on GitHub runs on standard Kubernetes clusters, Agent Substrate on GKE integrates directly with GKE Standard (v1.37+), Google Axion processors, Cloud Storage, and Filestore. Running microVM-level isolation requires x86 nodes with nested virtualization enabled. [1, 2]
Would you like to explore a specific area next, such as:
  • Architecture comparisons (e.g., how it compares to standard GKE Agent Sandbox or AWS Firecracker setups)
  • Deployment requirements and setup steps on GKE or open-source Kubernetes
  • Integration details with frameworks like Google Agent Executor (AX) or LangGraph

aud and sub in JWT token

 In a JSON Web Token (JWT), sub (subject) identifies who or what the token is about (usually a user), while aud (audience) specifies the intended recipient service or API that should accept the token. [1, 2]

sub (Subject)
  • Meaning: Identifies the principal or entity the token represents, such as a user ID, device, or service account.
  • Uniqueness: It is typically unique within the context of its issuer (iss), so combining (iss, sub) avoids collisions across identity providers.
  • Related terms / synonyms: Subject identifier, user ID, principal, entity ID. [1, 2, 3, 4]
aud (Audience)
  • Meaning: Identifies the intended consumer(s) of the JWT, such as a specific API or resource server. It can be a single string or an array of strings. [1, 2]
  • Security role: Receiving services check aud against their own identifier and reject tokens that do not match, preventing a token meant for one API from being replayed against another. [1, 2]
  • Related terms / synonyms: Intended recipient, target audience, resource identifier, consumer.
Example Payload
json
{
  "iss": "https://auth.example.com",
  "sub": "user_98765",
  "aud": ["https://api.example.com", "https://billing.example.com"],
  "exp": 1796134800
}
Use code with caution.

Wednesday, November 25, 2026

How Agent Skill works in A2A?

You said: What is Agent Skills in Google A2A framework

How Agent Skills Work in A2A
  • Capability Discovery: An A2A server publishes an Agent Card listing its available skills so client agents know what tasks they can hand off.
  • Skill Metadata: In A2A, an AgentSkill defines attributes such as an id, name, description, input_modes and output_modes (e.g., text/plain), tags, and usage examples.
  • Task Delegation: When another agent needs a capability matching a listed skill, it uses A2A over HTTP/SSE/JSON-RPC to send a task and track its execution.
Usage Examples
  • Simple Text / Echo Skill: An example echo_bot skill with text/plain input and output modes that acknowledges a request and returns a "Hello World" response.
  • Cross-Agent Task Handoff: A sales agent discovering a finance agent's invoice or billing skill via its Agent Card and delegating a payment or quote task to it.
  • Cloud & Workflow Skills: Modular skill packages in Google Cloud environments that guide agents on workflows for services like BigQuery, Cloud Run, or GKE.
Related Terms and Synonyms
Depending on whether you are looking at the A2A protocol specification or general agent architecture, related terms include:
  • Capabilities / Abilities / Functions: Used in A2A documentation to describe what a remote agent can do.
  • Agent Card: The JSON metadata document where A2A skills and authentication requirements are advertised.
  • MCP (Model Context Protocol) / Tools: Connects agents to external tools, APIs, and data sources—complementing A2A (inter-agent coordination) and skills (task instructions/capabilities).
Are you building an A2A Agent Card and defining AgentSkill schemas, or looking to package SKILL.md instructions in ADK? Sharing your language/SDK (such as Python or JavaScript) can help me provide a concrete example.
+7

  • Google Cloud
    What are Agent Skills? | Google Cloud
    August 19, 2026 — Agent skills: Reusable packages of instructions and context in natural language extending AI agent capabilities using progressive ...
  • Google for Developers Blog
    Announcing the Agent2Agent Protocol (A2A) - Google Developers Blog
    April 9, 2025 — Google Cloud launched the open Agent2Agent (A2A) protocol on April 9, 2025, with over 50 technology and service partners to enable...
  • A2A Protocol
    3. Agent Skills & Agent Card
    # Agent Skill In __main__.py , you can see how a skill for the Helloworld agent is defined: # Defines the abilities or functions t...