Research review / frameworks

Framework Watch: ADK Java 1.16 Adds TASK and CHAT Agent Modes, and Two Frameworks Gate What Reaches the Model After a Handoff

ADK Java 1.16.0, tagged November 30, adds experimental TASK and CHAT modes for workflow agents with isolated histories. Hours later its main branch gained a policy for which A2A file URIs reach the model, and on December 1 the OpenAI Agents SDK merged opt-in input guardrails after a handoff. Both gates are unreleased.

By Sandeep Belgavi · Published 2026-12-01

Three changes landed within about 10 hours of each other. One is in a release. The other two are merged but not yet in any tagged version, which matters for anyone planning upgrades.

ADK Java 1.16.0: agent modes for workflows

ADK Java 1.16.0 was tagged at 16:43 UTC on November 30, 2026. The new AgentMode enum is marked experimental and has three values:

  • SINGLE_TURN "answers one input with one response", and such sub-agents can now be called as tools.
  • CHAT "holds a multi-turn conversation with the user over the shared session history."
  • TASK "works on a task in its own isolated history until it calls finish_task with an output that matches its output schema." While a task node waits on the user, no other workflow node starts.

The release also adds isolation scopes that keep each agent's history to its own scope, run-time checks of node input, output and state writes against declared schemas, and a fix so the next sub-agent starts only after the previous one is saved. The enum's own documentation carries a warning: a plain user reply goes to the task that asked last, "so task nodes that ask in parallel can't be answered reliably."

Two gates on what reaches the model

  • ADK Java A2A file URIs (main, unreleased): three commits between 20:10 and 21:21 UTC on November 30 add FileUriPolicy. Its reasoning: "A model backend fetches a file URI with the agent's own credentials, so a URI chosen by a caller or a remote agent can read anything the agent can." Schemes such as file and data, loopback hosts, IP-literal hosts and cloud metadata servers are never passed on. Choices include denyAll(), allowAll(), prefixes, predicates and, from a later commit, the session's own GCS artifacts. A refused part becomes a placeholder, is dropped, or fails the conversion. Important: the default is a legacy policy that still admits everything except the never-safe URIs, so upgrading alone protects only against those.
  • OpenAI Agents SDK handoff guardrails (main, unreleased): PR #6291, merged at 02:21 UTC on December 1, adds RunConfig(run_handoff_input_guardrails=True). The PR explains that "a tool can introduce new content after the starting agent checks the user's message", so the destination agent now checks its own input first. The option is off by default. The runner refuses a guarded handoff when the destination could inherit server-side history the guard cannot see. Runs that require the check write checkpoint schema 1.25, which v0.26.1 rejects. A follow-up, PR #6295 (merged 03:07 UTC on December 1), keeps ordinary checkpoints at 1.22 so older workers can still resume them during a rolling upgrade. Its advice: "Upgrade readers before enabling run_handoff_input_guardrails for runs they may resume."

Analysis: the common idea is that the trust check at the front door is not enough once agents hand work to each other. Content arrives later from tools, remote agents and file links, and each of those needs its own check. Both projects chose opt-in, which keeps existing apps working but means the protection is only as good as each team's configuration.

Original exercise, not executed: Tanishka hardens the Belgavi's Book Store returns agent, logged as CASE-9162. The triage agent hands refund cases to a specialist that checks its own input before acting. Files attached by a partner agent are accepted only from the store's own artifact bucket for that session, and anything else becomes a placeholder that a person reviews.

Sources accessed December 1, 2026. Views are my own and do not represent any employer, past or present.

I think the FileUriPolicy comment is one of the clearest statements of the agent confused-deputy problem I have seen in a framework: the model fetches with your credentials, so whoever chooses the URL borrows them. My view is that teams should set an explicit policy now rather than wait for the default to tighten. For the Agents SDK, the checkpoint rule matters most. Upgrade every worker that may resume a run before turning the option on, or protected runs will fail on older workers.

Sources and evidence

ADK Java 1.16.0 (November 30) adds experimental SINGLE_TURN, CHAT and TASK agent modes with isolated histories. Unreleased on main, ADK Java's FileUriPolicy limits which A2A file URIs reach the model, and the OpenAI Agents SDK adds opt-in guardrails after handoffs, whose checkpoints older SDKs cannot resume.