Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[bot] Instrument AWS Bedrock Agent Runtime (2,630,075 weekly downloads)

Đang mở
#2,603 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, typescript
Lĩnh vực
backend, observability

Hướng nghiên cứu

Start by reading js/src/auto-instrumentations/configs/all.ts and js/src/span-origin.ts, then compare the existing Bedrock Runtime instrumentation with the AWS SDK commands named in the issue. The issue also identifies e2e/scenarios/ as the location for an instrumentation scenario. Done means direct use of Bedrock Agent Runtime commands is traced and the new instrumentation is registered.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

typescript

Summary

@aws-sdk/client-bedrock-agent-runtime is AWS's official SDK for invoking pre-built Amazon Bedrock Agents and Bedrock Flows — a distinct agent-execution surface from the already-instrumented Bedrock Runtime client (@aws-sdk/client-bedrock-runtime, which only covers direct model Converse/InvokeModel calls). InvokeAgentCommand, InvokeFlowCommand, and InvokeInlineAgentCommand run an agent's multi-step reasoning/tool-use loop server-side and stream back the trace, but none of this is captured as spans today.

What's missing

  • BedrockAgentRuntimeClient + InvokeAgentCommand — runs a configured Bedrock Agent against a prompt/session, optionally streaming the agent's reasoning trace (enableTrace) and tool invocations.
  • InvokeFlowCommand — executes a Bedrock Flow (a graph of prompt/tool/code nodes) and streams per-node outputs.
  • InvokeInlineAgentCommand — runs an ad hoc (not pre-registered) agent definition.

This is a different package/API surface than the AWS Bedrock Agent Runtime client that Strands Agents SDK optionally depends on (@aws-sdk/client-bedrock-agent-runtime appears only as an optional peer dependency of @strands-agents/sdk for Strands's own Bedrock backend — see e2e/scenarios/strands-agent-sdk-instrumentation/pnpm-lock.yaml). A caller using this AWS SDK client directly (not through Strands) gets zero tracing.

Weekly downloads

Weekly downloads: 2,630,075 (as of 2026-10-12; window 2026-10-04–2026-10-10; source https://api.npmjs.org/downloads/point/last-week/@aws-sdk/client-bedrock-agent-runtime)

Braintrust docs status

not_found — Checked https://www.braintrust.dev/docs/integrations/ai-providers/bedrock, which documents only the Bedrock Runtime client (ConverseCommand, ConverseStreamCommand, InvokeModelCommand, InvokeModelWithResponseStreamCommand via wrapBedrockRuntime/the auto-instrumentation hook) and the @anthropic-ai/bedrock-sdk path. Also checked https://www.braintrust.dev/docs/guides/traces/integrations (full tracing/agent-framework integration list) — no mention of Bedrock Agents, InvokeAgent, or Bedrock Flows anywhere in Braintrust's docs.

Upstream sources

Local repo files inspected

  • js/src/auto-instrumentations/configs/all.ts (full instrumentation registry — only bedrockRuntimeConfigs for AWS Bedrock, no Bedrock Agent Runtime entry)
  • js/src/span-origin.ts (INSTRUMENTATION_NAMES — only BEDROCK_RUNTIME, no Bedrock Agent entry)
  • Repo-wide case-insensitive search for bedrock-agent-runtime/BedrockAgentRuntime/InvokeAgent/InvokeFlow (only matches: binary provider-response cassette blobs with coincidental byte sequences, and @aws-sdk/client-bedrock-agent-runtime listed as an optional peer dependency in e2e/scenarios/strands-agent-sdk-instrumentation/pnpm-lock.yaml — i.e. Strands's own optional Bedrock backend, not direct instrumentation of this client)
  • e2e/scenarios/ directory listing (no Bedrock-Agent-named scenario)
Ngôn ngữ chính
TypeScript
Star
29
Fork
16
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của braintrustdata/braintrust-sdk-javascript

Tất cả issue của braintrustdata/braintrust-sdk-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.