0.1.0 • Published 9 months ago

@graphai/anthropic_agent v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@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

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"
      }
    }
  }
}
0.1.0

9 months ago

0.0.5

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago