Commit Graph

345 Commits

Author SHA1 Message Date
Eric Zhu
d6ec7b85e3 Update version to 0.7.0 (#6865) 2025-07-27 23:23:50 -07:00
Justin Cechmanek
3b139c6539 Adds Redis Memory extension class (#6743) 2025-07-25 21:54:22 -07:00
Eric Zhu
06da36080c Setup publishing for pyautogen package (#6813) 2025-07-14 17:34:21 -07:00
Eric Zhu
9f2c5aa1be Update to version 0.6.4 (#6784) 2025-07-09 10:46:23 -07:00
Eric Zhu
2ce1f36649 Update website to 0.6.3 (#6782) 2025-07-09 09:56:43 -07:00
Eric Zhu
4a3634d6da Move docs from python/packages/autogen-core to python/docs (#6757) 2025-07-06 21:31:36 -07:00
Eric Zhu
8ed8c5674b Update documentation version (#6737) 2025-07-01 09:17:40 +09:00
Eric Zhu
087ce0f4eb Unpin uv version to use the latest version (#6713) 2025-06-26 06:28:08 +00:00
alpha-xone
89927ca436 Add mem0 Memory Implementation (#6510)
<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

These changes are needed to expand AutoGen's memory capabilities with a
robust, production-ready integration with Mem0.ai.

<!-- Please give a short summary of the change and the problem this
solves. -->

This PR adds a new memory component for AutoGen that integrates with
Mem0.ai, providing a robust memory solution that supports both cloud and
local backends. The Mem0Memory class enables agents to store and
retrieve information persistently across conversation sessions.

## Key Features

- Seamless integration with Mem0.ai memory system
- Support for both cloud-based and local storage backends
- Robust error handling with detailed logging
- Full implementation of AutoGen's Memory interface
- Context updating for enhanced agent conversations
- Configurable search parameters for memory retrieval

## Related issue number

<!-- For example: "Closes #1234" -->

## Checks

- [x] I've included any doc changes needed for
<https://microsoft.github.io/autogen/>. See
<https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> 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.

---------

Co-authored-by: Victor Dibia <victordibia@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Ricky Loynd <riloynd@microsoft.com>
2025-06-16 15:39:02 -07:00
Eric Zhu
348bcb17a8 Update version to 0.6.1 (#6631) 2025-06-04 22:47:36 -07:00
Eric Zhu
796e349cc3 update website to v0.6.0 (#6625) 2025-06-04 17:19:58 -07:00
Eric Zhu
cc2693b409 Update website 0.5.7 (#6527) 2025-05-13 21:39:33 -07:00
Victor Dibia
7cc7165573 Update docs.yml (#6493)
Bump python version, pin nr-utils

<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

Fix docs build CI bug.
- pydocmkardown depends on pydocspec 
-[ pydocspec was updated May
6](https://pypi.org/project/docspec-python/#history) (two days ago), and
includes a problematic dependency (`nr.utils` which is specified as
[nr-utils](61d3e38c55/docspec-python/pyproject.toml (L14C5-L14C23)).
This caused imports to fail.
- current fix is fixing the pydocspec version.
- Also using the opportunity to update the python version 3.8 -> 3.9 for
the docs build 0.2

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

<!-- Please give a short summary of the change and the problem this
solves. -->

## Related issue number

<!-- For example: "Closes #1234" -->

## Checks

- [ ] I've included any doc changes needed for
<https://microsoft.github.io/autogen/>. See
<https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to
build and test documentation locally.
- [ ] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [ ] I've made sure all auto checks have passed.
2025-05-08 16:54:57 -07:00
Eric Zhu
085ff3dd7d Update website 0.5.6 (#6454) 2025-05-02 15:57:04 -07:00
Eric Zhu
4eb256d44a Update website for v0.5.5 (#6401) 2025-04-25 16:43:23 -07:00
Eric Zhu
b6935f913b update website version (#6364) 2025-04-22 09:51:50 -07:00
Eric Zhu
ca5134d5a8 Update website 0.5.3 (#6320) 2025-04-16 20:40:33 -07:00
Eric Zhu
c75515990e Update website for 0.5.2 (#6299) 2025-04-14 20:51:45 -07:00
Eric Zhu
3500170be1 update version 0.5.2 (#6296)
Update version
2025-04-14 18:03:44 -07:00
Eric Zhu
b62b12e3e7 Update website verison (#6196) 2025-04-03 15:57:40 -07:00
Eric Zhu
5f9e37dc27 Upgrade llama cpp to 0.3.8 to fix windows related error (#5948)
use the latest version of llama-cpp-python to ensure `uv sync
--all-extras` don't fail on windows.

reference:
https://github.com/microsoft/autogen/pull/5942#issuecomment-2724478534
2025-03-14 12:20:42 -07:00
Eric Zhu
712aba6b4e update ref for v0.4.9 website (#5914)
Needed to fix the homepage display.
2025-03-12 09:00:48 -07:00
Eric Zhu
2573739111 update website for v0.4.9 (#5906) 2025-03-12 00:05:57 -07:00
PythicCoder
6a3acc4548 Feature add Add LlamaCppChatCompletionClient and llama-cpp (#5326)
This pull request introduces the integration of the `llama-cpp` library
into the `autogen-ext` package, with significant changes to the project
dependencies and the implementation of a new chat completion client. The
most important changes include updating the project dependencies, adding
a new module for the `LlamaCppChatCompletionClient`, and implementing
the client with various functionalities.

### Project Dependencies:

*
[`python/packages/autogen-ext/pyproject.toml`](diffhunk://#diff-095119d4420ff09059557bd25681211d1772c2be0fbe0ff2d551a3726eff1b4bR34-R38):
Added `llama-cpp-python` as a new dependency under the `llama-cpp`
section.

### New Module:

*
[`python/packages/autogen-ext/src/autogen_ext/models/llama_cpp/__init__.py`](diffhunk://#diff-42ae3ba17d51ca917634c4ea3c5969cf930297c288a783f8d9c126f2accef71dR1-R8):
Introduced the `LlamaCppChatCompletionClient` class and handled import
errors with a descriptive message for missing dependencies.

### Implementation of `LlamaCppChatCompletionClient`:

*
`python/packages/autogen-ext/src/autogen_ext/models/llama_cpp/_llama_cpp_completion_client.py`:
- Added the `LlamaCppChatCompletionClient` class with methods to
initialize the client, create chat completions, detect and execute
tools, and handle streaming responses.
- Included detailed logging for debugging purposes and implemented
methods to count tokens, track usage, and provide model information.…d
chat capabilities

<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

<!-- Please give a short summary of the change and the problem this
solves. -->

## Related issue number

<!-- For example: "Closes #1234" -->

## Checks

- [X ] 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: aribornstein <x@x.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2025-03-10 16:53:53 -07:00
Leonardo Pinheiro
a1858efac9 feat: update local code executor to support powershell (#5884)
To support powershell on the local code executor.
Closes #5518
2025-03-10 14:00:14 -07:00
Eric Zhu
83fb29edd4 Update website for v0.4.8 (#5812) 2025-03-03 22:50:56 -08:00
Jack Gerrits
a54a85e2f8 Update issue templates (#5686) 2025-02-25 01:15:50 +00:00
Eric Zhu
083129045c feat: enhance issue templates with detailed guidance (#5594) 2025-02-19 01:07:24 +00:00
Eric Zhu
c76a68c780 Update website version (#5561) 2025-02-15 01:30:32 -08:00
Eric Zhu
0355b228ce fix: update 0.2 deployment workflow to use tag input instead of branch (#5536) 2025-02-13 14:18:49 -08:00
Xiaoyun Zhang
7f0acd78a8 .NET update global.json to use 9.0.100 (#5517)
<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

<!-- Please give a short summary of the change and the problem this
solves. -->

## Related issue number

<!-- For example: "Closes #1234" -->

## 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.
- [ ] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [ ] I've made sure all auto checks have passed.
2025-02-13 00:02:37 +00:00
Jacob Alber
676b611064 fix: Make race condition between channel open and RPC less likely to occur (#5514)
Right now we rely on opening the channel to associate a ClientId with an
entry on the gateway side. This causes a race when the channel is being
opened in the background while an RPC (e.g. MyAgent.register()) is
invoked.

If the RPC is processed first, the gateway rejects it due to "invalid"
clientId.

This fix makes this condition less likely to trigger, but there is still
a piece of the puzzle that needs to be solved on the Gateway side.
2025-02-12 16:40:52 -05:00
Jacob Alber
07fdc4e2da fix: gRPC Agent Runtime Serialization Registration (#5513)
We were registering the serializers when we already had a concrete type
on the way into Publish or Send on the .NET side. However, in a xLang
scenario, messages could originate from e.g. Python before being
sent/published from .NET, resulting in no serializer being found.

This change adds a second-change registration and lookup when the agent
is instantiated based on the IHandle<T> implementations.
2025-02-12 12:12:07 -05:00
Jack Gerrits
e27f74ee8d Reduce number of doc jobs for old releases (#5375)
We don't provide links to the dev releases on the site anymore, so let's
save some CI time and clutter

---------

Co-authored-by: Victor Dibia <victordibia@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-02-11 22:52:12 +00:00
Eric Zhu
f9d4a844df Update website version v0.4.6 (#5481) 2025-02-10 16:49:00 -08:00
Ryan Sweet
edbd20167b bring back grpc service (#5377)
Restoring the grpc + Orleans server into the project

## Why are these changes needed?

This is the distributed agent runtime for .NET that can manage routing
messages amongst a fleet of grpc agent runtimes.

## Related issue number

## 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: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jacob Alber <jaalber@microsoft.com>
2025-02-07 19:28:55 -05:00
Jack Gerrits
f7f5507c70 Split out GRPC tests (#5431) 2025-02-07 16:57:30 +00:00
Eric Zhu
3b2bf82d15 feat: add integration workflow for testing multiple packages (#5412) 2025-02-06 16:59:31 -08:00
Griffin Bassman
da6f918708 feat: add dotnet code coverage (#5403) 2025-02-06 14:30:15 -05:00
Jack Gerrits
08f9830bf7 Dotnet Grpc worker implementation (#5245)
Co-authored-by: Jacob Alber <jaalber@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2025-02-05 08:34:02 -08:00
Griffin Bassman
9af6883fbe fix: dotnet test CI and standardize test categories (#5286)
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2025-02-03 11:49:08 -05:00
Eric Zhu
227b875f28 Update Python website to v0.4.5 (#5316) 2025-01-31 20:01:51 -08:00
afourney
088a50faa5 Remove old autogen_magentic_one package. (#5305)
This PR removes the older `autogen_magentic_one` package, and directs
people to use the new AgentChat implementation.

Hopefully this eases confusion.

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-31 15:14:40 -08:00
Jack Gerrits
3fcb6e6b47 Fix apidoc generation (#5279) 2025-01-30 20:40:09 -05:00
Jack Gerrits
902238fd68 Run metadata stage in addition to build (#5277)
`build` does not run the api doc generation step. The default command
does both.
2025-01-31 00:35:13 +00:00
Jack Gerrits
b05878aa4a Create and publish documentation site for 0.4 dotnet (#5275)
<img width="1840" alt="Screenshot 2025-01-30 at 6 26 02 PM"
src="https://github.com/user-attachments/assets/5b4c9ebf-0880-4b2e-aa1f-f2b956922b49"
/>
2025-01-30 19:04:26 -05:00
Eric Zhu
8a0daf8285 Update website for v0.4.4 (#5246) 2025-01-28 16:15:24 -08:00
Jack Gerrits
74f411e396 Update website for 0.4.3 (#5139) 2025-01-22 10:33:08 -05: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
Leonardo Pinheiro
a1fdbd9692 Use caching to run tests and report coverage (#5086)
* use caching to run tests and report coverage

* fix test step dep name

* try to fix cov fname

* add working dir to mv step

* update artifact download

* fmt

* reduce concurrency on ext test

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2025-01-17 14:32:18 +00:00