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

@agentxin-ai/plugin-anthropic

v0.0.2

Published

`@agentxin-ai/plugin-anthropic` provides a model adapter for connecting Anthropic's Claude models to the [AgentXinAI](https://github.com/agentxin-ai/agentxin) platform. The plugin enables agents to invoke Claude series models with support for streaming, t

Readme

AgentXin Plugin: Anthropic

Overview

@agentxin-ai/plugin-anthropic provides a model adapter for connecting Anthropic's Claude models to the AgentXinAI platform. The plugin enables agents to invoke Claude series models with support for streaming, tool calling, and vision capabilities within a unified AgentXinAI agentic workflow.

Core Features

  • Provides the AnthropicPlugin NestJS module, which automatically registers model providers, lifecycle logging, and configuration validation logic.
  • Wraps Anthropic's Claude models as AgentXinAI's LargeLanguageModel via AnthropicLargeLanguageModel, supporting function calling (tool use), streaming output, and agent token statistics.
  • Supports vision capabilities for vision-enabled Claude models.
  • Integrates seamlessly with AgentXinAI's agent workflow system.

Installation

npm install @agentxin-ai/plugin-anthropic

Peer Dependencies: The host project must also provide libraries such as @agentxin-ai/plugin-sdk, @nestjs/common, @nestjs/config, @metad/contracts, @langchain/anthropic, chalk, and zod. Please refer to package.json for version requirements.

Enabling in AgentXinAI

  1. Add the plugin package to your system dependencies and ensure it is resolvable by Node.js.
  2. Before starting the service, declare the plugin in your environment variables:
    PLUGINS=@agentxin-ai/plugin-anthropic
  3. Add a new model provider in the AgentXinAI admin interface or configuration file, and select anthropic.

Credentials & Model Configuration

The form fields defined in anthropic.yaml cover common Anthropic deployment scenarios:

  • API Key: Your Anthropic API key (required)
  • Model Name: The Claude model identifier (e.g., claude-sonnet-4-6, claude-opus-4-6, claude-haiku-4-5)
  • Context Size: Maximum context window size (default: 200000)
  • Max Tokens: Maximum tokens to generate (default: 4096)
  • Function Calling: Enable/disable tool calling support
  • Vision Support: Enable/disable vision capabilities
  • Streaming: Enable/disable streaming output

Supported Model Types

  • Large Language Models (LLM): Claude series models with support for:
    • Conversational interactions
    • Tool calling (function calling)
    • Streaming output
    • Vision capabilities (for vision-enabled models)

Model Examples

Common Claude model identifiers:

  • claude-sonnet-4-6 - Latest Claude Sonnet 4.6
  • claude-opus-4-6 - Latest Claude Opus 4.6
  • claude-haiku-4-5 - Latest Claude Haiku 4.5

The plugin supports all available Claude models from Anthropic. You can use any valid model identifier from the Anthropic API. For the latest model list, refer to Anthropic's documentation.

Configuration Example

When configuring a model provider in AgentXinAI:

  1. Select provider type: anthropic
  2. Enter your Anthropic API key
  3. Specify the model name (e.g., claude-sonnet-4-6)
  4. Set context size (default: 200000)
  5. Configure max tokens (default: 4096)
  6. Enable/disable features as needed:
    • Function calling: tool_call
    • Vision support: support
    • Streaming: supported

Development

This plugin is built using:

  • TypeScript
  • NestJS
  • LangChain Anthropic SDK
  • AgentXinAI Plugin SDK

License

See the main repository LICENSE file.