Skip to content

[Feature Request] Implement Shared Memory Mechanism for Workforce Handoff #1968

@Aaron617

Description

@Aaron617

Required prerequisites

Motivation

Currently, the workforce system does not store the complete function-calling trajectory of each worker in memory. This creates challenges in task handoff, as subsequent agents do not have sufficient context to continue processing efficiently.

Proposed Solution:

Develop a shared memory mechanism to retain and share the memory context across all agents.

Modes of Memory Sharing:

All (High Priority): Share complete memory across all agents, ensuring the reasoning agent and other critical agents receive the full context.

Memory Pool: Create a configurable memory pool where relevant context can be shared between selected agents.

No Sharing (The current workforce): Disable memory sharing for specific tasks that do not require continuity.

Key Tasks:

Implement memory initialization configuration to define the desired memory-sharing mode.

Develop a memory pool manager to dynamically allocate and update shared context.

Enable seamless integration with the workforce’s function-calling trajectories.

Test and validate the performance of different memory-sharing modes.

Reference

  1. https://github.com/openai/openai-agents-python

Solution

No response

Alternatives

No response

Additional context

No response

Metadata

Metadata

Labels

P0Task with high level priorityenhancementNew feature or request

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions