50 Commits

Author SHA1 Message Date
afourney
7131dc945d
Added m1 cli package (#4949)
* Added m1 cli package
* update CI, install card, deprecations
* Update python/packages/magentic-one-cli/pyproject.toml
* fix mypy and pyright
* add package
* Suppress 'ResourceWarning: unclosed socket'

---------

Co-authored-by: Jack Gerrits
2025-01-08 14:05:08 -08:00
Eric Zhu
f113c9a959
Move core samples to /python/samples (#4911)
* Move core samples to /python/samples

* Fix proto check

* Add sample code check workflow

* Update pyright settings; fix types
2025-01-07 23:31:29 +00:00
Eric Zhu
e11fd8353d
Improve markdown code linting command and update logging documentation and (#4902)
Update logging documentation and improve markdown code linting command
2025-01-06 14:19:17 -08:00
Eric Zhu
d55b8c9044
Update index.md for better clarity and relationship between packages (#4896)
* Improve index page for better clarity

* Add markdown lint check

* Update info

* Update

* typo

* tagline

* tag line update
2025-01-06 14:13:22 -08:00
Sachin Joglekar
ecdade3d3e
Add coverage task & integrate with poe check (#4847)
* Add coverage task & integrate with poe check

* Adding workflow

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-02 09:49:18 -05:00
Eric Zhu
156c3f16c2
Migration guide for 0.4 (#4765)
* readme start

* Enhance migration guide with organization overview and section breakdown

* update toc

* Update

* wip

* wip

* WIP

* Finished draft

* add statement

* Update migration guide for v0.4: refine language and clarify PyPI package ownership

* wip

* mv

* Update

* wip

* Add lint for markdown files; fix lint errors

* Fix indent

* Fix syntax

* Fix

* Update python/check_md_code_blocks.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* wip

* WIP

* wip

* fix links

* update

* Add 0.4 component config example

* update

* update

* update

* add conversion function

* wip

* Move

* Update

* Update

* update

* Make buttons side by side

* Update

* small edits

* wip

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-12-30 13:33:08 -08:00
Jack Gerrits
fadff4aece
Fix definition of workspace package, remove uv pin (#4830)
* Fix definition of workspace package, remove uv pin

* add  --all-packages

* pin docs uv versions for older project structure

* try old version to verify CI

* Use workflow target

* change syntax

* change check

* try with var in matrix

* add all packages to workspace

* remove project table
2024-12-27 13:11:42 -05:00
Jack Gerrits
2c76ff9fcc
More improvements for component config (#4799)
* More improvements for component config

* clean output

* working dir

* fix fstring

* key error

* remove mv
2024-12-23 18:29:23 -05:00
Jack Gerrits
2b878763f8
Move grpc runtimes to ext, flatten application (#4553)
* Move grpc runtimes to ext, flatten application

* rename to grpc

* fmt
2024-12-04 16:23:20 -08:00
Ryan Sweet
1c09de8d47
HelloAgents App Host with xlang sample (#4395)
* adds a python xlang sample and aspire code to host it
* fixes message delivery on dotnet runtime
2024-12-03 08:09:02 -08:00
peterychang
74bcd5e0f6
add protobuf serialization test (#4224)
* add protobuf serialization test

* proto file regeneration

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
2024-11-26 15:37:40 -05:00
Jack Gerrits
9b967fc79a
Update pyright and mypy (#4348)
* Update pyright and mypy

* fmt
2024-11-25 15:08:36 -05:00
Victor Dibia
908ed8c60f
Add agentchat to uv workspace (#4223)
Add agentchat to uv workspace
2024-11-15 14:40:03 -05:00
Leonardo Pinheiro
38f62e1609
migrate models (#3848)
* migrate models

* Update python/packages/autogen-agentchat/src/autogen_agentchat/agents/_tool_use_assistant_agent.py

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* refactor missing imports

* ignore type check errors

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_model_info.py

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* update packages index page

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-22 11:40:41 -04:00
Hussein Mozannar
8e50e58433
Move from tomllib to tomli (#3714) 2024-10-09 16:42:30 -04:00
Jack Gerrits
39aa073de2
Add poethepoet to dev deps (#3675)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-07 16:00:41 -07:00
Jack Gerrits
dc02719f7c
Check for prints (#616)
* Check for prints

* format
2024-09-23 20:10:57 +00:00
Kosta Petan
3222632497
Update .net code to use CloudEvent, add Event back to proto definition (#530)
* remove OAgents lib from sln

* add Event back to agent_worker_proto

* regenerate python proto, remove RegisterAgent addition

* add cloudevent.proto to the python generation task
2024-09-17 14:11:17 +00:00
Aamir
df362c53cf Downgrade protobuf from v5 to v4 (#453) 2024-09-06 13:49:02 -04:00
Jack Gerrits
ba64f442de Remove static subscription restriction (#439) 2024-08-30 14:00:11 -04:00
Jack Gerrits
581cda0cfd Pin grpc and gen task (#429) 2024-08-29 14:37:03 -04:00
Jack Gerrits
4f9626c447 Add cookiecutter (#428) 2024-08-29 11:46:30 -04:00
Jack Gerrits
67003593a0 Add cookiecutter template for new package (#426) 2024-08-29 10:29:12 -04:00
Jack Gerrits
4ff5610853 Migrate to uv and poe for workspace management and task running (#424)
* Migrate to uv and poe for workspace management and task running

* install python

* try fix

* ensure workspace venv in used

* package dir

* move nbqa to mypy task

* separate sync, clarify docs
2024-08-29 09:46:06 -04:00
Jack Gerrits
5e8840d13c Python: organize packages in package directory (#420)
* Move packages to packages directory

* remove screenshot

* update some paths
2024-08-28 13:35:21 -04:00
Jack Gerrits
725f13c3f8 Rename agnext package to autogen_core (#418)
* Rename agnext to autogen_core

* fix file name

* fix more file names
2024-08-28 12:47:04 -04:00
Eric Zhu
5eca0dba4a Python host and worker runtime for distributed agents. (#369)
* Python host runtime impl

* update

* ignore proto generated files

* move worker runtime to application

* Move example to samples

* Fix import

* fix

* update

* server client

* better shutdown

* fix doc conf

* add type
2024-08-19 10:06:41 -04:00
peterychang
bc26ec3de4 Azure container code execution (#346)
* Azure container code execution

* fix check errors. Remove unnecessary file

* add TokenProvider class

* update deps

* addressing PR comments

* update docstring

* switch to aiohttp

* fix client timeout
2024-08-14 10:41:49 -04:00
Eric Zhu
4da05734de Add cookbook for openai assistant agent. Reformat (#343)
* Add cookbook for openai assistant agent. Reformat

* update index

* add requests

* type requests
2024-08-08 00:14:18 -07:00
Jack Gerrits
33649c3e08 Notebook checks (#333)
* add checks for notebooks

* format

* Fix mypy

* format

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 14:38:44 -07:00
Jack Gerrits
9f0bdb154c Use mystnb for notebook rendering (#332)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 16:25:27 +00:00
Eric Zhu
5c7bb29fb3 use myst_nb for notebook docs; create getting started tutorial (#326)
* use myst_nb for notebook docs; refactor docs to separate concepts and code tutorial

* Get started tutorial

* fix types
2024-08-06 11:37:11 -07:00
Eric Zhu
70d3c920c3 Add support for compiling Jupyter Notebooks into documentation pages (#323)
* add notebooks for documentation

* Merge remote-tracking branch 'origin/main' into ekzhu-notebooks

* Add install

* Add to checks
2024-08-05 12:27:03 -07:00
Eric Zhu
1c95443db5 Add Azure Active Directory auth for Python samples (#315)
* add Azure Active Directory auth for samples

* Update README
2024-08-02 16:58:15 +00:00
Eric Zhu
2bc0a33f78 Add LangGraph agent example (#290)
* Add LangGraph agent example

* fix
2024-07-26 18:23:31 -07:00
Diego Colombo
04eebf11c8 Add LlamaIndexAgent class for integrating llamaindex agent (#227) 2024-07-24 12:01:01 -07:00
Jack Gerrits
a52d3bab53 Agent factory can be async (#247) 2024-07-23 14:49:38 -04:00
Eric Zhu
2041905acb Add token counting to chat completion client #220 (#239)
* Add token counting to chat completion client

* fix mypy

* ignore pyright for object type

* format
2024-07-19 18:44:22 -07:00
Ryan Sweet
89db8b12f1 Improving the readme and renaming examples dir (#218)
* Improving the readme and renaming examples dir

* fix ci

* updating name

* nuance the wording
2024-07-15 15:24:31 -07:00
Jack Gerrits
ec500a31b8 Marketing sample agents (#210)
* add writer impl

* add graphic designer

* add worker and auditor, remove writer

* add worker, add simple test main
2024-07-15 13:43:04 -04:00
Jack Gerrits
bf32bb67ae [Python] Specify subscriptions as strings and not types (#169)
* Add infra for message serialization

* Add message type registry to handle type registration
2024-07-08 16:45:14 -04:00
afourney
ca42b560e9 Initial work porting AutoGenBench to AGNext (#141)
* Initial check-in of agbench

* Moved agbench to intended directory.

* Removed pyautogen dependency

* moved to using process_until_idle

* Added TeamOne template.

* User TeamOne agent classes.

* migrate to hatch, move benchmarks out, add CI (#166)

* Resolve type issues (#168)

Thanks for fixing types.

* Fixed import.

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-07-02 10:58:49 -07:00
Eric Zhu
f42361f57d Update Docs; Update examples to allow Azure OpenAI setup (#154)
* Update Docs; Update examples to allow Azure OpenAI setup

* update
2024-06-28 23:15:46 -07:00
Reuben Bond
ebed669231 Initial cross-language protocol for agents (#139)
* Initial prototype of .NET gRPC worker client + service

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-06-28 08:03:42 -07:00
Jack Gerrits
a13c971b16 Change send/publish api to better support async and represent reality (#137)
* Make send and publish better represent reality

* fix team-one
2024-06-27 13:40:12 -04:00
gagb
292964934b Add initial file surfer + examples for team one (#126)
* Add initial file surfer

* Fix return type

* Add example for running coder

* Run hatch check

* Add example for file surfer

* Add aiofiles to dependencies
2024-06-25 14:27:45 -07:00
Jack Gerrits
b3ef035e3e add example team (#107)
* add example team

* add checks
2024-06-24 10:36:10 -04:00
Jack Gerrits
2d74fa9caf add example of use contextvar (#105) 2024-06-22 14:50:32 -04:00
Jack Gerrits
b35fe0bd22 Use uv instead of pip for env creation (#99) 2024-06-21 14:43:28 +00:00
Jack Gerrits
d365a588cb Move python code to subdir (#98) 2024-06-20 15:19:56 -04:00