2.0.5 β€’ Published 5 months ago

@receptron/graphai_cli v2.0.5

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

GraphAI cliπŸ€–

GraphAI command line tool

Install πŸš€

npm i -g  @receptron/graphai_cli

Usage πŸ“–

graphai <yaml_or_json_file>

run GraphAI with GraphAI file.

Positionals:
  yaml_or_json_file  yaml or json file                                  [string]

Options:
      --help     Show help                                             [boolean]
      --version  Show version number                                   [boolean]
  -l, --list     agents list
  -s, --sample   agent sample data                                      [string]
  -d, --detail   agent detail                                           [string]
  -v, --verbose  verbose log               [boolean] [required] [default: false]
  -m, --mermaid  mermaid                   [boolean] [required] [default: false]
      --yaml     dump yaml                 [boolean] [required] [default: false]
      --json     dump json                 [boolean] [required] [default: false]
      --log      output log                                             [string]

Run GraphAI πŸ”₯

# Run test_yaml/test_base.yml (Make sure you are in the correct directory)
graphai test_yaml/test_base.yml 

Get Agents List πŸ“š

graphai -l

Available Agents
* anthropicAgent - Anthropic Agent
* arrayFlatAgent - Array Flat Agent
* arrayJoinAgent - Array Join Agent
* compareAgent - compare
* copy2ArrayAgent - Copy2Array agent
* copyAgent - Returns namedInputs
* copyMessageAgent - CopyMessage agent
* countingAgent - Counting agent
* dataObjectMergeTemplateAgent - Merge object
* dataSumTemplateAgent - Returns the sum of input values
* dotProductAgent - dotProduct Agent
* echoAgent - Echo agent
* fetchAgent - Retrieves JSON data from the specified URL
* fileReadAgent - Read data from file system and returns data
* fileWriteAgent - Write data to file system
* geminiAgent - Gemini Agent
* groqAgent - Groq Agent
* images2messageAgent - Returns the message data for llm include image
* jsonParserAgent - Template agent
* mapAgent - Map Agent
* mergeNodeIdAgent - merge node id agent
* nestedAgent - nested Agent
* openAIAgent - OpenAI Agent
* openAIImageAgent - OpenAI Image Agent
* pathUtilsAgent - Path utils
* popAgent - Pop Agent
* propertyFilterAgent - Filter properties based on property name either with 'include', 'exclude', 'alter', 'swap', 'inject', 'inspect'
* pushAgent - push Agent
* replicateAgent - Replicate Agent
* shiftAgent - shift Agent
* sleepAndMergeAgent - sleeper and merge Agent
* sleeperAgent - sleeper Agent
* sleeperAgentDebug - sleeper debug Agent
* sortByValuesAgent - sortByValues Agent
* streamMockAgent - Stream mock agent
* stringCaseVariantsAgent - Format String Cases agent
* stringEmbeddingsAgent - Embeddings Agent
* stringSplitterAgent - This agent strip one long string into chunks using following parameters
* stringTemplateAgent - Template agent
* stringUpdateTextAgent - 
* textInputAgent - Text Input Agent
* tokenBoundStringsAgent - token bound Agent
* totalAgent - Returns the sum of input values
* vanillaFetchAgent - Retrieves JSON data from the specified URL
* wikipediaAgent - Retrieves data from wikipedia
1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago

0.6.7

10 months ago

0.6.9

9 months ago

0.6.8

10 months ago

1.0.5

6 months ago

1.0.4

8 months ago

1.0.3

8 months ago

2.0.2

5 months ago

2.0.5

5 months ago

2.0.4

5 months ago

2.0.1

5 months ago

2.0.0

6 months ago

0.6.10

9 months ago

0.5.22

12 months ago

0.5.23

11 months ago

0.6.3

11 months ago

0.6.2

11 months ago

0.6.5

11 months ago

0.6.4

11 months ago

0.6.1

11 months ago

0.6.0

11 months ago

0.5.21

12 months ago

0.5.18

12 months ago

0.5.19

12 months ago

0.5.20

12 months ago

0.5.17

1 year ago

0.5.16

1 year ago

0.5.14

1 year ago

0.5.15

1 year ago

0.5.10

1 year ago

0.5.11

1 year ago

0.5.8

1 year ago

0.5.7

1 year ago

0.4.8

1 year ago

0.5.9

1 year ago

0.5.12

1 year ago

0.5.13

1 year ago

0.5.4

1 year ago

0.4.5

1 year ago

0.5.3

1 year ago

0.4.4

1 year ago

0.5.6

1 year ago

0.4.7

1 year ago

0.5.5

1 year ago

0.4.6

1 year ago

0.5.0

1 year ago

0.5.2

1 year ago

0.4.3

1 year ago

0.5.1

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.3.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago