Skip to content

[FEATURE] Add Tool Executors functionality to TypeScript SDK #2195

@soccerbro421

Description

@soccerbro421

Problem Statement

I would like Strands to add the Tool Executors functionality to TypeScript SDK. In the default implementation of executeTools, the tools are executed sequentially.

  /**
   * Executes tools sequentially and streams all tool events.
   *
   * @param assistantMessage - The assistant message containing tool use blocks
   * @param toolRegistry - Registry containing available tools
   * @returns User message containing tool results
   */
  private async *executeTools(
    assistantMessage: Message,
    toolRegistry: ToolRegistry
  ):

I would like for the ability for tools to be executed in parallel.

Proposed Solution

No response

Use Case

When a single agent has multiple tools, execute the tools in parallel to reduce latency.

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