npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agenite-examples/bedrock

v1.2.0

Published

This example demonstrates how to use Amazon Bedrock with Agenite to create AI agents that can process user inputs and generate responses using different models (Deepseek and Claude).

Readme

Bedrock Example

This example demonstrates how to use Amazon Bedrock with Agenite to create AI agents that can process user inputs and generate responses using different models (Deepseek and Claude).

Prerequisites

  1. AWS Account with access to Amazon Bedrock
  2. AWS credentials configured locally with appropriate permissions
  3. Node.js installed on your system

Setup

  1. Install dependencies:
pnpm install
  1. Configure AWS Credentials: Make sure you have your AWS credentials configured either through:
  • AWS CLI (aws configure)
  • Environment variables
  • AWS credentials file

Running the Examples

The examples include simple demonstrations using different Bedrock models to answer questions.

Deepseek Example

tsx src/deepseek-r1/agent.ts

Claude Sonnet Example

tsx src/claude-sonnet-3.7/agent.ts

Both examples will:

  1. Initialize an AI agent using the Bedrock provider
  2. Process a sample question about counting letters in "strawberry"
  3. Display the agent's reasoning and answer
  4. Show any tool results used during the process

Configuration

Deepseek Configuration

  • Model: us.deepseek.r1-v1:0
  • Region: us-west-2
  • File: src/deepseek-r1/agent.ts

Claude Sonnet Configuration

  • Model: us.anthropic.claude-3-7-sonnet-20250219-v1:0
  • Region: us-east-2
  • Additional settings:
    • enableReasoning: true
    • reasoningBudgetTokens: 4000
  • File: src/claude-sonnet-3.7/agent.ts

You can modify these settings in their respective files if needed.

Output Format

Both examples will display:

  1. User Input (in blue)
  2. Thinking/Reasoning Process (in yellow)
  3. Assistant's Response (in green)
  4. Tool Usage (in cyan, if any)
  5. Tool Results (in blue, if any)
  6. Completion message

Note

Make sure you have the necessary AWS permissions to access Amazon Bedrock and the specific models being used in the examples. Different models may require different permissions in your AWS Bedrock setup.