Polyweave

@polyweave/anthropic (1.0.6)

Published 2026-07-10 23:40:50 +00:00 by Dvorak

Installation

@polyweave:registry=https://hub.kl1.tenere.ai/api/packages/Polyweave/npm/
npm install @polyweave/anthropic@1.0.6
"@polyweave/anthropic": "1.0.6"

About this package

Anthropic

Anthropic Claude adapter for the Polyweave platform. Provides chat and streaming interfaces for Claude models via the Anthropic API.

Synopsis

import { createAnthropicAdapter } from '@polyweave/anthropic';

const adapter = createAnthropicAdapter({ apiKey: process.env.ANTHROPIC_API_KEY });

Install

npm install @polyweave/anthropic

API

createAnthropicAdapter(options)

Creates an Anthropic Claude adapter with Polyweave-compatible chat and streaming tools.

Tests

npm test

Requirements

  • Node.js >= 18.0.0

License

MIT

Dependencies

Dependencies

ID Version
@anthropic-ai/sdk ^0.71.2

Development Dependencies

ID Version
@rigor/core *

Peer Dependencies

ID Version
@polyweave/core *
@polyweave/costs *
@polyweave/errors *

Keywords

polyweave anthropic claude ai adapter
Details
npm
2026-07-10 23:40:50 +00:00
4
John Dvorak
SEE LICENSE IN LICENSE
13 KiB
Assets (1)
Versions (5) View all
1.0.9 2026-07-11
1.0.6 2026-07-10
1.0.5 2026-07-10
1.0.4 2026-07-10
1.0.3 2026-07-10