5 Commits

Author SHA1 Message Date
Bo Yang ed8add2e9b test(cli): Make JSON test files deterministic and sequential
Sort keys when saving rebuilt JSON test files and re-assign sequential event IDs to avoid gaps from filtered events. Also applied these changes to all existing test files in the contributing folder.

Change-Id: Ib126228f016db1d28030eee4f7d9d8cbc604e038
2026-04-10 11:08:42 -07:00
Bo Yang 4476854455 feat(events): make run_id calculated and remove from JSON dump
Change-Id: Ida7d49b36bf6f590796f5c22ca26e5dc121352a5
2026-04-09 09:44:59 -07:00
Xuan Yang c7f3c625e2 test(cli): Prevent random pollution in replay tests via JSON config
Running all tests caused the global random state to diverge, failing samples that rely on specific random sequences (like retry and loop_self). Moving mock values to JSON files allows deterministic replay without hardcoding sample paths in the runner.

Change-Id: I8e8b14cc54baa47da96aecdbaacb391868d528bb
2026-04-08 15:32:51 -07:00
Wei (Jack) Sun bf3c1195b4 chore(workflow): Merge new_workflow_samples tests into workflow_samples
Moved tests directories from contributing/new_workflow_samples to contributing/workflow_samples.
Removed contributing/new_workflow_samples directory.
Preserved agent.py files in workflow_samples to maintain feature flag support.

Change-Id: Ic59973c513997dbfd7a3aa278968efa4cc374ef8
2026-04-04 15:55:31 -07:00
Wei (Jack) Sun 1c64a41b53 feat: ADK 2.0 alpha
Introduces two major capabilities:
- Workflow runtime: graph-based execution engine for composing
  deterministic execution flows for agentic apps, with support for
  routing, fan-out/fan-in, loops, retry, state management, dynamic
  nodes, human-in-the-loop, and nested workflows
- Task API: structured agent-to-agent delegation with multi-turn
  task mode, single-turn controlled output, mixed delegation
  patterns, human-in-the-loop, and task agents as workflow nodes

Co-Authored-By: Bo Yang <ybo@google.com>
Co-Authored-By: George Weale <gweale@google.com>
Co-Authored-By: Sean Zhou <seanzhougoogle@google.com>
Co-Authored-By: Shangjie Chen <deanchen@google.com>
Co-Authored-By: Swapnil Agarwal <swapnilag@google.com>
Co-Authored-By: Wei Sun <weisun@google.com>
Co-Authored-By: Xuan Yang <xygoogle@google.com>
Co-Authored-By: Yifan Wang <wanyif@google.com>
Change-Id: I35932c50cfe29ff68559e3781713dbb5eb7b3382
2026-03-17 23:24:58 -07:00