microsoft / microsoft/agent-framework

Investigate adding an AgentFinishReason abstraction

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13.6k
Forks
2.3k
Avg merge
2d 45m
Merged PRs (30d)
358

Description

`ChatFinishReason` as part of `ChatResponse`, and is being added to `AgentRunResponse`. The purpose of this task is to investigate if we need to extend the possible finishreasons for agents, for instance for user approvals or other reasons why a Agent would stop vs a ChatClient. We should look at agents that are not wrappers for LLM's such A2A, Copilot Studio, ...

Contributor guide

Open the contributing guide

Research direction

Start by reading ChatFinishReason as used by ChatResponse and AgentRunResponse, then compare agents that are not wrappers for LLMs, including A2A and Copilot Studio. Determine whether agent-specific reasons such as user approvals are needed and document the resulting abstraction and completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.