19 Commits

Author SHA1 Message Date
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
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
Jack Gerrits
1f9d5177d3 Instantiation context refactor (#293)
* WIP refactor instantiation context

* finish up changes

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

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

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

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

* add warning

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-02 11:02:45 -04:00
Eric Zhu
19f5463200 Fix chess example #298 (#301) 2024-07-30 00:11:42 -07:00
peterychang
136af65b74 Code execute cancellation (#299)
* Hook cancelation token into code execution

* Add unit test for code cancellation

* actually save the merge
2024-07-29 23:46:04 -07:00
Eric Zhu
2bc0a33f78 Add LangGraph agent example (#290)
* Add LangGraph agent example

* fix
2024-07-26 18:23:31 -07:00
peterychang
070a97ceaa make code execution async (#219)
* make code execution async

* python 3.10 does not support asyncio.timeout()

* make code execution cancellable

* make code execution async

* python 3.10 does not support asyncio.timeout()

* make code execution cancellable

* make entire callstack for code_executor async

* Update python/src/agnext/components/code_executor/_impl/local_commandline_code_executor.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* fix variable description

* remove unnecessary code

* fix usage of execute_code_blocks

* fix usage of execute_code_blocks

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-07-26 22:37:34 +00:00
Eric Zhu
53343972f0 Fix links in sample README (#287)
* Update tool use examples to use inner agents rather than subclassing

* fix

* Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example

* Merge branch 'main' into ekzhu-update-tool-use-example

* Fix links in the sample.
2024-07-26 15:21:18 -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
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
Enhao Zhang
b46625934b Fix pattern examples (#267)
* fix pattern examples

* reformat

---------

Co-authored-by: Enhao Zhang <t-enhaozhang@microsoft.com>
2024-07-24 17:28:00 -07:00
Diego Colombo
04eebf11c8 Add LlamaIndexAgent class for integrating llamaindex agent (#227) 2024-07-24 12:01:01 -07: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
Jack Gerrits
a52d3bab53 Agent factory can be async (#247) 2024-07-23 14:49:38 -04:00
Eric Zhu
718fad6e0d Remove orchestrator.py from examples as this is already available in team-one (#246) 2024-07-23 08:23:16 -07:00
Kosta Petan
c425a447a7 Marketing sample migration to AGNext (#234) 2024-07-19 20:57:13 +00: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