@graphai/extra-agents 0.0.6 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
awesomeChatgptPromptsAgent,
|
|
20
20
|
braveSearchAgent,
|
|
21
21
|
browserlessAgent,
|
|
22
|
+
mcpResourceAgent,
|
|
23
|
+
mcpResourcesAgent,
|
|
22
24
|
mcpToolsCallAgent,
|
|
23
25
|
mcpToolsListAgent,
|
|
24
26
|
pdf2textAgent,
|
|
@@ -35,6 +37,8 @@ const agents = {
|
|
|
35
37
|
awesomeChatgptPromptsAgent,
|
|
36
38
|
braveSearchAgent,
|
|
37
39
|
browserlessAgent,
|
|
40
|
+
mcpResourceAgent,
|
|
41
|
+
mcpResourcesAgent,
|
|
38
42
|
mcpToolsCallAgent,
|
|
39
43
|
mcpToolsListAgent,
|
|
40
44
|
pdf2textAgent,
|
|
@@ -55,6 +59,8 @@ const result = await graph.run();
|
|
|
55
59
|
- awesomeChatgptPromptsAgent - awesomeChatgptPrompts Agent
|
|
56
60
|
- braveSearchAgent - An agent that uses the Brave Search API. https://api-dashboard.search.brave.com/app/documentation/web-search/get-started
|
|
57
61
|
- browserlessAgent - An agent that uses Browserless.io to fetch web page content with JavaScript execution support for retrieving data from SPAs and dynamic content
|
|
62
|
+
- mcpResourceAgent - Model Context Protocol Resource Agent
|
|
63
|
+
- mcpResourcesAgent - Model Context Protocol Resources Agent
|
|
58
64
|
- mcpToolsCallAgent - Model Context Protocol Tools/Call Agent
|
|
59
65
|
- mcpToolsListAgent - Model Context Protocol Tools/List Agent
|
|
60
66
|
- pdf2textAgent - Pdf2text Agent
|
|
@@ -70,6 +76,8 @@ const result = await graph.run();
|
|
|
70
76
|
- [awesomeChatgptPromptsAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/prompt/awesomeChatgptPromptsAgent.md)
|
|
71
77
|
- [braveSearchAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/braveSearchAgent.md)
|
|
72
78
|
- [browserlessAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/browserlessAgent.md)
|
|
79
|
+
- [mcpResourceAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpResourceAgent.md)
|
|
80
|
+
- [mcpResourcesAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpResourcesAgent.md)
|
|
73
81
|
- [mcpToolsCallAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpToolsCallAgent.md)
|
|
74
82
|
- [mcpToolsListAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpToolsListAgent.md)
|
|
75
83
|
- [pdf2textAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/documents/pdf2textAgent.md)
|
|
@@ -77,12 +85,14 @@ const result = await graph.run();
|
|
|
77
85
|
- [serperAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/serperAgent.md)
|
|
78
86
|
- [slackAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/slackAgent.md)
|
|
79
87
|
- [sttOpenaiAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/voice/sttOpenaiAgent.md)
|
|
80
|
-
- [ttsNijivoiceAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/
|
|
81
|
-
- [ttsOpenaiAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/
|
|
88
|
+
- [ttsNijivoiceAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/voice/ttsNijivoiceAgent.md)
|
|
89
|
+
- [ttsOpenaiAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/voice/ttsOpenaiAgent.md)
|
|
82
90
|
|
|
83
91
|
### Input/Params example
|
|
84
92
|
- arxivAgent
|
|
85
93
|
|
|
94
|
+
|
|
95
|
+
|
|
86
96
|
```typescript
|
|
87
97
|
{
|
|
88
98
|
"inputs": {},
|
|
@@ -106,6 +116,8 @@ const result = await graph.run();
|
|
|
106
116
|
|
|
107
117
|
- awesomeChatgptPromptsAgent
|
|
108
118
|
|
|
119
|
+
|
|
120
|
+
|
|
109
121
|
```typescript
|
|
110
122
|
{
|
|
111
123
|
"inputs": {},
|
|
@@ -116,6 +128,20 @@ const result = await graph.run();
|
|
|
116
128
|
```
|
|
117
129
|
|
|
118
130
|
- braveSearchAgent
|
|
131
|
+
- inputs
|
|
132
|
+
- query(string)
|
|
133
|
+
- The search query to send to Brave Search
|
|
134
|
+
- search_args(object)
|
|
135
|
+
- Additional search parameters to pass to the Brave Search API. See https://api-dashboard.search.brave.com/app/documentation/web-search/query
|
|
136
|
+
- params
|
|
137
|
+
- apiKey(string)
|
|
138
|
+
- Brave Search API key
|
|
139
|
+
- debug(boolean)
|
|
140
|
+
- Enable debug mode
|
|
141
|
+
- supressError(boolean)
|
|
142
|
+
- Suppress error and return onError object if the request fails
|
|
143
|
+
- search_args(object)
|
|
144
|
+
- Additional search parameters to pass to the Brave Search API. See https://api-dashboard.search.brave.com/app/documentation/web-search/query
|
|
119
145
|
|
|
120
146
|
```typescript
|
|
121
147
|
{
|
|
@@ -153,6 +179,22 @@ const result = await graph.run();
|
|
|
153
179
|
```
|
|
154
180
|
|
|
155
181
|
- browserlessAgent
|
|
182
|
+
- inputs
|
|
183
|
+
- url(string)
|
|
184
|
+
- URL of the web page to scrape or manipulate
|
|
185
|
+
- text_content(boolean)
|
|
186
|
+
- If true, returns only the text content of the body element of the page, otherwise returns the full HTML
|
|
187
|
+
- params
|
|
188
|
+
- apiKey(string)
|
|
189
|
+
- Browserless API key
|
|
190
|
+
- debug(boolean)
|
|
191
|
+
- Enable debug mode
|
|
192
|
+
- supressError(boolean)
|
|
193
|
+
- Suppress error and return onError object if the request fails
|
|
194
|
+
- text_content(boolean)
|
|
195
|
+
- If true, returns only the text content of the body element of the page, otherwise returns the full HTML
|
|
196
|
+
- region(string)
|
|
197
|
+
- Regional endpoint to use. sfo: San Francisco (default), lon: London, ams: Amsterdam
|
|
156
198
|
|
|
157
199
|
```typescript
|
|
158
200
|
{
|
|
@@ -184,17 +226,30 @@ const result = await graph.run();
|
|
|
184
226
|
"debug": true
|
|
185
227
|
}
|
|
186
228
|
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
- mcpResourcesAgent
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
```typescript
|
|
236
|
+
{
|
|
237
|
+
"inputs": {},
|
|
238
|
+
"params": {}
|
|
239
|
+
}
|
|
187
240
|
```
|
|
188
241
|
|
|
189
242
|
- mcpToolsCallAgent
|
|
190
243
|
|
|
244
|
+
|
|
245
|
+
|
|
191
246
|
```typescript
|
|
192
247
|
{
|
|
193
248
|
"inputs": {
|
|
194
249
|
"tools": {
|
|
195
250
|
"name": "filesystem--list_directory",
|
|
196
251
|
"arguments": {
|
|
197
|
-
"path": "/
|
|
252
|
+
"path": "/home/runner/work/graphai-agents/graphai-agents/protocol/mcp-agent/lib/../tests/sample"
|
|
198
253
|
}
|
|
199
254
|
}
|
|
200
255
|
},
|
|
@@ -209,7 +264,7 @@ const result = await graph.run();
|
|
|
209
264
|
"tools": {
|
|
210
265
|
"name": "filesystem--list_directory",
|
|
211
266
|
"arguments": {
|
|
212
|
-
"path": "/
|
|
267
|
+
"path": "/home/runner/work/graphai-agents/graphai-agents/protocol/mcp-agent/lib/../tests/sample"
|
|
213
268
|
}
|
|
214
269
|
}
|
|
215
270
|
},
|
|
@@ -221,6 +276,8 @@ const result = await graph.run();
|
|
|
221
276
|
|
|
222
277
|
- mcpToolsListAgent
|
|
223
278
|
|
|
279
|
+
|
|
280
|
+
|
|
224
281
|
```typescript
|
|
225
282
|
{
|
|
226
283
|
"inputs": {},
|
|
@@ -234,6 +291,8 @@ const result = await graph.run();
|
|
|
234
291
|
|
|
235
292
|
- pdf2textAgent
|
|
236
293
|
|
|
294
|
+
|
|
295
|
+
|
|
237
296
|
```typescript
|
|
238
297
|
{
|
|
239
298
|
"inputs": {
|
|
@@ -259,6 +318,8 @@ const result = await graph.run();
|
|
|
259
318
|
|
|
260
319
|
- promptsAgent
|
|
261
320
|
|
|
321
|
+
|
|
322
|
+
|
|
262
323
|
```typescript
|
|
263
324
|
{
|
|
264
325
|
"inputs": {},
|
|
@@ -270,6 +331,8 @@ const result = await graph.run();
|
|
|
270
331
|
|
|
271
332
|
- serperAgent
|
|
272
333
|
|
|
334
|
+
|
|
335
|
+
|
|
273
336
|
```typescript
|
|
274
337
|
{
|
|
275
338
|
"inputs": {
|
|
@@ -281,6 +344,8 @@ const result = await graph.run();
|
|
|
281
344
|
|
|
282
345
|
- slackAgent
|
|
283
346
|
|
|
347
|
+
|
|
348
|
+
|
|
284
349
|
```typescript
|
|
285
350
|
{
|
|
286
351
|
"inputs": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphai/extra-agents",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Extra agents for GraphAI.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/receptron/graphai-agents/blob/main/packages/agents/README.md",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@graphai/arxiv_agent": "^0.0
|
|
29
|
+
"@graphai/arxiv_agent": "^1.0.0",
|
|
30
30
|
"@graphai/awesome_chatgpt_prompts_agent": "^0.0.1",
|
|
31
|
-
"@graphai/brave_search_agent": "^0.0
|
|
32
|
-
"@graphai/browserless_agent": "^0.0
|
|
31
|
+
"@graphai/brave_search_agent": "^2.0.0",
|
|
32
|
+
"@graphai/browserless_agent": "^2.0.0",
|
|
33
33
|
"@graphai/mcp_agent": "^0.0.3",
|
|
34
34
|
"@graphai/pdf2text_agent": "^0.2.0",
|
|
35
35
|
"@graphai/prompts": "^0.0.1",
|
|
36
36
|
"@graphai/serper_agent": "^0.0.1",
|
|
37
37
|
"@graphai/slack_agent": "^0.0.3",
|
|
38
|
-
"@graphai/stt_openai_agent": "^0.0
|
|
39
|
-
"@graphai/tts_nijivoice_agent": "^0.0
|
|
40
|
-
"@graphai/tts_openai_agent": "^0.0
|
|
38
|
+
"@graphai/stt_openai_agent": "^2.0.0",
|
|
39
|
+
"@graphai/tts_nijivoice_agent": "^2.0.0",
|
|
40
|
+
"@graphai/tts_openai_agent": "^2.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {},
|
|
43
43
|
"types": "./lib/index.d.ts",
|