microsoft / microsoft/agent-framework
Limit agent execution by tokens consumed
Open
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
Stop agent execution after consuming a certain number of tokens
Also check out:
https://devblogs.microsoft.com/agent-framework/governance-at-the-speed-of-agents-microsoft-agent-framework-and-agent-governance-toolkit-better-together/
https://github.com/microsoft/agent-governance-toolkit/blob/main/agent-governance-dotnet/src/AgentGovernance/AgentGovernance.csproj
To see if it already solves the problem.
Contributor guide
Assessment
This issue has not been assessed yet.