microsoft / microsoft/agent-framework
.NET: Enable tools for workflows
Open
.NET
workflows
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
There may be some scenarios where you want to provide a same set of tools to all agents participating in a workflow. It would be nice in a Workflow to be able to specify the array of tools there rather than separately per agent.
Something like `WithTools`:
```csharp
Workflow workflow = AgentWorkflowBuilder
.BuildSequential(writer, editor);
.WithTools(
[
AIFunctionFactory.Create(tools.GetAuthor),
AIFunctionFactory.Create(tools.GetTitle),
AIFunctionFactory.Create(tools.FormatStory)
]);
```
Contributor guide
Assessment
This issue has not been assessed yet.