Files
agent-framework/dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation
T
westey eff5aee5aa .NET: Add per run / thread feature collection support and improved custom ChatMessageStore support (#2345)
* Add the ability to override services on an agent per run.

* Remove Run from AgentFeatureCollection name.

* Adding features param to GetNewThread.

* Move feature collection.

* Add features to DeserializeThread

* Remove servicecollection based option

* Add feature collection unit tests and fix bug identified in code review.

* Add more unit tests for DelegatingAIAgent and AgentRunOptions

* Fix formatting.

* Address PR comments.

* Switch to dedicated ConversationIdAgentFeature and improve 3rd party storage samples.

* Fix bug in sample.
eff5aee5aa ยท 2025-11-20 18:33:14 +00:00
History
..

Agent with Custom Implementation

This sample demonstrates how to create a fully custom agent implementation without relying on external AI services.

Overview

The sample creates a simple "parrot" agent that:

  • Converts user input to uppercase
  • Supports both synchronous and streaming invocation modes
  • Demonstrates the complete implementation requirements for a custom agent

This pattern is useful when you need to:

  • Integrate with custom AI models or services
  • Create rule-based agents without AI
  • Build agents with specific custom logic