-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Problem Statement
Currently, the Chat functionality maintains excellent session history and persistence, but specialized tools like Website Generator, Diagram Generator, and Step Functions Generator lose their work state when users switch between tools. This creates a significant workflow interruption and forces users to restart their work from scratch.
Current Behavior
- ✅ Chat Agent: Maintains full conversation history with excellent persistence
- ❌ Website Generator: Work progress is lost when switching away
- ❌ Diagram Generator: Generated diagrams and configurations are not persisted
- ❌ Step Functions Generator: Function definitions and configurations are lost
Desired Behavior
Each specialized tool should maintain session persistence similar to the Chat functionality:
-
Session State Preservation: When switching away from a tool, maintain:
- Current work progress
- Generated content
- Configuration settings
- User inputs and customizations
-
Seamless Tool Switching: Users should be able to:
- Switch between Chat and specialized tools without losing work
- Return to exactly where they left off in each tool
- Maintain multiple active sessions across different tool types
-
Session Management UI: Provide indicators for:
- Active sessions in specialized tools
- Quick access to resume previous work
- Clear session state (similar to chat title generation)
Use Cases
-
Presentation Scenarios:
- Demonstrating multiple tools without losing progress
- Switching to Chat for Q&A while maintaining work in progress
-
Development Workflows:
- Building websites while consulting Chat for technical questions
- Creating diagrams while iterating on Step Functions
- Multi-tasking across different tool types
-
Iterative Work:
- Returning to previous sessions to make modifications
- Building upon earlier work without starting from scratch
Technical Considerations
- Extend existing session management architecture used by Chat
- Implement state serialization for each specialized tool
- Consider storage implications for different content types (websites, diagrams, functions)
- Maintain backward compatibility with existing workflows
Success Metrics
- Users can switch between tools without losing work
- Reduced user complaints about lost progress
- Increased tool adoption and usage duration
- Improved presentation and demo experiences
This enhancement would significantly improve the user experience and make Bedrock Engineer more robust for professional and presentation use cases.