mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
3ef67eff10
* Refactor ChatMessageStore methods to be similar to AIContextProvider * Fix file encoding * Ensure that AIContextProvider messages area also persisted. * Update formatting and seal context classes * Improve formatting * Remove optional messages from constructor and add unit test * Add ChatMessageStore filtering via a decorator * Update sample and cosmos message store to store AIContextProvider messages in right order. Fix unit tests. * Update Workflowmessage store to use aicontext provider messages. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> * Improve xml docs messaging * Address code review comments. * Also notify message store on failure --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
3ef67eff10
ยท
2026-01-05 11:51:15 +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