def get_temporary_memory(agent_id: str) -> list:
    """
    Retrieve messages for a specific agent ID from temporary memory.
    
    Args:
        agent_id: Unique identifier for the agent
        
    Returns:
        List of messages if found, None if not found
    """
    serialized_messages = Configuration.get(f"temp_memory_{agent_id}")
    if serialized_messages is None:
        return None
    
    # Deserialize messages from base64 encoded pickle
    messages = pickle.loads(base64.b64decode(serialized_messages))
    return messages

    Retrieve messages for a specific agent ID from temporary memory.
    
    Args:
        agent_id: Unique identifier for the agent
        
    Returns:
        List of messages if found, None if not found
    
src/upsonic/server/level_utilized/memory.py