GitHub Hot Board

GitHub Hot Board · Hồ sơ kho lưu trữ

aws/bedrock-agentcore-sdk-typescript

Chưa có mô tả ngôn ngữ này — sẽ tự xuất hiện.

TypeScript

Dữ liệu tại October 28aws

Thứ hạng tốt nhất

#289

Kho Báu Bị Lãng Quên

100

Tổng sao

37

Tổng fork

1

Số ngày có mặt (30 ngày)

Giấy phép: Apache-2.0Push gần nhất: October 26Issue mở (gồm PR): 54Thu thập từ 2026-10-25; chưa rõ = chưa thu thập được

Tài liệu dự án

Bedrock AgentCore

Bedrock AgentCore SDK for TypeScript

Deploy AI agents to AWS with VM-level isolation and zero infrastructure

npm version TypeScript Node.js License

Documentation   |   Samples   |   Python SDK


Why AgentCore?

  • Zero infrastructure — No servers to provision, no containers to manage, no scaling to configure.
  • Session isolation — Each agent session runs in its own VM. No shared state, no noisy neighbors.
  • Long-lived sessions — Sessions persist across requests. Your agent maintains context without external storage.
  • Managed tools — Secure code execution and browser automation, ready to use.
  • Credential management — Centralized API keys and OAuth tokens, injected at runtime.

Framework Compatibility

The SDK is designed to work with any agent framework. Here's how:

  • Runtime — Deploy agents built with any framework. The BedrockAgentCoreApp accepts any request handler — plug in Strands Agents, Vercel AI SDK, LangChain, or your own custom logic.
  • Tools — Code Interpreter and Browser tools include built-in integrations for Strands Agents and Vercel AI SDK, so tools can be passed directly to those frameworks' agents. For other frameworks, use the core clients (CodeInterpreter, PlaywrightBrowser) directly and wire them into your own tool definitions.
  • Identity — Credential wrappers (withAccessToken, withApiKey) work with any async function, regardless of framework.

Quick Start

npm install bedrock-agentcore @strands-agents/sdk
import { BedrockAgentCoreApp } from 'bedrock-agentcore/runtime'
import { Agent, BedrockModel } from '@strands-agents/sdk'
import { z } from 'zod'

const agent = new Agent({
  model: new BedrockModel({ modelId: 'global.amazon.nova-2-lite-v1:0' }),
})

const app = new BedrockAgentCoreApp({
  invocationHandler: {
    requestSchema: z.object({ prompt: z.string() }),
    process: async function* (request) {
      for await (const event of agent.stream(request.prompt)) {
        if (event.type === 'modelContentBlockDeltaEvent' && event.delta?.type === 'textDelta') {
          yield { event: 'message', data: { text: event.delta.text } }
        }
      }
    },
  },
})

app.run()

Use requestSchema to validate agent entrypoint input. Keep user prompts typed as strings and pass only prompt text to the agent framework.

BedrockAgentCoreApp creates an AgentCore Runtime-compliant server—handling request parsing, streaming responses, and session management for seamless deployment.

Building multi-agent systems? Host agents on AgentCore's A2A protocol path with serveA2A — see the runtime guide.


Tools

Give your agent secure code execution with three lines:

import { CodeInterpreterTools } from 'bedrock-agentcore/experimental/code-interpreter/strands'
import { Agent, BedrockModel } from '@strands-agents/sdk'

const codeInterpreter = new CodeInterpreterTools({ region: 'us-east-1' })

const agent = new Agent({
  model: new BedrockModel({ modelId: 'global.amazon.nova-2-lite-v1:0' }),
  tools: codeInterpreter.tools,
})

// Agent can now execute code in a secure sandboxed environment

Features

  • Runtime — Secure, session-isolated compute → Examples
  • A2A — Agent-to-agent communication on the A2A protocol path → Guide
  • Code Interpreter — Execute Python/JS/TS in a sandbox → Examples
  • Browser — Cloud-based web automation → Examples
  • Web Search — Search the web through a Gateway connector target → Guide
  • Identity — Manage API keys and OAuth tokens → Examples
  • Memory — Persistent knowledge across sessions → Guide
  • Gateway — Transform APIs into MCP tools (coming soon)
  • Observability — OpenTelemetry tracing (coming soon)

Installation

npm install bedrock-agentcore

Prerequisites: Node.js 20+, AWS credentials, AgentCore access


Deployment


Resources


License

Apache 2.0 — see LICENSE

Contributing · Security

Thứ hạng hiện tại

  • 289

    Kho Báu Bị Lãng Quên

    100 sao · 37 fork · Tổng Star (tăng dần)

    Lãng quên →

Diễn biến 30 ngày

Tổng số sao

Diễn biến thứ hạng

Gắn huy hiệu vào README của bạn · aws/bedrock-agentcore-sdk-typescript[![Gắn huy hiệu vào README của bạn](https://git.vaiox.xyz/api/badge/aws/bedrock-agentcore-sdk-typescript.svg)](https://git.vaiox.xyz/vi/repo/aws/bedrock-agentcore-sdk-typescript)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/vi/repo/aws/bedrock-agentcore-sdk-typescript"><img src="https://git.vaiox.xyz/api/badge/aws/bedrock-agentcore-sdk-typescript.svg" alt="Gắn huy hiệu vào README của bạn" height="20"></a>

← Về bảng xếp hạng

GitHub Hot BoardCỗ Máy Thời GianKhám phá联系我们 · Contact