[bot] Instrument AWS Bedrock Agent Runtime (2,532,884 weekly downloads)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- aws, typescript
- Bereich
- backend, observability
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- https://www.npmjs.com/package/@aws-sdk/client-bedrock-agent-runtime
- https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-agent-runtime_example_bedrock-agent-runtime_InvokeAgent_section.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-agent-runtime_example_bedrock-agent-runtime_InvokeFlow_section.html
Local repo files inspected
js/src/auto-instrumentations/configs/all.ts(full instrumentation registry — onlybedrockRuntimeConfigsfor AWS Bedrock, no Bedrock Agent Runtime entry)js/src/span-origin.ts(INSTRUMENTATION_NAMES— onlyBEDROCK_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-runtimelisted as an optional peer dependency ine2e/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)
- Vorherrschende Sprache
- TypeScript
- Sterne
- 29
- Forks
- 21
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 76
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus braintrustdata/braintrust-sdk-javascript
-
typescript
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
braintrustdata/braintrust-sdk-javascript#2686 ·
Maintainer antworten meist innerhalb von 1 Tag
-
typescript
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
braintrustdata/braintrust-sdk-javascript#2685 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[bot] Cloudflare Workers AI `queueRequest` (batch) inference is explicitly excluded from tracingOffencloudflare typescript
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
braintrustdata/braintrust-sdk-javascript#2684 ·
Maintainer antworten meist innerhalb von 1 Tag
-
High TypeScript checking cost from generated Zod 3 schemasEvtl. vergeben @lforst hat das vor 14 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
braintrustdata/braintrust-sdk-javascript#2624 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[bot] Instrument Luma AI (17,324 weekly downloads)Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offentypescript
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in braintrustdata/braintrust-sdk-javascript
Ähnliche Issues
-
Shell: serve the home app's Cookie Policy on a hard reloadEvtl. vergeben @2001anshkaushik hat das heute übernommen. Offenfeature module:ai
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
rocketride-org/rocketride-server#2899 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
gofish-graphics/gofish-graphics#1252 ·
Maintainer antworten meist innerhalb von 1 Tag
-
optimization P3 size:XS
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
josephfung/curia#2366 ·
Maintainer antworten meist innerhalb von 1 Tag
-
type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
nightgauge/nightgauge#2688 ·
Maintainer antworten meist innerhalb von 1 Tag