microsoft / microsoft/agent-framework
Python: Should Workflow Executor have a handler that accepts a thread and a message?
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.