changes to AgentBase and HostBuilderExtensions to enable leveraging handlers from composition (interfaces) vs inheritance... see HelloAgents sample for usage
closes#3928
is related to #3925
Remove unused code, refactor AgentBase and AgentWorker/Runtime to use interfaces throughout to enable future implementation of alternate runtimes and separation of the gprpc service from Agent Base (for future in-memory version).
Also adds the missing RegisterAgentResponse methods
* Run LocalCommandLineCodeExecutor within venv
* Remove create_virtual_env func and add docstring
* Add explanation for LocalCommandLineExecutor docstring example
* Enhance docstring example explanation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* first notebook for distributed rock, paper and scissors
* add distributed group chat notebook
* fix formatting
* fix pipeline issues
* fix formatting issue
* promote distributed group chat notebook into a multiple files
* fix docs
* fix docs
* fix pyright
* Apply suggestions from code review
Add PR review suggestions
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* improving group chat manager from round robin to LLM based
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove lfs file to fix
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* add gut back using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* re-add gif using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove gitattributes
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* redo git lfs add
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Add handoff message type to chat message types
Add Swarm group chat that uses handoff message to select next speaker
Remove tool call and tool call result message types from chat message types
Remove BaseToolUseChatAgent, move tool call handling from group chat's chat agent container upward to the ToolUseAssistantAgent implementation, which subclasses BaseChatAgent directly.
Renaming for better clarity
---------
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
adopts the new Microsoft.Extensions.AI abstractions
adds a base InferenceAgent
fixes a lot of pain points in the runtime wrt startup/shutdown
fixes some uncaught exceptions in the grpc stream reading
adds an example for running the backend service in its own process
adds an example of an agent that connects to OpenAI/Ollama
adds an example of wrapping an agent app in .NET Aspire
upgrades some dependencies and removes some others
Known bugs: #3922
* test multiversion build
* Work on multiversion build
* update refs
* cancel in progress
* add docs dir
* add version switcher
* add version switcher
* add preferred
* version banner and hacky value override...
* add release version