@graphai/extra-agents 0.0.7 → 1.0.1
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 +47 -18
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -19,8 +19,6 @@ import {
|
|
|
19
19
|
awesomeChatgptPromptsAgent,
|
|
20
20
|
braveSearchAgent,
|
|
21
21
|
browserlessAgent,
|
|
22
|
-
mcpResourceAgent,
|
|
23
|
-
mcpResourcesAgent,
|
|
24
22
|
mcpToolsCallAgent,
|
|
25
23
|
mcpToolsListAgent,
|
|
26
24
|
pdf2textAgent,
|
|
@@ -37,8 +35,6 @@ const agents = {
|
|
|
37
35
|
awesomeChatgptPromptsAgent,
|
|
38
36
|
braveSearchAgent,
|
|
39
37
|
browserlessAgent,
|
|
40
|
-
mcpResourceAgent,
|
|
41
|
-
mcpResourcesAgent,
|
|
42
38
|
mcpToolsCallAgent,
|
|
43
39
|
mcpToolsListAgent,
|
|
44
40
|
pdf2textAgent,
|
|
@@ -59,8 +55,6 @@ const result = await graph.run();
|
|
|
59
55
|
- awesomeChatgptPromptsAgent - awesomeChatgptPrompts Agent
|
|
60
56
|
- braveSearchAgent - An agent that uses the Brave Search API. https://api-dashboard.search.brave.com/app/documentation/web-search/get-started
|
|
61
57
|
- 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
58
|
- mcpToolsCallAgent - Model Context Protocol Tools/Call Agent
|
|
65
59
|
- mcpToolsListAgent - Model Context Protocol Tools/List Agent
|
|
66
60
|
- pdf2textAgent - Pdf2text Agent
|
|
@@ -76,8 +70,6 @@ const result = await graph.run();
|
|
|
76
70
|
- [awesomeChatgptPromptsAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/prompt/awesomeChatgptPromptsAgent.md)
|
|
77
71
|
- [braveSearchAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/braveSearchAgent.md)
|
|
78
72
|
- [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
73
|
- [mcpToolsCallAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpToolsCallAgent.md)
|
|
82
74
|
- [mcpToolsListAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/protocol/mcpToolsListAgent.md)
|
|
83
75
|
- [pdf2textAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/documents/pdf2textAgent.md)
|
|
@@ -91,6 +83,8 @@ const result = await graph.run();
|
|
|
91
83
|
### Input/Params example
|
|
92
84
|
- arxivAgent
|
|
93
85
|
|
|
86
|
+
|
|
87
|
+
|
|
94
88
|
```typescript
|
|
95
89
|
{
|
|
96
90
|
"inputs": {},
|
|
@@ -114,6 +108,8 @@ const result = await graph.run();
|
|
|
114
108
|
|
|
115
109
|
- awesomeChatgptPromptsAgent
|
|
116
110
|
|
|
111
|
+
|
|
112
|
+
|
|
117
113
|
```typescript
|
|
118
114
|
{
|
|
119
115
|
"inputs": {},
|
|
@@ -124,6 +120,20 @@ const result = await graph.run();
|
|
|
124
120
|
```
|
|
125
121
|
|
|
126
122
|
- braveSearchAgent
|
|
123
|
+
- inputs
|
|
124
|
+
- query(string)
|
|
125
|
+
- The search query to send to Brave Search
|
|
126
|
+
- search_args(object)
|
|
127
|
+
- Additional search parameters to pass to the Brave Search API. See https://api-dashboard.search.brave.com/app/documentation/web-search/query
|
|
128
|
+
- params
|
|
129
|
+
- apiKey(string)
|
|
130
|
+
- Brave Search API key
|
|
131
|
+
- debug(boolean)
|
|
132
|
+
- Enable debug mode
|
|
133
|
+
- supressError(boolean)
|
|
134
|
+
- Suppress error and return onError object if the request fails
|
|
135
|
+
- search_args(object)
|
|
136
|
+
- Additional search parameters to pass to the Brave Search API. See https://api-dashboard.search.brave.com/app/documentation/web-search/query
|
|
127
137
|
|
|
128
138
|
```typescript
|
|
129
139
|
{
|
|
@@ -161,6 +171,22 @@ const result = await graph.run();
|
|
|
161
171
|
```
|
|
162
172
|
|
|
163
173
|
- browserlessAgent
|
|
174
|
+
- inputs
|
|
175
|
+
- url(string)
|
|
176
|
+
- URL of the web page to scrape or manipulate
|
|
177
|
+
- text_content(boolean)
|
|
178
|
+
- If true, returns only the text content of the body element of the page, otherwise returns the full HTML
|
|
179
|
+
- params
|
|
180
|
+
- apiKey(string)
|
|
181
|
+
- Browserless API key
|
|
182
|
+
- debug(boolean)
|
|
183
|
+
- Enable debug mode
|
|
184
|
+
- supressError(boolean)
|
|
185
|
+
- Suppress error and return onError object if the request fails
|
|
186
|
+
- text_content(boolean)
|
|
187
|
+
- If true, returns only the text content of the body element of the page, otherwise returns the full HTML
|
|
188
|
+
- region(string)
|
|
189
|
+
- Regional endpoint to use. sfo: San Francisco (default), lon: London, ams: Amsterdam
|
|
164
190
|
|
|
165
191
|
```typescript
|
|
166
192
|
{
|
|
@@ -194,16 +220,9 @@ const result = await graph.run();
|
|
|
194
220
|
}
|
|
195
221
|
```
|
|
196
222
|
|
|
197
|
-
-
|
|
223
|
+
- mcpToolsCallAgent
|
|
198
224
|
|
|
199
|
-
```typescript
|
|
200
|
-
{
|
|
201
|
-
"inputs": {},
|
|
202
|
-
"params": {}
|
|
203
|
-
}
|
|
204
|
-
```
|
|
205
225
|
|
|
206
|
-
- mcpToolsCallAgent
|
|
207
226
|
|
|
208
227
|
```typescript
|
|
209
228
|
{
|
|
@@ -211,7 +230,7 @@ const result = await graph.run();
|
|
|
211
230
|
"tools": {
|
|
212
231
|
"name": "filesystem--list_directory",
|
|
213
232
|
"arguments": {
|
|
214
|
-
"path": "/home/runner/work/graphai-agents/graphai-agents/
|
|
233
|
+
"path": "/home/runner/work/graphai-agents/graphai-agents/packages/agents/node_modules/@graphai/mcp_agent/lib/../tests/sample"
|
|
215
234
|
}
|
|
216
235
|
}
|
|
217
236
|
},
|
|
@@ -226,7 +245,7 @@ const result = await graph.run();
|
|
|
226
245
|
"tools": {
|
|
227
246
|
"name": "filesystem--list_directory",
|
|
228
247
|
"arguments": {
|
|
229
|
-
"path": "/home/runner/work/graphai-agents/graphai-agents/
|
|
248
|
+
"path": "/home/runner/work/graphai-agents/graphai-agents/packages/agents/node_modules/@graphai/mcp_agent/lib/../tests/sample"
|
|
230
249
|
}
|
|
231
250
|
}
|
|
232
251
|
},
|
|
@@ -238,6 +257,8 @@ const result = await graph.run();
|
|
|
238
257
|
|
|
239
258
|
- mcpToolsListAgent
|
|
240
259
|
|
|
260
|
+
|
|
261
|
+
|
|
241
262
|
```typescript
|
|
242
263
|
{
|
|
243
264
|
"inputs": {},
|
|
@@ -251,6 +272,8 @@ const result = await graph.run();
|
|
|
251
272
|
|
|
252
273
|
- pdf2textAgent
|
|
253
274
|
|
|
275
|
+
|
|
276
|
+
|
|
254
277
|
```typescript
|
|
255
278
|
{
|
|
256
279
|
"inputs": {
|
|
@@ -276,6 +299,8 @@ const result = await graph.run();
|
|
|
276
299
|
|
|
277
300
|
- promptsAgent
|
|
278
301
|
|
|
302
|
+
|
|
303
|
+
|
|
279
304
|
```typescript
|
|
280
305
|
{
|
|
281
306
|
"inputs": {},
|
|
@@ -287,6 +312,8 @@ const result = await graph.run();
|
|
|
287
312
|
|
|
288
313
|
- serperAgent
|
|
289
314
|
|
|
315
|
+
|
|
316
|
+
|
|
290
317
|
```typescript
|
|
291
318
|
{
|
|
292
319
|
"inputs": {
|
|
@@ -298,6 +325,8 @@ const result = await graph.run();
|
|
|
298
325
|
|
|
299
326
|
- slackAgent
|
|
300
327
|
|
|
328
|
+
|
|
329
|
+
|
|
301
330
|
```typescript
|
|
302
331
|
{
|
|
303
332
|
"inputs": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphai/extra-agents",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Extra agents for GraphAI.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -26,15 +26,15 @@
|
|
|
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
|
|
33
|
-
"@graphai/mcp_agent": "^0.0.
|
|
31
|
+
"@graphai/brave_search_agent": "^2.0.0",
|
|
32
|
+
"@graphai/browserless_agent": "^2.0.0",
|
|
33
|
+
"@graphai/mcp_agent": "^0.0.4",
|
|
34
34
|
"@graphai/pdf2text_agent": "^0.2.0",
|
|
35
35
|
"@graphai/prompts": "^0.0.1",
|
|
36
36
|
"@graphai/serper_agent": "^0.0.1",
|
|
37
|
-
"@graphai/slack_agent": "^0.0.
|
|
37
|
+
"@graphai/slack_agent": "^0.0.4",
|
|
38
38
|
"@graphai/stt_openai_agent": "^2.0.0",
|
|
39
39
|
"@graphai/tts_nijivoice_agent": "^2.0.0",
|
|
40
40
|
"@graphai/tts_openai_agent": "^2.0.0"
|