49 Commits

Author SHA1 Message Date
Eric Zhu
12cf331e71 Add tool_agent_caller_loop and group chat notebook. (#405)
* Add tool_agent_caller_loop and group chat notebook.

* Fix types

* fix ref

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-27 15:11:48 -04:00
Eric Zhu
c8084ada4e Add quick start and utils for extracting code blocks (#404)
* Add quick start and utils for extracting code blocks

* format

* Spelling
2024-08-26 17:23:27 -07:00
Jack Gerrits
dbb35fc335 Migrate to using default sub/topic (#403) 2024-08-26 07:30:28 -07:00
Eric Zhu
d7ae2038fb Rename TypeRoutedAgent to RoutedAgent; log on unhandled message. (#400)
* Rename TypeRoutedAgent to RoutedAgent; log on unhandled message.

* format

* Deprecation warning

* add test for routed agent

* add TypeRoutedAgent import

* fix import
2024-08-23 13:22:31 -07:00
Eric Zhu
ed0890525d Make RunContext internal (#386)
* Make RunContext internal

* Mypy
2024-08-21 13:59:59 -07:00
Jack Gerrits
e1a823fb6d Initial impl of topics and subscriptions (#350)
* initial impl of topics and subscriptions

* Update python/src/agnext/core/_agent_runtime.py

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

* add topic in context

* migrate

* migrate code for topics

* migrate team one

* edit notebooks

* formatting

* fix imports

* Build proto

* Fix circular import

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-20 14:41:24 -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
Jack Gerrits
853b00b0f0 Add message context to message handler (#367)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-17 03:14:09 +00: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
39489ba395 Rename fields in agent metadata (#336)
* Rename fields in agent metadata

* team one fixes

* another fix
2024-08-07 13:08:13 -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
1531a448ad Doc: multi-agent design pattern (#329)
* Doc: multi-agent design pattern

* Fix warnings.

* mypy

* fix type

* chore: Remove unused import and checkpoint code in langgraph_agent.py
2024-08-07 07:49:28 +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
2bc0a33f78 Add LangGraph agent example (#290)
* Add LangGraph agent example

* fix
2024-07-26 18:23:31 -07:00
Eric Zhu
47e1cf464f Update tool use examples to use inner agents rather than subclassing (#286)
* Update tool use examples to use inner agents rather than subclassing

* fix

* Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example
2024-07-26 15:04:52 -07:00
Jack Gerrits
5fca275be1 Fix links in overview.md (#277)
* Update foundation.md

* Update foundation.md

* Update overview.md
2024-07-26 09:51:25 -04:00
Eric Zhu
3bc37619d5 Update overview page with application stack and example (#275) 2024-07-25 18:46:07 -07:00
Eric Zhu
e9c3a384f3 Update ai agent documentation on tool agent (#272)
* Update ai agent documentation on tool agent

* Fix
2024-07-25 11:53:59 -07:00
Jack Gerrits
5081d3b747 fix templating (#254) 2024-07-24 14:23:21 +00:00
Eric Zhu
176932ef9c Add gpt-4o-mini, update examples (#253) 2024-07-23 18:05:16 -07:00
Eric Zhu
2288aee72b Adding example for tool intercept and human approval (#252)
* Adding example for tool intercept

* Format
2024-07-23 17:58:15 -07:00
Eric Zhu
d9f371fa3e Add AI Agent documentation section, update examples (#251)
* Add doc for ai agents

* update

* Update

* update

* Move patterns
2024-07-24 00:08:56 +00:00
Eric Zhu
09b3a66320 Fix links (#241) 2024-07-22 11:06:30 -07:00
Eric Zhu
5abaacc56e Update foundation chapter on runtime running (#175) 2024-07-03 15:03:24 -07:00
Jack Gerrits
766635394a Update send_message to be a single async operation. Add start helper to runtime to manage this (#165) 2024-07-01 11:53:45 -04:00
Eric Zhu
28f11c726d Add architecture overview (#164) 2024-06-30 08:38:11 -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
Eric Zhu
6b2cf8d938 Fix bug in logging for single threaded agent runtime. (#153)
* fix logging

* fix doc
2024-06-28 15:27:00 -07:00
Eric Zhu
4023f13b5f Refactor documentation pages and Add core concept page. (#140) 2024-06-28 14:15:51 -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
13b0d0deb4 Implement closure agent (#143) 2024-06-28 10:22:44 -04:00
Jack Gerrits
ec17dd16ed Organize logging (#138) 2024-06-27 14:36:05 -04: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
Eric Zhu
905e2e3f95 Update doc and README (#135) 2024-06-27 07:41:36 -07:00
Eric Zhu
6d149fe728 Add coder-executor example; document the examples; clarify pub-sub as broadcast communication (#132) 2024-06-26 06:32:33 -07:00
Eric Zhu
a4f08959b7 update docs (#129) 2024-06-25 16:51:49 -07:00
Eric Zhu
44443c8aad Remove chat layer, move it to examples/common (#125) 2024-06-25 13:23:29 -07:00
Jack Gerrits
f24278c295 Rename OpenAI to OpenAIChatCompletionClient (#123) 2024-06-25 12:39:25 -04:00
Jack Gerrits
6189fdb05c simplify namespace usage (#116)
* simplify namespace usage

* format

* pyright
2024-06-24 16:52:09 -04:00
Jack Gerrits
606e43b325 Update termination-with-intervention.md (#115) 2024-06-24 16:26:02 -04:00
Jack Gerrits
b8239fc345 remove generic from termination guide (#111) 2024-06-24 17:19:40 +00:00
Jack Gerrits
bb202058ef Add example for termination using an intervention handler (#109) 2024-06-24 17:05:46 +00:00
Jack Gerrits
0d697037a1 Remove runtime arg from group chat manager (#106) 2024-06-22 18:51:30 +00:00
Jack Gerrits
1d6dbc409b Fix install instructions (#104) 2024-06-21 15:46:19 -04:00
Eric Zhu
ef12ca4b4e small doc fixes (#103) 2024-06-21 08:49:57 -07:00
Eric Zhu
f72c8ac8d9 update documentation (#102) 2024-06-21 05:05:54 -07:00
Jack Gerrits
d365a588cb Move python code to subdir (#98) 2024-06-20 15:19:56 -04:00