@graphai/extra-agents 0.0.7 → 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 +48 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -91,6 +91,8 @@ const result = await graph.run();
|
|
|
91
91
|
### Input/Params example
|
|
92
92
|
- arxivAgent
|
|
93
93
|
|
|
94
|
+
|
|
95
|
+
|
|
94
96
|
```typescript
|
|
95
97
|
{
|
|
96
98
|
"inputs": {},
|
|
@@ -114,6 +116,8 @@ const result = await graph.run();
|
|
|
114
116
|
|
|
115
117
|
- awesomeChatgptPromptsAgent
|
|
116
118
|
|
|
119
|
+
|
|
120
|
+
|
|
117
121
|
```typescript
|
|
118
122
|
{
|
|
119
123
|
"inputs": {},
|
|
@@ -124,6 +128,20 @@ const result = await graph.run();
|
|
|
124
128
|
```
|
|
125
129
|
|
|
126
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
|
|
127
145
|
|
|
128
146
|
```typescript
|
|
129
147
|
{
|
|
@@ -161,6 +179,22 @@ const result = await graph.run();
|
|
|
161
179
|
```
|
|
162
180
|
|
|
163
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
|
|
164
198
|
|
|
165
199
|
```typescript
|
|
166
200
|
{
|
|
@@ -196,6 +230,8 @@ const result = await graph.run();
|
|
|
196
230
|
|
|
197
231
|
- mcpResourcesAgent
|
|
198
232
|
|
|
233
|
+
|
|
234
|
+
|
|
199
235
|
```typescript
|
|
200
236
|
{
|
|
201
237
|
"inputs": {},
|
|
@@ -205,6 +241,8 @@ const result = await graph.run();
|
|
|
205
241
|
|
|
206
242
|
- mcpToolsCallAgent
|
|
207
243
|
|
|
244
|
+
|
|
245
|
+
|
|
208
246
|
```typescript
|
|
209
247
|
{
|
|
210
248
|
"inputs": {
|
|
@@ -238,6 +276,8 @@ const result = await graph.run();
|
|
|
238
276
|
|
|
239
277
|
- mcpToolsListAgent
|
|
240
278
|
|
|
279
|
+
|
|
280
|
+
|
|
241
281
|
```typescript
|
|
242
282
|
{
|
|
243
283
|
"inputs": {},
|
|
@@ -251,6 +291,8 @@ const result = await graph.run();
|
|
|
251
291
|
|
|
252
292
|
- pdf2textAgent
|
|
253
293
|
|
|
294
|
+
|
|
295
|
+
|
|
254
296
|
```typescript
|
|
255
297
|
{
|
|
256
298
|
"inputs": {
|
|
@@ -276,6 +318,8 @@ const result = await graph.run();
|
|
|
276
318
|
|
|
277
319
|
- promptsAgent
|
|
278
320
|
|
|
321
|
+
|
|
322
|
+
|
|
279
323
|
```typescript
|
|
280
324
|
{
|
|
281
325
|
"inputs": {},
|
|
@@ -287,6 +331,8 @@ const result = await graph.run();
|
|
|
287
331
|
|
|
288
332
|
- serperAgent
|
|
289
333
|
|
|
334
|
+
|
|
335
|
+
|
|
290
336
|
```typescript
|
|
291
337
|
{
|
|
292
338
|
"inputs": {
|
|
@@ -298,6 +344,8 @@ const result = await graph.run();
|
|
|
298
344
|
|
|
299
345
|
- slackAgent
|
|
300
346
|
|
|
347
|
+
|
|
348
|
+
|
|
301
349
|
```typescript
|
|
302
350
|
{
|
|
303
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,10 +26,10 @@
|
|
|
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",
|