HomeDocsAdapters › AWS Strands

AWS Strands Adapter

agent402-strands

Tool instances for Amazon's Strands agent framework. Plug Agent402 tools into Strands-based agents with automatic discovery and execution.

Install

npm install agent402-strands

Quick start

import { agent402Tools } from "agent402-strands";
import { Agent } from "@strands/agents";

const tools = await agent402Tools();

const agent = new Agent({
  tools,
});

const result = await agent.run("Hash 'hello world' with SHA-256");
console.log(result);

Configuration

OptionTypeDescription
categories string[] Filter tools by category.
slugs string[] Load only specific tools by slug.
baseUrl string Point to a self-hosted Agent402 instance.
agentKey string Private key for wallet-only (paid) tools.
// Filter tools by category.
agent402Tools({ categories: ["data"] })

// Load only specific tools by slug.
agent402Tools({ slugs: ["csv-lint", "json-lint"] })

// Point to a self-hosted Agent402 instance.
agent402Tools({ baseUrl: "https://my-agent402.example.com" })

// Private key for wallet-only (paid) tools.
agent402Tools({ agentKey: process.env.AGENT_KEY })

Works with

AWS Strands Agents Amazon Bedrock Claude (via Bedrock) Any Strands-compatible model