Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring the services and implementing an in-memory runtime for .NET #4005

Merged
merged 87 commits into from
Nov 12, 2024

Conversation

rysweet
Copy link
Collaborator

@rysweet rysweet commented Oct 30, 2024

#3950 #3702

What this is doing:

  • I am refactoring the services on the .NET runtime and attempting to clarify the naming and organization.
  • I added this doc to help capture the naming and concepts.
  • AgentRuntime / Worker should work similar to the python version and enables running the whole agent system in one process. For remote the system uses the versions of the services in the grpc folder.
  • lots of other bug fixes/threading cleanup - passing cancellation token throughout

Services update clarifies the naming and roles:

  • Worker: Hosts the Agents and is a client to the Gateway
  • Gateway:
    -- RPC gateway for the other services APIs
    -- Provides an RPC bridge between the workers and the Event Bus
  • Registry: keeps track of the agents in the system and which events they can handle
  • AgentState: persistent state for agents
  • Roadmap: Management APIs for the Agent System
  • Roadmap: Scheduling: manages placement of agents
  • Roadmap: Discovery: allows discovery of agents and services

Checks

@rysweet rysweet changed the title starting to implement an in-memory only runtime Refactoring the services and implementing an in-memory runtime for .NET Oct 31, 2024
@rysweet rysweet marked this pull request as draft October 31, 2024 16:43
@rysweet rysweet marked this pull request as ready for review November 12, 2024 17:49
@rysweet rysweet merged commit 458d273 into main Nov 12, 2024
38 of 39 checks passed
@rysweet rysweet deleted the rysweet-inmemory branch November 12, 2024 19:05
MohMaz pushed a commit to MohMaz/autogen that referenced this pull request Nov 15, 2024
…ET (microsoft#4005)

closes microsoft#3950 closes microsoft#3702

What this is doing:

I am refactoring the services on the .NET runtime and attempting to clarify the naming and organization.
I added this doc to help capture the naming and concepts.
AgentRuntime / Worker should work similar to the python version and enables running the whole agent system in one process. For remote the system uses the versions of the services in the grpc folder.
lots of other bug fixes/threading cleanup - passing cancellation token throughout
Services update clarifies the naming and roles:

Worker: Hosts the Agents and is a client to the Gateway
Gateway:
-- RPC gateway for the other services APIs
-- Provides an RPC bridge between the workers and the Event Bus
Registry: keeps track of the agents in the system and which events they can handle
AgentState: persistent state for agents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants