Description
Currently, the agent executor is limited in a way that it can only receive messages from connected executors and doesn't consider the shared states written by earlier executors.
Here is the scenario we are trying to support:
An executor A that is not directly connected to an agent executor creates artifacts that the agent should consider. Before the workflow gets to the agent executor, it has to run other executors, for example auditing the artifacts or storing them externally, thus developers cannot directly connect executor A to the agent executor.
Executor A could store the artifacts in the shared states, and the agent executor can access the shared states. However, the agent executor doesn't consider the shared states and extract contents from there for the agent invocation.
This essentially boils down to two steps:
- Data sharing between disconnected executors via shared states. Options:
- Consuming the data in the shared states (if there are any) in the agent executor. Options:
- Context provider that automatically extract information from the shared states.
- ?
Language/SDK
Both
Description
Currently, the agent executor is limited in a way that it can only receive messages from connected executors and doesn't consider the shared states written by earlier executors.
Here is the scenario we are trying to support:
An executor A that is not directly connected to an agent executor creates artifacts that the agent should consider. Before the workflow gets to the agent executor, it has to run other executors, for example auditing the artifacts or storing them externally, thus developers cannot directly connect executor A to the agent executor.
Executor A could store the artifacts in the shared states, and the agent executor can access the shared states. However, the agent executor doesn't consider the shared states and extract contents from there for the agent invocation.
This essentially boils down to two steps:
Language/SDK
Both