@graphai/extra-agents 0.0.5 → 0.0.7
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 +81 -2
- package/lib/index.d.ts +2 -0
- package/lib/index.js +4 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -19,10 +19,15 @@ import {
|
|
|
19
19
|
awesomeChatgptPromptsAgent,
|
|
20
20
|
braveSearchAgent,
|
|
21
21
|
browserlessAgent,
|
|
22
|
+
mcpResourceAgent,
|
|
23
|
+
mcpResourcesAgent,
|
|
24
|
+
mcpToolsCallAgent,
|
|
25
|
+
mcpToolsListAgent,
|
|
22
26
|
pdf2textAgent,
|
|
23
27
|
promptsAgent,
|
|
24
28
|
serperAgent,
|
|
25
29
|
slackAgent,
|
|
30
|
+
sttOpenaiAgent,
|
|
26
31
|
ttsNijivoiceAgent,
|
|
27
32
|
ttsOpenaiAgent
|
|
28
33
|
} from "@graphai/extra-agents";
|
|
@@ -32,10 +37,15 @@ const agents = {
|
|
|
32
37
|
awesomeChatgptPromptsAgent,
|
|
33
38
|
braveSearchAgent,
|
|
34
39
|
browserlessAgent,
|
|
40
|
+
mcpResourceAgent,
|
|
41
|
+
mcpResourcesAgent,
|
|
42
|
+
mcpToolsCallAgent,
|
|
43
|
+
mcpToolsListAgent,
|
|
35
44
|
pdf2textAgent,
|
|
36
45
|
promptsAgent,
|
|
37
46
|
serperAgent,
|
|
38
47
|
slackAgent,
|
|
48
|
+
sttOpenaiAgent,
|
|
39
49
|
ttsNijivoiceAgent,
|
|
40
50
|
ttsOpenaiAgent
|
|
41
51
|
};
|
|
@@ -49,10 +59,15 @@ const result = await graph.run();
|
|
|
49
59
|
- awesomeChatgptPromptsAgent - awesomeChatgptPrompts Agent
|
|
50
60
|
- braveSearchAgent - An agent that uses the Brave Search API. https://api-dashboard.search.brave.com/app/documentation/web-search/get-started
|
|
51
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
|
|
64
|
+
- mcpToolsCallAgent - Model Context Protocol Tools/Call Agent
|
|
65
|
+
- mcpToolsListAgent - Model Context Protocol Tools/List Agent
|
|
52
66
|
- pdf2textAgent - Pdf2text Agent
|
|
53
67
|
- promptsAgent - Prompts Agent
|
|
54
68
|
- serperAgent - serper agent
|
|
55
69
|
- slackAgent - Slack Agent
|
|
70
|
+
- sttOpenaiAgent - OpenAI speach to text agent
|
|
56
71
|
- ttsNijivoiceAgent - TTS nijivoice agent
|
|
57
72
|
- ttsOpenaiAgent - OpenAI TTS agent
|
|
58
73
|
|
|
@@ -61,12 +76,17 @@ const result = await graph.run();
|
|
|
61
76
|
- [awesomeChatgptPromptsAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/prompt/awesomeChatgptPromptsAgent.md)
|
|
62
77
|
- [braveSearchAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/braveSearchAgent.md)
|
|
63
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)
|
|
81
|
+
- [mcpToolsCallAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpToolsCallAgent.md)
|
|
82
|
+
- [mcpToolsListAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpToolsListAgent.md)
|
|
64
83
|
- [pdf2textAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/documents/pdf2textAgent.md)
|
|
65
84
|
- [promptsAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/prompt/promptsAgent.md)
|
|
66
85
|
- [serperAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/serperAgent.md)
|
|
67
86
|
- [slackAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/slackAgent.md)
|
|
68
|
-
- [
|
|
69
|
-
- [
|
|
87
|
+
- [sttOpenaiAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/voice/sttOpenaiAgent.md)
|
|
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)
|
|
70
90
|
|
|
71
91
|
### Input/Params example
|
|
72
92
|
- arxivAgent
|
|
@@ -172,6 +192,61 @@ const result = await graph.run();
|
|
|
172
192
|
"debug": true
|
|
173
193
|
}
|
|
174
194
|
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
- mcpResourcesAgent
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
200
|
+
{
|
|
201
|
+
"inputs": {},
|
|
202
|
+
"params": {}
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
- mcpToolsCallAgent
|
|
207
|
+
|
|
208
|
+
```typescript
|
|
209
|
+
{
|
|
210
|
+
"inputs": {
|
|
211
|
+
"tools": {
|
|
212
|
+
"name": "filesystem--list_directory",
|
|
213
|
+
"arguments": {
|
|
214
|
+
"path": "/home/runner/work/graphai-agents/graphai-agents/protocol/mcp-agent/lib/../tests/sample"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"params": {}
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
{
|
|
225
|
+
"inputs": {
|
|
226
|
+
"tools": {
|
|
227
|
+
"name": "filesystem--list_directory",
|
|
228
|
+
"arguments": {
|
|
229
|
+
"path": "/home/runner/work/graphai-agents/graphai-agents/protocol/mcp-agent/lib/../tests/sample"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"params": {
|
|
234
|
+
"mcpClientsKey": "key"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
- mcpToolsListAgent
|
|
240
|
+
|
|
241
|
+
```typescript
|
|
242
|
+
{
|
|
243
|
+
"inputs": {},
|
|
244
|
+
"params": {
|
|
245
|
+
"services": [
|
|
246
|
+
"filesystem"
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
}
|
|
175
250
|
```
|
|
176
251
|
|
|
177
252
|
- pdf2textAgent
|
|
@@ -244,6 +319,8 @@ const result = await graph.run();
|
|
|
244
319
|
- BROWSERLESS_API_TOKEN
|
|
245
320
|
- serperAgent
|
|
246
321
|
- SERPER_API_KEY
|
|
322
|
+
- sttOpenaiAgent
|
|
323
|
+
- OPENAI_API_KEY
|
|
247
324
|
- ttsNijivoiceAgent
|
|
248
325
|
- NIJIVOICE_API_KEY
|
|
249
326
|
- ttsOpenaiAgent
|
|
@@ -254,9 +331,11 @@ const result = await graph.run();
|
|
|
254
331
|
- [@graphai/awesome_chatgpt_prompts_agent](https://www.npmjs.com/package/@graphai/awesome_chatgpt_prompts_agent)
|
|
255
332
|
- [@graphai/brave_search_agent](https://www.npmjs.com/package/@graphai/brave_search_agent)
|
|
256
333
|
- [@graphai/browserless_agent](https://www.npmjs.com/package/@graphai/browserless_agent)
|
|
334
|
+
- [@graphai/mcp_agent](https://www.npmjs.com/package/@graphai/mcp_agent)
|
|
257
335
|
- [@graphai/pdf2text_agent](https://www.npmjs.com/package/@graphai/pdf2text_agent)
|
|
258
336
|
- [@graphai/serper_agent](https://www.npmjs.com/package/@graphai/serper_agent)
|
|
259
337
|
- [@graphai/slack_agent](https://www.npmjs.com/package/@graphai/slack_agent)
|
|
338
|
+
- [@graphai/stt_openai_agent](https://www.npmjs.com/package/@graphai/stt_openai_agent)
|
|
260
339
|
- [@graphai/tts_nijivoice_agent](https://www.npmjs.com/package/@graphai/tts_nijivoice_agent)
|
|
261
340
|
- [@graphai/tts_openai_agent](https://www.npmjs.com/package/@graphai/tts_openai_agent)
|
|
262
341
|
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -33,3 +33,7 @@ __exportStar(require("@graphai/prompts"), exports);
|
|
|
33
33
|
// tts
|
|
34
34
|
__exportStar(require("@graphai/tts_nijivoice_agent"), exports);
|
|
35
35
|
__exportStar(require("@graphai/tts_openai_agent"), exports);
|
|
36
|
+
// stt
|
|
37
|
+
__exportStar(require("@graphai/stt_openai_agent"), exports);
|
|
38
|
+
// protocol
|
|
39
|
+
__exportStar(require("@graphai/mcp_agent"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphai/extra-agents",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Extra agents for GraphAI.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -30,12 +30,14 @@
|
|
|
30
30
|
"@graphai/awesome_chatgpt_prompts_agent": "^0.0.1",
|
|
31
31
|
"@graphai/brave_search_agent": "^0.0.1",
|
|
32
32
|
"@graphai/browserless_agent": "^0.0.3",
|
|
33
|
+
"@graphai/mcp_agent": "^0.0.3",
|
|
33
34
|
"@graphai/pdf2text_agent": "^0.2.0",
|
|
34
35
|
"@graphai/prompts": "^0.0.1",
|
|
35
36
|
"@graphai/serper_agent": "^0.0.1",
|
|
36
37
|
"@graphai/slack_agent": "^0.0.3",
|
|
37
|
-
"@graphai/
|
|
38
|
-
"@graphai/
|
|
38
|
+
"@graphai/stt_openai_agent": "^2.0.0",
|
|
39
|
+
"@graphai/tts_nijivoice_agent": "^2.0.0",
|
|
40
|
+
"@graphai/tts_openai_agent": "^2.0.0"
|
|
39
41
|
},
|
|
40
42
|
"devDependencies": {},
|
|
41
43
|
"types": "./lib/index.d.ts",
|