microsoft / microsoft/agent-framework

Python: Should Workflow Executor have a handler that accepts a thread and a message?

Open
#2,886 0 comments 0 reactions 1 assignee View on GitHub

@TaoChenOSU is already working on this.

Since Dec 15, 2025.

.NET python question workflows
Dominant language
Python
Stars
13.6k
Forks
2.3k
Avg merge
2d 45m
Merged PRs (30d)
358

Description

This question has come up quite a few times: How do I pass agent threads to the underlying agents in a workflow?

This is especially common for orchestration.

In workflows, users can currently pass a thread to an agent executor or create a custom executor that contains an agent and a handle that takes a thread.

Should we have that built-in to the agent executor?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.