CereBro is a model-agnostic AI Agent Wrapper for .Net that supports the Model Context Protocol, allowing developers to write tools compatible with various AI models like OpenAI without code changes.
CereBro is a model-agnostic AI Agent Wrapper for .Net, leveraging the Model Context Protocol and its Official C# SDK. This allows developers to create tools compatible with various AI models without code modification.
Supported:
Planned:
Install via NuGet:
dotnet add package Rob1997.CereBro
dotnet add package Rob1997.CereBro.Open-AI
servers.json
.builder.BuildCereBro
with CereBroConfig
in Program.cs
.dotnet run
.CereBro uses the Console as a chat dispatcher, but you can implement IChatDispatcher
for custom dispatchers.
Implement Microsoft.Extensions.AI.IChatClient
and create a FunctionInvokingChatClient
placeholder. Use the UseChatClient<T>
extension method to add the model. Note that CereBro currently supports one model at a time.
Contributions are welcome via pull requests and issue reports.