Update doc and README (#135)

This commit is contained in:
Eric Zhu
2024-06-27 07:41:36 -07:00
committed by GitHub
parent d637f43011
commit 905e2e3f95
3 changed files with 4 additions and 7 deletions

View File

@@ -4,10 +4,6 @@ An agent in AGNext is an entity that can react to, send, and publish
messages. Messages are the only means through which agents can communicate
with each other.
Examples of agents include:
- A chat completion agent that makes requests to an LLM in response to receiving messages.
## Messages
Messages are typed, and serializable (to JSON) objects that agents use to communicate. The type of a message is used to determine which agents a message should be delivered to, if an agent can handle a message and the handler that should be invoked when the message is received by an agent. If an agent is invoked with a message it is not able to handle, it must raise {py:class}`~agnext.core.exceptions.CantHandleException`.

View File

@@ -10,5 +10,5 @@ like software development.
You can implement any multi-agent pattern using AGNext agents, which
communicate with each other using messages through the agent runtime
(see {doc}`/core-concepts/runtime` and {doc}`/core-concepts/agent`).
See `examples <https://github.com/microsoft/agnext/tree/main/python/examples#pattern-examples>`_
See [examples](https://github.com/microsoft/agnext/tree/main/python/examples#pattern-examples)
for how to implement patterns like reflection and group chat.