The Working Memory component is for sharing state across a set of collaborating agents. The supervisor defines a unique named workspace that can be thought of as a table. Each agent uses Working Memory to save and look up key value pairs in that workspace as needed. For example, a Market Analyst agent can save its research to a ‘market_research’ key, while the Chief Strategist can retrieve that research as input to coming up with its ‘market_strategy’. In an investment research collaboration, a Fundamentals Expert and an Economics Expert can independently share there assessments of a given investment opportunity, while a Portfolio Manager could retrieve an entire set of assessments and apply its overall judgement to produce a final rating. Working Memory is a utility that can be added to agents and is currently implemented as a simple Lambda function wrapper on top of DynamoDB.
Deploy working_memory_stack.yaml
Region | development.yaml |
---|---|
us-east-1 | |
us-west-2 |
For a detailed example checkout startup_advisor_agent
- Open the CloudFormation console.
- Select the stack
WorkingMemory
you created, then click Delete. Wait for the stack to be deleted.
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.