279 Commits

Author SHA1 Message Date
Jack Gerrits
d48b54fcaf rename Handle to HandleAsync 2025-01-28 09:24:16 -05:00
Jack Gerrits
e9d4dcae64 remove agents project 2025-01-28 09:24:16 -05:00
Jacob Alber
20a47ebd43 feat: Flesh out App Builder APIs 2025-01-28 09:24:16 -05:00
Jacob Alber
b08ce5d1a7 chore: Create a CoreOnly solution configuration 2025-01-28 09:24:16 -05:00
Jack Gerrits
0b850fdbdb add unsub test 2025-01-28 09:24:16 -05:00
Jack Gerrits
fd6a369422 fix handler selection 2025-01-28 09:24:16 -05:00
Jack Gerrits
2fd6eee080 fix namespace 2025-01-28 09:24:16 -05:00
Jack Gerrits
e15b449c16 fix test agent 2025-01-28 09:24:16 -05:00
Jack Gerrits
b16b94feb8 WIP, moved to base namespace 2025-01-28 09:24:16 -05:00
Griffin Bassman
a75892635b add xml comments for TopicId.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
42703dd79c add xml comments for MessageContext.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
e2082875e2 add xml comments for KVStringParseHelper.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
9a5242b973 add xml comments for AgentExceptions.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
08ff47383e add xml comments for IUnboundSubscriptionDefinition.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
b69af4aedf add xml comments for ISubscriptionDefinition.cs 2025-01-28 09:24:16 -05:00
Jack Gerrits
2ba7732220 add subscriptions to host builder 2025-01-28 09:24:16 -05:00
Jack Gerrits
fe8faa9133 empty line 2025-01-28 09:24:16 -05:00
Jack Gerrits
b19374e81d first tests 2025-01-28 09:24:16 -05:00
Jacob Alber
8a342ad9e6 feat: AppBuilder/Host pattern for AgentApp 2025-01-28 09:24:16 -05:00
Griffin Bassman
a4e585e69e add xml comments for ISaveState.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
f968b7b8b1 add xml comments for IAgentRuntime.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
271accbc0e add dotnet exceptions and IAgent xml docs 2025-01-28 09:24:16 -05:00
Jacob Alber
60b06583eb fix: Get InProcessRuntime building
* Sanitize APIs more
2025-01-28 09:24:16 -05:00
Jack Gerrits
9669f8bcd9 fix header 2025-01-28 09:24:16 -05:00
Jack Gerrits
4720efb75e move file 2025-01-28 09:24:16 -05:00
Jack Gerrits
52217ed69b impl base agent 2025-01-28 09:24:16 -05:00
Jacob Alber
468bb42cf8 feat: Initial implementation of InProcessRuntime 2025-01-28 09:24:16 -05:00
Jack Gerrits
35dd8f0d9e default close 2025-01-28 09:24:16 -05:00
Jack Gerrits
b0d268fae2 Add IUnboundSubscriptionDefinition 2025-01-28 09:24:16 -05:00
Griffin Bassman
f8325e5907 add xml comments for AgentType.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
4e7162e808 add typesubscription.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
e006240676 fix comment and agentProxy -- build succeeds 2025-01-28 09:24:16 -05:00
Jacob Alber
fd2409f5e1 fix: Add missing AgentId in IAgentRuntime methods
* also formatting fix
2025-01-28 09:24:16 -05:00
Griffin Bassman
7543192838 type prefix subscriptions 2025-01-28 09:24:16 -05:00
Griffin Bassman
1a789dfcc4 fix file headers 2025-01-28 09:24:16 -05:00
Jack Gerrits
c5a319e906 nullable return 2025-01-28 09:24:16 -05:00
Jack Gerrits
0497592e8a add python equiv in core 2025-01-28 09:24:16 -05:00
Griffin Bassman
51b992cfd5 add xml comments for AgentProxy.cs 2025-01-28 09:24:16 -05:00
Jacob Alber
51dbe6cd6d feat: Make the python interface more correct 2025-01-28 09:24:16 -05:00
Griffin Bassman
d6a83a2f7c add xml comments for AgentRuntimeExtensions.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
74ad10f341 add xml comments for AgentMetadata.cs 2025-01-28 09:24:16 -05:00
Griffin Bassman
c6c0351278 add xml comments for AgentId.cs 2025-01-28 09:24:16 -05:00
Jacob Alber
537277554e test: Add test for topic-based delivery 2025-01-28 09:24:16 -05:00
Jacob Alber
0100201dd4 feat: Python-equivalent Interfaces 2025-01-28 09:24:16 -05:00
Ryan Sweet
92941c6d70
Rysweet 5217 add send message (#5219)
this is work to align dotnet autogen with python

## Why are these changes needed?

bringing alignment between the projects

## Related issue number

close #5217 

## Checks

- [ ] I've included any doc changes needed for
https://microsoft.github.io/autogen/. See
https://microsoft.github.io/autogen/docs/Contribute#documentation to
build and test documentation locally.
- [x ] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [ ] I've made sure all auto checks have passed.
2025-01-27 10:14:07 -05:00
Ryan Sweet
0aed066728
Rysweet 5207 net runtime interface to match python add registration to interface and inmemoryruntime (#5215)
* add Registry abstractions and Registry Storage to Core/Contracts
* brings Grpc in line with these abstractions
* add registeragenttype to in memory runtime. Note it's not necessary to
call this because we register all the agents with reflection unless you
tell the runtime not to.....

## Why are these changes needed?

Bringing the .NET more in line with the python

## Related issue number

close #5207 

## Checks

- [] I've included any doc changes needed for
https://microsoft.github.io/autogen/. See
https://microsoft.github.io/autogen/docs/Contribute#documentation to
build and test documentation locally.
- [x ] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [x] I've made sure all auto checks have passed.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-01-27 09:44:39 -05:00
Ryan Sweet
10e40b5a1f
Rysweet 5201 refactor runtime interface (#5204)
Changes to align the .NET code more with the python codebase. 
* rename *Worker to *Runtime
* refactor shared runtime elements to AgentRuntimeBase
* align runtime interface with python

## Why are these changes needed?

Aligning the .NET with the python code and then we can evolve together
from there.

## Related issue number

Closes #5201
2025-01-26 08:09:59 -08:00
Ryan Sweet
b6597fdd24
rysweet-unsubscribe-and-agent-tests-4744 (#4920)
* add tests for core functionality and client/server
* add remove subscription, get subscriptions
* fix LOTS of bugs
* add grpc tuning
* adapt to latest agreed agents_worker proto changes.
2025-01-24 19:24:00 -08:00
raimondasl
06d5ac332b
Fixed typo fixing issue #5186 (#5187)
Co-authored-by: Raimondas Lencevicius <rlencevicius@microsoft.com>
2025-01-24 19:26:29 +00:00
Ryan Sweet
11461b75a2
Rysweet fix integration tests and xlang (#5107)
* fix python path

* update HelloAgent to enable grpc

* agents app remove webapplication and add grpc

* add di for client

* adding events types to grpc di

* warnings to information

* improve logging, add some error handling; fix grpc startup

* improve error logging

* cleaning up publishing of messages and message handling.

* WbApplication->HostedApplication

* formatting

* WebApplication -> HostApplication

* ensure correct .NET versions are available for integration test
2025-01-20 18:06:06 +00:00