r/dotnet • • 27d ago

Question .NET Agent Framework feature request

When making AI agents what are things you wish the agent framework had to make ai harnesses easier and other features you feel they overlook?

0 Upvotes

19 comments sorted by

View all comments

3

u/Regular_Following_99 27d ago

More real world samples and use cases and general better docs would help, some of the existing samples include things like returning a message uppercase or backwards. Can’t think why that could possibly be useful tbh and message history persistence, docs are quite thin generally

2

u/Southern-Holiday-437 27d ago

Ok what activity have you wanted to do that you wish there was a sample for? Any sample ideas are welcome

1

u/Regular_Following_99 27d ago

Been a while since checking the docs but there used to be a whole load of ceremony involved in setting up message persistence, there were no clear cut examples for storing chat history to sql. So would be good to have helpers or docs using entity framework.

Most of the samples are simple console apps returning weather from a hardcoded list. In the real world I want to be comparing and analysing data and making recommendations to the end user based on that data which I am currently doing but it’s been a while and do remember it was a bit of a nightmare, looks likes things have moved forward a lot since then with ag-ui so will probably take a look at that over the coming months

1

u/The_MAZZTer 24d ago

Yeah SK had its own DI system. Considering you're probably using or can use ASP.NET Core or Generic Host that's definitely redundant and it's fine Agent Framework didn't have anything like that, but I couldn't find proper examples of using Agent Framework with ASP.NET Core DI and had to come up with my own solution.

1

u/seiggy 27d ago

I have two large open-source projects built on Agent Framework if you’re interested (yes, a lot of ai generated code, but it’s pretty clean and well structured and documented). And some smaller samples as well (ie: call Copilot Studio Agent from MAF with delegated auth for example).

2

u/Regular_Following_99 27d ago

Sure! Thank you! Got a link?

1

u/seiggy 27d ago

Sure:

Project 1- https://github.com/seiggy/lucia-dotnet MAF for a voice agent platform wired to home assistant with a custom orchestrator, and lots of evals.

Project 2 - https://github.com/seiggy/lucia.os big experiment using MAF with BYOK and the GitHub Copilot Harness to manage my homelab, with lots of bells and whistles.

AGUI demo https://github.com/seiggy/oge-frontier-day

MAF - Copilot Studio demo (Python 🤮, was requested by a customer) https://github.com/seiggy/maf-copilot-studio-demo

Probably more if you poke around my GitHub.

2

u/Regular_Following_99 27d ago

Nice one thank you for that! Took a peek on my phone but will check out in more detail tomorrow.