Files
agent-framework/dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation
T
westey ad0dac3c86 .NET: [BREAKING] Add ability to mark the source of Agent request messages and use that for filtering (#3540)
* Add ability to mark the source of Agent request messages and use that for filtering

* Add support for source, in addition to source type, and add unit tests for automatic stamping

* Address PR comments.

* Add merge fixes

* Address PR comments
ad0dac3c86 ยท 2026-02-09 16:53:01 +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