chat-agent-toolkit 1.2.78 → 1.2.79
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 +24 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
Multi-provider AI agent toolkit for generating language responses, searching the web, extracting page content, and managing long-term memory across 10+ LLM providers.
|
|
32
32
|
|
|
33
|
-
Built on top of the [Vercel AI SDK](https://sdk.vercel.ai), with a small registry of pre-tuned agent prompts (research, summarization, citation answering, query resolution, knowledge-graph extraction, etc.) and tool wrappers around the [QwkSearch](https://qwksearch.com) API.
|
|
33
|
+
Built on top of the [Vercel AI SDK](https://sdk.vercel.ai) and [Mastra](https://mastra.ai) framework, with a small registry of pre-tuned agent prompts (research, summarization, citation answering, query resolution, knowledge-graph extraction, etc.) and tool wrappers around the [QwkSearch](https://qwksearch.com) API.
|
|
34
34
|
|
|
35
35
|
## Install
|
|
36
36
|
|
|
@@ -120,6 +120,29 @@ import {
|
|
|
120
120
|
|
|
121
121
|
See [src/memory/README.md](src/memory/README.md) and [src/memory/ARCHITECTURE.md](src/memory/ARCHITECTURE.md) for details.
|
|
122
122
|
|
|
123
|
+
## Mastra Framework Integration
|
|
124
|
+
|
|
125
|
+
The toolkit integrates with [Mastra](https://mastra.ai) for advanced agent orchestration:
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
import { createMastraInstance } from "chat-agent-toolkit/mastra";
|
|
129
|
+
|
|
130
|
+
const mastra = createMastraInstance({
|
|
131
|
+
apiKey: process.env.ANTHROPIC_API_KEY,
|
|
132
|
+
model: "claude-3-5-sonnet-20241022"
|
|
133
|
+
});
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Key features:
|
|
137
|
+
- **Agents** — define agents with tools and memory integration
|
|
138
|
+
- **Workflows** — graph-based task orchestration with `.then()`, `.branch()`, `.parallel()` combinators
|
|
139
|
+
- **40+ model routing** — seamless provider switching (OpenAI, Anthropic, Groq, etc.)
|
|
140
|
+
- **Observational memory** — built-in tracing and context management
|
|
141
|
+
- **MCP servers** — register and author Model Context Protocol servers
|
|
142
|
+
- **Standalone or embedded** — deploy as a service or inside React/Next/Node apps
|
|
143
|
+
|
|
144
|
+
See [src/mastra/](src/mastra/) for integration examples and API reference.
|
|
145
|
+
|
|
123
146
|
## Package layout
|
|
124
147
|
|
|
125
148
|
```
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chat-agent-toolkit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.79",
|
|
4
4
|
"description": "Multi-provider AI agent toolkit: generate language responses, search the web, extract content, and manage memory across 10+ LLM providers.",
|
|
5
5
|
"author": "vtempest <grokthiscontact@gmail.com>",
|
|
6
6
|
"license": "rights.institute/PROSPER",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/OpenSourceAGI/qwksearch-research-agent.git",
|
|
10
|
-
"directory": "packages/agent-toolkit"
|
|
10
|
+
"directory": "packages/chat-agent-toolkit"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/OpenSourceAGI/qwksearch-research-agent/issues"
|