Files
agent-framework/workflow-samples/README.md
T
Chris 6d0f28eb9b .NET Workflows - Re-enable Declarative Integration Tests (#1080)
* Investigate

* Next

* Update initialization

* Should be ok

* Agent definition dx

* Link agent definitions

* Link agent definitions

* Path resolution #2

* Fix path resolution

* Another pass

* Another

* Better

* One more

* Whoopsie

* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/AgentFactory.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Namespace

* Cleanup

* Temp config for pipeline

* Another temp workaround

* Test config: Bing Grounding Tool

* Update template

* Next pass

* Ok now

* Cleanup

* Test note

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 22:21:45 +00:00

28 lines
1.2 KiB
Markdown

# Declarative Workflows
This folder contains sample workflow definitions than be ran using the
[Declarative Workflow](../dotnet/samples/GettingStarted/Workflows/Declarative) demo.
Each workflow is defined in a single YAML file and contains
comments with additional information specific to that workflow.
A _Declarative Workflow_ may be executed locally no different from any `Workflow` defined by code.
The difference is that the workflow definition is loaded from a YAML file instead of being defined in code.
```c#
Workflow<string> workflow = DeclarativeWorkflowBuilder.Build<string>("HelloWorld.yaml", options);
```
Workflows may also be hosted in your _Azure Foundry Project_.
> _Python_ support in the works!
#### Agents
The sample workflows rely on agents defined in your Azure Foundry Project.
To create agents, run the [`Create.ps1`](./setup) script.
This will create the agents used in the sample workflows in your Azure Foundry Project and format a script you can copy and use to configure your environment.
> Note: `Create.ps1` relies upon the `FOUNDRY_PROJECT_ENDPOINT` setting. See [README.md](../dotnet/samples/GettingStarted/Workflows/Declarative/README.md) from the demo for configuration details.