Skip to content

Document CancellationToken propagation through nested tools #8091

Open

Description

Summary

Document how CancellationToken should pass from an agent message handler through a nested tool or workbench call.

Current implementation facts

AutoGen exposes cancellation-aware APIs across core and extension packages.

Problem

Top-level cancellation can appear successful while a nested browser, network, or computation tool continues if the token is not forwarded.

Scope

  • Add a deterministic cancellable nested operation.
  • Show the cancellation result.
  • Identify boundaries that must forward the token.

Non-goals

  • Do not redesign cancellation APIs.
  • Do not add provider-specific behavior.

Acceptance criteria

  • No external credentials are required.
  • The nested operation observes cancellation.
  • Public types are named precisely.

I searched AutoGen issues and PRs for CancellationToken propagation, nested tools, and cancellation documentation before filing this proposal.

Activity

  1. added a commit that references this issue on Aug 31, 2026
    82a3676
  2. added a commit that references this issue on Sep 19, 2026
    ab1e0d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions