Socket
Book a DemoInstallSign in
Socket

@graphai/anthropic_agent

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphai/anthropic_agent

Anthropic agents for GraphAI.

latest
Source
npmnpm
Version
2.0.11
Version published
Maintainers
2
Created
Source

@graphai/anthropic_agent for GraphAI

Anthropic agents for GraphAI.

Install

yarn add @graphai/anthropic_agent

Usage

import { GraphAI } from "graphai";
import { anthropicAgent } from "@graphai/anthropic_agent";

const agents = { anthropicAgent };

const graph = new GraphAI(graph_data, agents);
const result = await graph.run();

Agents description

  • anthropicAgent - Anthropic Agent

Input/Output/Params Schema & samples

  • anthropicAgent

Environment Variables

  • anthropicAgent
    • ANTHROPIC_API_KEY

GraphData Example

graphDataAnthropicMath

{
  "version": 0.5,
  "nodes": {
    "inputData": {
      "value": "hello, let me know the answer 1 + 1"
    },
    "llm": {
      "agent": "anthropicAgent",
      "inputs": {
        "prompt": ":inputData"
      }
    }
  }
}

FAQs

Package last updated on 18 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts