Skip to content

[FEATURE] Tools and Agents event emit for websocket #1133

@enitinb

Description

@enitinb

Problem Statement

Front-end applications need predictable component discovery patterns for dynamic UI generation and type safety. UI developers spend excessive time parsing streaming responses and handling contract changes, leading to brittle integrations

Proposed Solution

StrandsAgents should emit named tools and agents as ready-to-use components for front-end integration when they're initialized, not as part of the streaming response. This would eliminate the current approach where front-ends must constantly parse tool responses and match them with tool usage events, which is fragile when contracts change.

Use Case

StrandsAgents should emit named tools and agents as ready-to-use components for front-end integration when they're initialized, not as part of the streaming response. This would eliminate the current approach where front-ends must constantly parse tool responses and match them with tool usage events, which is fragile when contracts change.

Alternatives Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions