13 Commits

Author SHA1 Message Date
Jack Gerrits
3d515a734b Rename agnext.core module to agnext.base (#416)
* rename core module to base

* Rename agnext.core to agnext.base
2024-08-28 12:14:35 -04:00
Hussein Mozannar
c8f6f3bb38 Fix TeamOne examples with subscriptions to topics (#407)
* logprobs openai support

* remove print statement

* Update _types.py

* Update _openai_client.py

* empty commit to run checks

* fix teamone examples subscription

* update sample usage

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-08-27 15:03:21 -04: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
Jack Gerrits
a52d3bab53 Agent factory can be async (#247) 2024-07-23 14:49:38 -04:00
afourney
699f024a6d Adds a standard logging / log-printing class to TeamOne (#194)
* Added initial code for TeamOne utils.

* Fixed hatch errors.

* Updated examples.

* Fixed more hatch errors.

* examples/example_coder.py

* Added standard logging for TeamOne

* Read time from log record.
2024-07-09 13:51:05 -07:00
afourney
f7357499be Teamone utils (#192)
* Added initial code for TeamOne utils.

* Fixed hatch errors.

* Updated examples.

* Fixed more hatch errors.

* Improve readme

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-09 17:46:55 +00: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
gagb
aff179776c Add coder, file surfer, common message types in team-one (#142)
* Update message types

* Add new coder, refactor file surfer

* Run hatch check

* Run hatch check
2024-06-28 15:50:10 -07:00
gagb
8901b4d224 Add module for common messages (#133)
* Move agents to a subdir

* Add placeholder for example team

* Move messages to a common file

* Add rounrobin orchestrator + reflex agents

* Fix import errors

* Clean up commented code

* Fix formatting errors

* Fix a linting error

* Fix formatting errors
2024-06-27 16:39:16 -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
1cd39691f1 Move agents to a subdir (#128) 2024-06-25 14:50:42 -07: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