mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-18 22:42:54 +00:00
25 lines
1.3 KiB
Markdown
25 lines
1.3 KiB
Markdown
![]() |
### Get start with AutoGen for dotnet
|
||
|
[](https://github.com/microsoft/autogen/actions/workflows/dotnet-build.yml)
|
||
|
[](https://discord.gg/pAbnFJrkgZ)
|
||
|
[](https://badge.fury.io/nu/AutoGen.Core)
|
||
|
|
||
|
Firstly, add `AutoGen` package to your project.
|
||
|
|
||
|
```bash
|
||
|
dotnet add package AutoGen
|
||
|
```
|
||
|
|
||
|
> [!NOTE]
|
||
|
> For more information about installing packages, please check out the [installation guide](Installation.md).
|
||
|
|
||
|
Then you can start with the following code snippet to create a conversable agent and chat with it.
|
||
|
|
||
|
[!code-csharp[](../../sample/AutoGen.BasicSamples/CodeSnippet/GetStartCodeSnippet.cs?name=snippet_GetStartCodeSnippet)]
|
||
|
[!code-csharp[](../../sample/AutoGen.BasicSamples/CodeSnippet/GetStartCodeSnippet.cs?name=code_snippet_1)]
|
||
|
|
||
|
### Examples
|
||
|
You can find more examples under the [sample project](https://github.com/microsoft/autogen/tree/dotnet/dotnet/sample/AutoGen.BasicSamples).
|
||
|
|
||
|
### Report a bug or request a feature
|
||
|
You can report a bug or request a feature by creating a new issue in the [github issue](https://github.com/microsoft/autogen/issues) and specifying label the label "donet"
|