@mastra/mcp-docs-server 1.2.12-alpha.0 → 1.2.12-alpha.3
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/.docs/docs/agent-builder/access-control.md +3 -3
- package/.docs/docs/agent-builder/browser.md +1 -1
- package/.docs/docs/agent-builder/channels.md +1 -1
- package/.docs/docs/agent-builder/configuration.md +3 -3
- package/.docs/docs/agent-builder/deploying.md +2 -2
- package/.docs/docs/agent-builder/integrations.md +8 -8
- package/.docs/docs/agent-builder/memory.md +2 -2
- package/.docs/docs/agent-builder/overview.md +1 -1
- package/.docs/docs/agent-controller/channels.md +8 -6
- package/.docs/docs/agent-controller/modes.md +6 -6
- package/.docs/docs/agent-controller/overview.md +13 -9
- package/.docs/docs/agent-controller/session.md +27 -9
- package/.docs/docs/agent-controller/subagents.md +9 -6
- package/.docs/docs/agent-controller/threads-and-state.md +12 -8
- package/.docs/docs/agent-controller/tool-approvals.md +7 -3
- package/.docs/docs/agents/a2a.md +4 -2
- package/.docs/docs/agents/acp.md +5 -5
- package/.docs/docs/agents/agent-approval.md +13 -11
- package/.docs/docs/agents/code-mode.md +29 -6
- package/.docs/docs/agents/guardrails.md +8 -8
- package/.docs/docs/agents/networks.md +2 -2
- package/.docs/docs/agents/overview.md +9 -7
- package/.docs/docs/agents/processors.md +15 -15
- package/.docs/docs/agents/skills.md +6 -6
- package/.docs/docs/agents/structured-output.md +6 -6
- package/.docs/docs/agents/supervisor-agents.md +19 -13
- package/.docs/docs/agents/using-tools.md +25 -23
- package/.docs/docs/browser/agent-browser.md +4 -4
- package/.docs/docs/browser/browser-viewer.md +2 -2
- package/.docs/docs/browser/firecrawl.md +1 -1
- package/.docs/docs/browser/overview.md +2 -2
- package/.docs/docs/browser/recording.md +1 -1
- package/.docs/docs/browser/stagehand.md +7 -7
- package/.docs/docs/capabilities/channels/discord.md +1 -1
- package/.docs/docs/capabilities/channels/other-adapters.md +1 -1
- package/.docs/docs/capabilities/channels/overview.md +9 -5
- package/.docs/docs/capabilities/channels/slack.md +2 -2
- package/.docs/docs/capabilities/channels/teams.md +1 -1
- package/.docs/docs/capabilities/channels/telegram.md +1 -1
- package/.docs/docs/capabilities/channels/whatsapp.md +1 -1
- package/.docs/docs/deployment/mastra-server.md +1 -1
- package/.docs/docs/deployment/overview.md +6 -2
- package/.docs/docs/deployment/sandbox.md +3 -1
- package/.docs/docs/deployment/workers.md +137 -0
- package/.docs/docs/editor/overview.md +37 -31
- package/.docs/docs/editor/prompts.md +8 -4
- package/.docs/docs/editor/tools.md +3 -3
- package/.docs/docs/evals/built-in-scorers.md +4 -4
- package/.docs/docs/evals/custom-scorers.md +5 -5
- package/.docs/docs/evals/datasets/running-experiments.md +7 -7
- package/.docs/docs/evals/evals-with-memory.md +4 -4
- package/.docs/docs/evals/gates-and-verdicts.md +4 -4
- package/.docs/docs/evals/multi-turn.md +12 -12
- package/.docs/docs/evals/overview.md +6 -4
- package/.docs/docs/evals/quick-checks.md +2 -2
- package/.docs/docs/getting-started/build-with-ai.md +6 -4
- package/.docs/docs/getting-started/file-based-agents.md +6 -4
- package/.docs/docs/getting-started/manual-install.md +1 -1
- package/.docs/docs/index.md +9 -90
- package/.docs/docs/long-running-agents/background-tasks.md +10 -10
- package/.docs/docs/long-running-agents/durable-agents.md +46 -5
- package/.docs/docs/long-running-agents/goals.md +15 -11
- package/.docs/docs/long-running-agents/schedules.md +3 -3
- package/.docs/docs/long-running-agents/signal-providers.md +8 -6
- package/.docs/docs/long-running-agents/signals.md +9 -5
- package/.docs/docs/mastra-platform/configuration.md +3 -3
- package/.docs/docs/mastra-platform/database.md +8 -8
- package/.docs/docs/mastra-platform/deploy.md +8 -4
- package/.docs/docs/mastra-platform/environments.md +8 -4
- package/.docs/docs/mastra-platform/github.md +3 -1
- package/.docs/docs/mastra-platform/server.md +1 -1
- package/.docs/docs/mastra-platform/studio.md +2 -2
- package/.docs/docs/mastra-platform/workspace.md +6 -6
- package/.docs/docs/mcp/mcp-apps.md +1 -1
- package/.docs/docs/mcp/overview.md +9 -9
- package/.docs/docs/memory/memory-processors.md +10 -10
- package/.docs/docs/memory/message-history.md +11 -5
- package/.docs/docs/memory/multi-user-threads.md +6 -6
- package/.docs/docs/memory/observational-memory.md +27 -25
- package/.docs/docs/memory/overview.md +10 -10
- package/.docs/docs/memory/semantic-recall.md +3 -3
- package/.docs/docs/memory/working-memory.md +8 -8
- package/.docs/docs/observability/integrations/bridges/datadog.md +6 -6
- package/.docs/docs/observability/integrations/bridges/otel.md +5 -5
- package/.docs/docs/observability/integrations/exporters/datadog.md +1 -1
- package/.docs/docs/observability/integrations/exporters/laminar.md +1 -1
- package/.docs/docs/observability/integrations/exporters/langfuse.md +3 -3
- package/.docs/docs/observability/integrations/exporters/langsmith.md +4 -4
- package/.docs/docs/observability/integrations/exporters/mastra-platform.md +1 -1
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +1 -1
- package/.docs/docs/observability/integrations/exporters/otel.md +26 -4
- package/.docs/docs/observability/integrations/exporters/sentry.md +1 -1
- package/.docs/docs/observability/integrations/overview.md +1 -1
- package/.docs/docs/observability/integrations/processors/sensitive-data-filter.md +1 -1
- package/.docs/docs/observability/logging.md +1 -1
- package/.docs/docs/observability/metrics/overview.md +1 -1
- package/.docs/docs/observability/metrics/querying.md +8 -8
- package/.docs/docs/observability/overview.md +4 -4
- package/.docs/docs/observability/tracing/overview.md +18 -12
- package/.docs/docs/rag/chunking-and-embedding.md +1 -1
- package/.docs/docs/rag/graph-rag.md +7 -7
- package/.docs/docs/rag/overview.md +2 -2
- package/.docs/docs/rag/retrieval.md +18 -18
- package/.docs/docs/rag/vector-databases.md +2 -2
- package/.docs/docs/server/auth/composite-auth.md +2 -2
- package/.docs/docs/server/auth/fga.md +6 -6
- package/.docs/docs/server/auth/firebase.md +2 -2
- package/.docs/docs/server/auth/simple-auth.md +1 -1
- package/.docs/docs/server/auth/workers.md +133 -0
- package/.docs/docs/server/custom-adapters.md +4 -4
- package/.docs/docs/server/mastra-client.md +3 -3
- package/.docs/docs/server/mastra-server.md +2 -2
- package/.docs/docs/server/middleware.md +1 -1
- package/.docs/docs/server/pubsub.md +7 -4
- package/.docs/docs/server/request-context.md +11 -11
- package/.docs/docs/server/server-adapters.md +2 -2
- package/.docs/docs/storage/overview.md +2 -2
- package/.docs/docs/studio/auth.md +5 -5
- package/.docs/docs/studio/deployment.md +1 -1
- package/.docs/docs/studio/observability.md +2 -2
- package/.docs/docs/studio/overview.md +11 -9
- package/.docs/docs/voice/overview.md +26 -26
- package/.docs/docs/voice/realtime-voice.md +8 -8
- package/.docs/docs/voice/speech-to-speech.md +9 -9
- package/.docs/docs/voice/speech-to-text.md +3 -3
- package/.docs/docs/voice/text-to-speech.md +6 -6
- package/.docs/docs/what-is-mastra.md +161 -0
- package/.docs/docs/workflows/agents-and-tools.md +3 -3
- package/.docs/docs/workflows/control-flow.md +10 -8
- package/.docs/docs/workflows/error-handling.md +2 -2
- package/.docs/docs/workflows/overview.md +7 -6
- package/.docs/docs/workflows/scheduled-workflows.md +12 -12
- package/.docs/docs/workflows/snapshots.md +3 -3
- package/.docs/docs/workflows/suspend-and-resume.md +1 -1
- package/.docs/docs/workflows/time-travel.md +3 -1
- package/.docs/docs/workflows/workflow-state.md +1 -1
- package/.docs/docs/workspace/filesystem.md +10 -10
- package/.docs/docs/workspace/lsp.md +1 -1
- package/.docs/docs/workspace/overview.md +12 -12
- package/.docs/docs/workspace/sandbox.md +9 -7
- package/.docs/docs/workspace/search.md +3 -3
- package/.docs/docs/workspace/skills.md +7 -7
- package/.docs/guides/build-your-ui/ai-sdk-ui.md +1 -1
- package/.docs/guides/build-your-ui/copilotkit/generative-ui.md +1 -1
- package/.docs/guides/build-your-ui/openui.md +1 -1
- package/.docs/guides/concepts/streaming.md +1 -1
- package/.docs/guides/deployment/kubernetes.md +1 -1
- package/.docs/guides/deployment/mastra-workers.md +232 -0
- package/.docs/guides/guide/ai-recruiter.md +1 -1
- package/.docs/guides/guide/chef-michel.md +1 -1
- package/.docs/guides/guide/code-review-bot.md +1 -1
- package/.docs/guides/guide/coding-agent.md +1 -1
- package/.docs/guides/guide/dev-assistant.md +1 -1
- package/.docs/guides/guide/docs-manager.md +1 -1
- package/.docs/guides/guide/firecrawl.md +1 -1
- package/.docs/guides/guide/github-actions-pr-description.md +1 -1
- package/.docs/guides/guide/research-assistant.md +1 -1
- package/.docs/guides/guide/research-coordinator.md +2 -2
- package/.docs/guides/guide/signal-provider.md +1 -1
- package/.docs/guides/guide/stock-agent.md +2 -2
- package/.docs/guides/guide/web-search.md +4 -4
- package/.docs/guides/guide/whatsapp-chat-bot.md +2 -2
- package/.docs/guides/migrations/agentnetwork.md +4 -4
- package/.docs/guides/migrations/upgrade-to-v1/agent.md +1 -1
- package/.docs/guides/migrations/vnext-to-standard-apis.md +2 -2
- package/.docs/models/gateways/custom-gateways.md +3 -3
- package/.docs/models/gateways/openrouter.md +1 -3
- package/.docs/models/gateways/vercel.md +2 -1
- package/.docs/models/index.md +6 -6
- package/.docs/models/providers/baseten.md +1 -1
- package/.docs/models/providers/chutes.md +2 -1
- package/.docs/models/providers/crossmodel.md +2 -2
- package/.docs/models/providers/deepinfra.md +1 -1
- package/.docs/models/providers/hyper.md +3 -3
- package/.docs/models/providers/llmgateway.md +4 -3
- package/.docs/models/providers/wandb.md +2 -1
- package/.docs/reference/acp/acp-agent.md +1 -1
- package/.docs/reference/acp/create-acp-tool.md +1 -1
- package/.docs/reference/agents/agent.md +7 -7
- package/.docs/reference/agents/channels.md +26 -10
- package/.docs/reference/agents/durable-agent.md +51 -2
- package/.docs/reference/agents/generateLegacy.md +1 -1
- package/.docs/reference/agents/getLLM.md +2 -2
- package/.docs/reference/agents/getMetadata.md +2 -2
- package/.docs/reference/agents/inngest-agent.md +1 -1
- package/.docs/reference/agents/network.md +1 -1
- package/.docs/reference/browser/agent-browser.md +1 -1
- package/.docs/reference/browser/browser-viewer.md +1 -1
- package/.docs/reference/browser/firecrawl-browser.md +1 -1
- package/.docs/reference/browser/mastra-browser.md +1 -1
- package/.docs/reference/browser/stagehand-browser.md +4 -4
- package/.docs/reference/cli/mastra.md +132 -1
- package/.docs/reference/client-js/agents.md +17 -0
- package/.docs/reference/configuration.md +1 -1
- package/.docs/reference/core/getAgentById.md +1 -1
- package/.docs/reference/core/mastra-class.md +48 -1
- package/.docs/reference/core/mastra-model-gateway.md +1 -1
- package/.docs/reference/evals/answer-relevancy.md +1 -1
- package/.docs/reference/evals/answer-similarity.md +1 -1
- package/.docs/reference/evals/bias.md +1 -1
- package/.docs/reference/evals/context-precision.md +3 -3
- package/.docs/reference/evals/context-recall.md +3 -3
- package/.docs/reference/evals/context-relevance.md +11 -11
- package/.docs/reference/evals/faithfulness.md +1 -1
- package/.docs/reference/evals/hallucination.md +5 -5
- package/.docs/reference/evals/noise-sensitivity.md +10 -10
- package/.docs/reference/evals/prompt-alignment.md +15 -15
- package/.docs/reference/evals/rubric.md +1 -1
- package/.docs/reference/evals/tool-call-accuracy.md +3 -3
- package/.docs/reference/evals/toxicity.md +1 -1
- package/.docs/reference/file-based-agents/config.md +3 -3
- package/.docs/reference/file-based-agents/instructions.md +1 -1
- package/.docs/reference/file-based-agents/subagents.md +3 -3
- package/.docs/reference/index.md +2 -0
- package/.docs/reference/memory/memory-class.md +3 -3
- package/.docs/reference/memory/observational-memory.md +4 -4
- package/.docs/reference/observability/tracing/exporters/langfuse.md +1 -1
- package/.docs/reference/processors/batch-parts-processor.md +1 -1
- package/.docs/reference/processors/language-detector.md +1 -1
- package/.docs/reference/processors/message-history-processor.md +1 -1
- package/.docs/reference/processors/moderation-processor.md +2 -2
- package/.docs/reference/processors/pii-detector.md +2 -2
- package/.docs/reference/processors/processor-interface.md +1 -1
- package/.docs/reference/processors/prompt-injection-detector.md +1 -1
- package/.docs/reference/processors/semantic-recall-processor.md +1 -1
- package/.docs/reference/processors/skill-search-processor.md +1 -1
- package/.docs/reference/processors/system-prompt-scrubber.md +1 -1
- package/.docs/reference/processors/token-limiter-processor.md +3 -3
- package/.docs/reference/processors/tool-call-filter.md +2 -2
- package/.docs/reference/processors/tool-search-processor.md +2 -2
- package/.docs/reference/processors/unicode-normalizer.md +1 -1
- package/.docs/reference/processors/working-memory-processor.md +1 -1
- package/.docs/reference/rag/rerank.md +1 -1
- package/.docs/reference/server/routes.md +7 -7
- package/.docs/reference/signals/create-notification-inbox-tool.md +1 -1
- package/.docs/reference/storage/dsql.md +1 -1
- package/.docs/reference/storage/mongodb.md +1 -1
- package/.docs/reference/storage/postgresql.md +1 -1
- package/.docs/reference/storage/redis.md +1 -1
- package/.docs/reference/storage/upstash.md +1 -1
- package/.docs/reference/streaming/agents/stream.md +1 -1
- package/.docs/reference/tools/create-code-mode.md +3 -3
- package/.docs/reference/tools/isolated-vm-transport.md +74 -0
- package/.docs/reference/tools/mcp-client.md +2 -2
- package/.docs/reference/tools/mcp-server.md +1 -1
- package/.docs/reference/tools/vector-query-tool.md +1 -1
- package/.docs/reference/vectors/libsql.md +1 -1
- package/.docs/reference/vectors/mongodb.md +2 -2
- package/.docs/reference/vectors/pg.md +1 -1
- package/.docs/reference/vectors/upstash.md +1 -1
- package/.docs/reference/voice/voice.addInstructions.md +1 -1
- package/.docs/reference/workers/overview.md +85 -0
- package/.docs/reference/workspace/agentfs-filesystem.md +1 -1
- package/.docs/reference/workspace/local-filesystem.md +1 -1
- package/.docs/reference/workspace/local-sandbox.md +1 -1
- package/CHANGELOG.md +14 -0
- package/package.json +5 -5
|
@@ -62,7 +62,7 @@ You can customize the Prompt Alignment Scorer by adjusting the scale parameter a
|
|
|
62
62
|
|
|
63
63
|
```typescript
|
|
64
64
|
const scorer = createPromptAlignmentScorerLLM({
|
|
65
|
-
model: 'openai/gpt-5.
|
|
65
|
+
model: 'openai/gpt-5.6-sol',
|
|
66
66
|
options: {
|
|
67
67
|
scale: 10, // Score from 0-10 instead of 0-1
|
|
68
68
|
evaluationMode: 'both', // 'user', 'system', or 'both' (default)
|
|
@@ -224,24 +224,24 @@ const agent = new Agent({
|
|
|
224
224
|
id: 'coding-assistant',
|
|
225
225
|
name: 'CodingAssistant',
|
|
226
226
|
instructions: 'You are a helpful coding assistant. Always provide working code examples.',
|
|
227
|
-
model: 'openai/gpt-5.
|
|
227
|
+
model: 'openai/gpt-5.6-sol',
|
|
228
228
|
})
|
|
229
229
|
|
|
230
230
|
// Evaluate comprehensive alignment (default)
|
|
231
231
|
const scorer = createPromptAlignmentScorerLLM({
|
|
232
|
-
model: 'openai/gpt-5.
|
|
232
|
+
model: 'openai/gpt-5.6-sol',
|
|
233
233
|
options: { evaluationMode: 'both' }, // Evaluates both user intent and system guidelines
|
|
234
234
|
})
|
|
235
235
|
|
|
236
236
|
// Evaluate just user satisfaction
|
|
237
237
|
const userScorer = createPromptAlignmentScorerLLM({
|
|
238
|
-
model: 'openai/gpt-5.
|
|
238
|
+
model: 'openai/gpt-5.6-sol',
|
|
239
239
|
options: { evaluationMode: 'user' }, // Focus only on user request fulfillment
|
|
240
240
|
})
|
|
241
241
|
|
|
242
242
|
// Evaluate system compliance
|
|
243
243
|
const systemScorer = createPromptAlignmentScorerLLM({
|
|
244
|
-
model: 'openai/gpt-5.
|
|
244
|
+
model: 'openai/gpt-5.6-sol',
|
|
245
245
|
options: { evaluationMode: 'system' }, // Check adherence to system instructions
|
|
246
246
|
})
|
|
247
247
|
|
|
@@ -293,7 +293,7 @@ for (const agent of agents) {
|
|
|
293
293
|
import { createPromptAlignmentScorerLLM } from '@mastra/evals'
|
|
294
294
|
|
|
295
295
|
const scorer = createPromptAlignmentScorerLLM({
|
|
296
|
-
model: 'openai/gpt-5.
|
|
296
|
+
model: 'openai/gpt-5.6-sol',
|
|
297
297
|
})
|
|
298
298
|
|
|
299
299
|
// Evaluate a code generation task
|
|
@@ -322,7 +322,7 @@ const result = await scorer.run({
|
|
|
322
322
|
```typescript
|
|
323
323
|
// Configure scale and evaluation mode
|
|
324
324
|
const scorer = createPromptAlignmentScorerLLM({
|
|
325
|
-
model: 'openai/gpt-5.
|
|
325
|
+
model: 'openai/gpt-5.6-sol',
|
|
326
326
|
options: {
|
|
327
327
|
scale: 10, // Score from 0-10 instead of 0-1
|
|
328
328
|
evaluationMode: 'both', // 'user', 'system', or 'both' (default)
|
|
@@ -331,13 +331,13 @@ const scorer = createPromptAlignmentScorerLLM({
|
|
|
331
331
|
|
|
332
332
|
// User-only evaluation - focus on user satisfaction
|
|
333
333
|
const userScorer = createPromptAlignmentScorerLLM({
|
|
334
|
-
model: 'openai/gpt-5.
|
|
334
|
+
model: 'openai/gpt-5.6-sol',
|
|
335
335
|
options: { evaluationMode: 'user' },
|
|
336
336
|
})
|
|
337
337
|
|
|
338
338
|
// System-only evaluation - focus on compliance
|
|
339
339
|
const systemScorer = createPromptAlignmentScorerLLM({
|
|
340
|
-
model: 'openai/gpt-5.
|
|
340
|
+
model: 'openai/gpt-5.6-sol',
|
|
341
341
|
options: { evaluationMode: 'system' },
|
|
342
342
|
})
|
|
343
343
|
|
|
@@ -372,7 +372,7 @@ In this example, the response fully addresses the user's prompt with all require
|
|
|
372
372
|
import { createPromptAlignmentScorerLLM } from '@mastra/evals/scorers/prebuilt'
|
|
373
373
|
|
|
374
374
|
const scorer = createPromptAlignmentScorerLLM({
|
|
375
|
-
model: 'openai/gpt-5.
|
|
375
|
+
model: 'openai/gpt-5.6-sol',
|
|
376
376
|
})
|
|
377
377
|
|
|
378
378
|
const inputMessages = [
|
|
@@ -420,7 +420,7 @@ In this example, the response addresses the core intent but misses some requirem
|
|
|
420
420
|
import { createPromptAlignmentScorerLLM } from '@mastra/evals/scorers/prebuilt'
|
|
421
421
|
|
|
422
422
|
const scorer = createPromptAlignmentScorerLLM({
|
|
423
|
-
model: 'openai/gpt-5.
|
|
423
|
+
model: 'openai/gpt-5.6-sol',
|
|
424
424
|
})
|
|
425
425
|
|
|
426
426
|
const inputMessages = [
|
|
@@ -461,7 +461,7 @@ In this example, the response fails to address the user's specific requirements.
|
|
|
461
461
|
import { createPromptAlignmentScorerLLM } from '@mastra/evals/scorers/prebuilt'
|
|
462
462
|
|
|
463
463
|
const scorer = createPromptAlignmentScorerLLM({
|
|
464
|
-
model: 'openai/gpt-5.
|
|
464
|
+
model: 'openai/gpt-5.6-sol',
|
|
465
465
|
})
|
|
466
466
|
|
|
467
467
|
const inputMessages = [
|
|
@@ -505,7 +505,7 @@ Evaluates how well the response addresses the user's request, ignoring system in
|
|
|
505
505
|
|
|
506
506
|
```typescript
|
|
507
507
|
const scorer = createPromptAlignmentScorerLLM({
|
|
508
|
-
model: 'openai/gpt-5.
|
|
508
|
+
model: 'openai/gpt-5.6-sol',
|
|
509
509
|
options: { evaluationMode: 'user' },
|
|
510
510
|
})
|
|
511
511
|
|
|
@@ -537,7 +537,7 @@ Evaluates compliance with system behavioral guidelines and constraints:
|
|
|
537
537
|
|
|
538
538
|
```typescript
|
|
539
539
|
const scorer = createPromptAlignmentScorerLLM({
|
|
540
|
-
model: 'openai/gpt-5.
|
|
540
|
+
model: 'openai/gpt-5.6-sol',
|
|
541
541
|
options: { evaluationMode: 'system' },
|
|
542
542
|
})
|
|
543
543
|
|
|
@@ -569,7 +569,7 @@ Evaluates both user intent fulfillment and system compliance with weighted scori
|
|
|
569
569
|
|
|
570
570
|
```typescript
|
|
571
571
|
const scorer = createPromptAlignmentScorerLLM({
|
|
572
|
-
model: 'openai/gpt-5.
|
|
572
|
+
model: 'openai/gpt-5.6-sol',
|
|
573
573
|
options: { evaluationMode: 'both' }, // This is the default
|
|
574
574
|
})
|
|
575
575
|
|
|
@@ -33,7 +33,7 @@ import { createRubricScorer } from '@mastra/evals/scorers/prebuilt'
|
|
|
33
33
|
const supervisor = new Agent({
|
|
34
34
|
id: 'supervisor',
|
|
35
35
|
instructions: `You coordinate research and writing using specialized agents. Delegate to research-agent for facts, then writing-agent for content.`,
|
|
36
|
-
model: 'openai/gpt-5.
|
|
36
|
+
model: 'openai/gpt-5.6-sol',
|
|
37
37
|
agents: { researchAgent, writingAgent },
|
|
38
38
|
})
|
|
39
39
|
|
|
@@ -311,7 +311,7 @@ The LLM-based scorer provides:
|
|
|
311
311
|
```typescript
|
|
312
312
|
// Basic configuration
|
|
313
313
|
const basicLLMScorer = createLLMScorer({
|
|
314
|
-
model: 'openai/gpt-5.
|
|
314
|
+
model: 'openai/gpt-5.6-sol',
|
|
315
315
|
availableTools: [
|
|
316
316
|
{ name: 'tool1', description: 'Description 1' },
|
|
317
317
|
{ name: 'tool2', description: 'Description 2' }
|
|
@@ -351,7 +351,7 @@ The LLM-based scorer uses AI to evaluate whether tool selections are appropriate
|
|
|
351
351
|
|
|
352
352
|
```typescript
|
|
353
353
|
const llmScorer = createToolCallAccuracyScorerLLM({
|
|
354
|
-
model: 'openai/gpt-5.
|
|
354
|
+
model: 'openai/gpt-5.6-sol',
|
|
355
355
|
availableTools: [
|
|
356
356
|
{
|
|
357
357
|
name: 'weather-tool',
|
|
@@ -484,7 +484,7 @@ const codeScorer = createCodeScorer({
|
|
|
484
484
|
})
|
|
485
485
|
|
|
486
486
|
const llmScorer = createLLMScorer({
|
|
487
|
-
model: 'openai/gpt-5.
|
|
487
|
+
model: 'openai/gpt-5.6-sol',
|
|
488
488
|
availableTools: [
|
|
489
489
|
{ name: 'weather-tool', description: 'Get weather information' },
|
|
490
490
|
{ name: 'search-tool', description: 'Search the web' },
|
|
@@ -88,7 +88,7 @@ import { runEvals } from '@mastra/core/evals'
|
|
|
88
88
|
import { createToxicityScorer } from '@mastra/evals/scorers/prebuilt'
|
|
89
89
|
import { myAgent } from './agent'
|
|
90
90
|
|
|
91
|
-
const scorer = createToxicityScorer({ model: 'openai/gpt-5.
|
|
91
|
+
const scorer = createToxicityScorer({ model: 'openai/gpt-5.6-sol' })
|
|
92
92
|
|
|
93
93
|
const result = await runEvals({
|
|
94
94
|
data: [
|
|
@@ -18,7 +18,7 @@ The following `config.ts` plus an `instructions.md` file creates a working file-
|
|
|
18
18
|
import { agentConfig } from '@mastra/core/agent'
|
|
19
19
|
|
|
20
20
|
export default agentConfig({
|
|
21
|
-
model: 'openai/gpt-5.
|
|
21
|
+
model: 'openai/gpt-5.6-sol',
|
|
22
22
|
})
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -36,7 +36,7 @@ The `model` field is the only required field in `agentConfig()`. The build fails
|
|
|
36
36
|
import { agentConfig } from '@mastra/core/agent'
|
|
37
37
|
|
|
38
38
|
export default agentConfig({
|
|
39
|
-
model: 'openai/gpt-5.
|
|
39
|
+
model: 'openai/gpt-5.6-sol',
|
|
40
40
|
})
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -52,7 +52,7 @@ import { agentConfig } from '@mastra/core/agent'
|
|
|
52
52
|
export default agentConfig({
|
|
53
53
|
id: 'weather-assistant',
|
|
54
54
|
name: 'Weather Assistant',
|
|
55
|
-
model: 'openai/gpt-5.
|
|
55
|
+
model: 'openai/gpt-5.6-sol',
|
|
56
56
|
})
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -33,7 +33,7 @@ When the prompt needs to change per request, for example based on the current us
|
|
|
33
33
|
import { agentConfig } from '@mastra/core/agent'
|
|
34
34
|
|
|
35
35
|
export default agentConfig({
|
|
36
|
-
model: 'openai/gpt-5.
|
|
36
|
+
model: 'openai/gpt-5.6-sol',
|
|
37
37
|
instructions: ({ runtimeContext }) => {
|
|
38
38
|
const tier = runtimeContext.get('tier') ?? 'standard'
|
|
39
39
|
return `You are a support agent. Treat this as a ${tier}-tier customer.`
|
|
@@ -31,7 +31,7 @@ A subagent's `config.ts` must set a non-empty `description`. The parent model re
|
|
|
31
31
|
import { agentConfig } from '@mastra/core/agent'
|
|
32
32
|
|
|
33
33
|
export default agentConfig({
|
|
34
|
-
model: 'openai/gpt-5.
|
|
34
|
+
model: 'openai/gpt-5.6-sol',
|
|
35
35
|
description: 'Researches a topic and returns cited findings.',
|
|
36
36
|
})
|
|
37
37
|
```
|
|
@@ -94,7 +94,7 @@ src/mastra/agents/
|
|
|
94
94
|
import { agentConfig } from '@mastra/core/agent'
|
|
95
95
|
|
|
96
96
|
export default agentConfig({
|
|
97
|
-
model: 'openai/gpt-5.
|
|
97
|
+
model: 'openai/gpt-5.6-sol',
|
|
98
98
|
})
|
|
99
99
|
```
|
|
100
100
|
|
|
@@ -117,7 +117,7 @@ export default agentConfig({
|
|
|
117
117
|
import { agentConfig } from '@mastra/core/agent'
|
|
118
118
|
|
|
119
119
|
export default agentConfig({
|
|
120
|
-
model: 'openai/gpt-5.
|
|
120
|
+
model: 'openai/gpt-5.6-sol',
|
|
121
121
|
description: 'Use to turn research notes into a structured draft.',
|
|
122
122
|
})
|
|
123
123
|
```
|
package/.docs/reference/index.md
CHANGED
|
@@ -304,6 +304,7 @@ The Reference section provides documentation of Mastra's API, including paramete
|
|
|
304
304
|
- [createGraphRAGTool()](https://mastra.ai/reference/tools/graph-rag-tool)
|
|
305
305
|
- [createTool()](https://mastra.ai/reference/tools/create-tool)
|
|
306
306
|
- [createVectorQueryTool()](https://mastra.ai/reference/tools/vector-query-tool)
|
|
307
|
+
- [IsolatedVmCodeModeTransport](https://mastra.ai/reference/tools/isolated-vm-transport)
|
|
307
308
|
- [MCPClient](https://mastra.ai/reference/tools/mcp-client)
|
|
308
309
|
- [MCPServer](https://mastra.ai/reference/tools/mcp-server)
|
|
309
310
|
- [Perplexity Tools](https://mastra.ai/reference/tools/perplexity)
|
|
@@ -360,6 +361,7 @@ The Reference section provides documentation of Mastra's API, including paramete
|
|
|
360
361
|
- [.send()](https://mastra.ai/reference/voice/voice.send)
|
|
361
362
|
- [.speak()](https://mastra.ai/reference/voice/voice.speak)
|
|
362
363
|
- [.updateConfig()](https://mastra.ai/reference/voice/voice.updateConfig)
|
|
364
|
+
- [Overview](https://mastra.ai/reference/workers/overview)
|
|
363
365
|
- [Run Class](https://mastra.ai/reference/workflows/run)
|
|
364
366
|
- [Step Class](https://mastra.ai/reference/workflows/step)
|
|
365
367
|
- [Workflow Class](https://mastra.ai/reference/workflows/workflow)
|
|
@@ -14,7 +14,7 @@ export const agent = new Agent({
|
|
|
14
14
|
id: 'test-agent',
|
|
15
15
|
name: 'test-agent',
|
|
16
16
|
instructions: 'You are an agent with memory.',
|
|
17
|
-
model: 'openai/gpt-5.
|
|
17
|
+
model: 'openai/gpt-5.6-sol',
|
|
18
18
|
memory: new Memory({
|
|
19
19
|
options: {
|
|
20
20
|
workingMemory: {
|
|
@@ -63,7 +63,7 @@ import { LibSQLStore, LibSQLVector } from '@mastra/libsql'
|
|
|
63
63
|
export const agent = new Agent({
|
|
64
64
|
name: 'test-agent',
|
|
65
65
|
instructions: 'You are an agent with memory.',
|
|
66
|
-
model: 'openai/gpt-5.
|
|
66
|
+
model: 'openai/gpt-5.6-sol',
|
|
67
67
|
memory: new Memory({
|
|
68
68
|
storage: new LibSQLStore({
|
|
69
69
|
id: 'test-agent-storage',
|
|
@@ -100,7 +100,7 @@ import { PgStore, PgVector } from '@mastra/pg'
|
|
|
100
100
|
export const agent = new Agent({
|
|
101
101
|
name: 'pg-agent',
|
|
102
102
|
instructions: 'You are an agent with optimized PostgreSQL memory.',
|
|
103
|
-
model: 'openai/gpt-5.
|
|
103
|
+
model: 'openai/gpt-5.6-sol',
|
|
104
104
|
memory: new Memory({
|
|
105
105
|
storage: new PgStore({
|
|
106
106
|
id: 'pg-agent-storage',
|
|
@@ -269,7 +269,7 @@ export const agent = new Agent({
|
|
|
269
269
|
id: 'my-agent',
|
|
270
270
|
name: 'my-agent',
|
|
271
271
|
instructions: 'You are a helpful assistant.',
|
|
272
|
-
model: 'openai/gpt-5.
|
|
272
|
+
model: 'openai/gpt-5.6-sol',
|
|
273
273
|
memory: new Memory({
|
|
274
274
|
options: {
|
|
275
275
|
observationalMemory: {
|
|
@@ -290,7 +290,7 @@ export const agent = new Agent({
|
|
|
290
290
|
id: 'my-agent',
|
|
291
291
|
name: 'my-agent',
|
|
292
292
|
instructions: 'You are a helpful assistant.',
|
|
293
|
-
model: 'openai/gpt-5.
|
|
293
|
+
model: 'openai/gpt-5.6-sol',
|
|
294
294
|
memory: new Memory({
|
|
295
295
|
options: {
|
|
296
296
|
observationalMemory: {
|
|
@@ -318,7 +318,7 @@ export const agent = new Agent({
|
|
|
318
318
|
id: 'health-assistant',
|
|
319
319
|
name: 'health-assistant',
|
|
320
320
|
instructions: 'You are a health and wellness assistant.',
|
|
321
|
-
model: 'openai/gpt-5.
|
|
321
|
+
model: 'openai/gpt-5.6-sol',
|
|
322
322
|
memory: new Memory({
|
|
323
323
|
options: {
|
|
324
324
|
observationalMemory: {
|
|
@@ -798,7 +798,7 @@ const selector = new ModelByInputTokens({
|
|
|
798
798
|
upTo: {
|
|
799
799
|
10_000: 'google/gemini-2.5-flash', // Fast for small inputs
|
|
800
800
|
40_000: 'openai/gpt-5-mini', // Stronger for medium inputs
|
|
801
|
-
1_000_000: 'openai/gpt-5.
|
|
801
|
+
1_000_000: 'openai/gpt-5.6-sol', // Most capable for large inputs
|
|
802
802
|
},
|
|
803
803
|
})
|
|
804
804
|
```
|
|
@@ -107,7 +107,7 @@ const agent = new Agent({
|
|
|
107
107
|
id: 'support-agent',
|
|
108
108
|
name: 'support-agent',
|
|
109
109
|
instructions: prompt.compile(),
|
|
110
|
-
model: 'openai/gpt-5.
|
|
110
|
+
model: 'openai/gpt-5.6-sol',
|
|
111
111
|
defaultGenerateOptions: {
|
|
112
112
|
tracingOptions: buildTracingOptions(
|
|
113
113
|
withLangfusePrompt({ name: prompt.name, version: prompt.version }),
|
|
@@ -62,7 +62,7 @@ export const agent = new Agent({
|
|
|
62
62
|
id: 'multilingual-agent',
|
|
63
63
|
name: 'multilingual-agent',
|
|
64
64
|
instructions: 'You are a helpful assistant',
|
|
65
|
-
model: 'openai/gpt-5.
|
|
65
|
+
model: 'openai/gpt-5.6-sol',
|
|
66
66
|
inputProcessors: [
|
|
67
67
|
new LanguageDetector({
|
|
68
68
|
model: 'openrouter/openai/gpt-oss-safeguard-20b',
|
|
@@ -48,7 +48,7 @@ export const agent = new Agent({
|
|
|
48
48
|
id: 'memory-agent',
|
|
49
49
|
name: 'memory-agent',
|
|
50
50
|
instructions: 'You are a helpful assistant with conversation memory',
|
|
51
|
-
model: 'openai/gpt-5.
|
|
51
|
+
model: 'openai/gpt-5.6-sol',
|
|
52
52
|
inputProcessors: [
|
|
53
53
|
new MessageHistory({
|
|
54
54
|
storage,
|
|
@@ -62,7 +62,7 @@ export const agent = new Agent({
|
|
|
62
62
|
id: 'moderated-agent',
|
|
63
63
|
name: 'moderated-agent',
|
|
64
64
|
instructions: 'You are a helpful assistant',
|
|
65
|
-
model: 'openai/gpt-5.
|
|
65
|
+
model: 'openai/gpt-5.6-sol',
|
|
66
66
|
inputProcessors: [
|
|
67
67
|
new ModerationProcessor({
|
|
68
68
|
model: 'openrouter/openai/gpt-oss-safeguard-20b',
|
|
@@ -88,7 +88,7 @@ export const agent = new Agent({
|
|
|
88
88
|
id: 'output-moderated-agent',
|
|
89
89
|
name: 'output-moderated-agent',
|
|
90
90
|
instructions: 'You are a helpful assistant',
|
|
91
|
-
model: 'openai/gpt-5.
|
|
91
|
+
model: 'openai/gpt-5.6-sol',
|
|
92
92
|
outputProcessors: [
|
|
93
93
|
// Batch stream parts first to reduce LLM calls
|
|
94
94
|
new BatchPartsProcessor({
|
|
@@ -64,7 +64,7 @@ export const agent = new Agent({
|
|
|
64
64
|
id: 'private-agent',
|
|
65
65
|
name: 'private-agent',
|
|
66
66
|
instructions: 'You are a helpful assistant',
|
|
67
|
-
model: 'openai/gpt-5.
|
|
67
|
+
model: 'openai/gpt-5.6-sol',
|
|
68
68
|
inputProcessors: [
|
|
69
69
|
new PIIDetector({
|
|
70
70
|
model: 'openrouter/openai/gpt-oss-safeguard-20b',
|
|
@@ -93,7 +93,7 @@ export const agent = new Agent({
|
|
|
93
93
|
id: 'output-pii-agent',
|
|
94
94
|
name: 'output-pii-agent',
|
|
95
95
|
instructions: 'You are a helpful assistant',
|
|
96
|
-
model: 'openai/gpt-5.
|
|
96
|
+
model: 'openai/gpt-5.6-sol',
|
|
97
97
|
outputProcessors: [
|
|
98
98
|
// Batch stream parts first to reduce LLM calls
|
|
99
99
|
new BatchPartsProcessor({
|
|
@@ -782,7 +782,7 @@ export class DynamicModelProcessor implements Processor {
|
|
|
782
782
|
|
|
783
783
|
// Switch to powerful model after tool calls
|
|
784
784
|
if (steps.length > 0 && steps[steps.length - 1].toolCalls?.length) {
|
|
785
|
-
return { model: 'openai/gpt-5.
|
|
785
|
+
return { model: 'openai/gpt-5.6-sol' }
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
// Disable tools after 5 steps to force completion
|
|
@@ -56,7 +56,7 @@ export const agent = new Agent({
|
|
|
56
56
|
id: 'secure-agent',
|
|
57
57
|
name: 'secure-agent',
|
|
58
58
|
instructions: 'You are a helpful assistant',
|
|
59
|
-
model: 'openai/gpt-5.
|
|
59
|
+
model: 'openai/gpt-5.6-sol',
|
|
60
60
|
inputProcessors: [
|
|
61
61
|
new PromptInjectionDetector({
|
|
62
62
|
model: 'openrouter/openai/gpt-oss-safeguard-20b',
|
|
@@ -85,7 +85,7 @@ export const agent = new Agent({
|
|
|
85
85
|
id: 'semantic-memory-agent',
|
|
86
86
|
name: 'semantic-memory-agent',
|
|
87
87
|
instructions: 'You are a helpful assistant with semantic memory recall',
|
|
88
|
-
model: 'openai/gpt-5.
|
|
88
|
+
model: 'openai/gpt-5.6-sol',
|
|
89
89
|
inputProcessors: [semanticRecall, new MessageHistory({ storage, lastMessages: 50 })],
|
|
90
90
|
outputProcessors: [semanticRecall, new MessageHistory({ storage })],
|
|
91
91
|
})
|
|
@@ -77,7 +77,7 @@ const agent = new Agent({
|
|
|
77
77
|
name: 'skill-agent',
|
|
78
78
|
instructions:
|
|
79
79
|
'You are a helpful assistant. Use search_skills to find relevant skills, then load_skill to load their instructions.',
|
|
80
|
-
model: 'openai/gpt-5.
|
|
80
|
+
model: 'openai/gpt-5.6-sol',
|
|
81
81
|
workspace,
|
|
82
82
|
inputProcessors: [skillSearch],
|
|
83
83
|
})
|
|
@@ -60,7 +60,7 @@ export const agent = new Agent({
|
|
|
60
60
|
id: 'scrubbed-agent',
|
|
61
61
|
name: 'scrubbed-agent',
|
|
62
62
|
instructions: 'You are a helpful assistant',
|
|
63
|
-
model: 'openai/gpt-5.
|
|
63
|
+
model: 'openai/gpt-5.6-sol',
|
|
64
64
|
outputProcessors: [
|
|
65
65
|
// Batch stream parts first to reduce LLM calls
|
|
66
66
|
new BatchPartsProcessor({
|
|
@@ -84,7 +84,7 @@ export const agent = new Agent({
|
|
|
84
84
|
id: 'context-limited-agent',
|
|
85
85
|
name: 'context-limited-agent',
|
|
86
86
|
instructions: 'You are a helpful assistant',
|
|
87
|
-
model: 'openai/gpt-5.
|
|
87
|
+
model: 'openai/gpt-5.6-sol',
|
|
88
88
|
memory: new Memory({/* ... */}),
|
|
89
89
|
inputProcessors: [
|
|
90
90
|
new TokenLimiterProcessor({ limit: 4000 }), // Limits historical messages to ~4000 tokens
|
|
@@ -104,7 +104,7 @@ export const agent = new Agent({
|
|
|
104
104
|
id: 'multi-step-agent',
|
|
105
105
|
name: 'multi-step-agent',
|
|
106
106
|
instructions: 'You are a helpful research assistant with access to tools',
|
|
107
|
-
model: 'openai/gpt-5.
|
|
107
|
+
model: 'openai/gpt-5.6-sol',
|
|
108
108
|
inputProcessors: [
|
|
109
109
|
new TokenLimiterProcessor({ limit: 8000 }), // Applied at every step
|
|
110
110
|
],
|
|
@@ -128,7 +128,7 @@ export const agent = new Agent({
|
|
|
128
128
|
id: 'response-limited-agent',
|
|
129
129
|
name: 'response-limited-agent',
|
|
130
130
|
instructions: 'You are a helpful assistant',
|
|
131
|
-
model: 'openai/gpt-5.
|
|
131
|
+
model: 'openai/gpt-5.6-sol',
|
|
132
132
|
outputProcessors: [
|
|
133
133
|
new TokenLimiterProcessor({
|
|
134
134
|
limit: 1000,
|
|
@@ -93,7 +93,7 @@ export const agent = new Agent({
|
|
|
93
93
|
id: 'filtered-agent',
|
|
94
94
|
name: 'filtered-agent',
|
|
95
95
|
instructions: 'You are a helpful assistant',
|
|
96
|
-
model: 'openai/gpt-5.
|
|
96
|
+
model: 'openai/gpt-5.6-sol',
|
|
97
97
|
tools: {
|
|
98
98
|
searchDatabase,
|
|
99
99
|
sendEmail,
|
|
@@ -119,7 +119,7 @@ export const agent = new Agent({
|
|
|
119
119
|
id: 'no-tools-context-agent',
|
|
120
120
|
name: 'no-tools-context-agent',
|
|
121
121
|
instructions: 'You are a helpful assistant',
|
|
122
|
-
model: 'openai/gpt-5.
|
|
122
|
+
model: 'openai/gpt-5.6-sol',
|
|
123
123
|
tools: {
|
|
124
124
|
searchDatabase,
|
|
125
125
|
sendEmail,
|
|
@@ -150,7 +150,7 @@ const agent = new Agent({
|
|
|
150
150
|
name: 'dynamic-tools-agent',
|
|
151
151
|
instructions:
|
|
152
152
|
'You are a helpful assistant with access to many tools. Use search_tools to find relevant tools, then load_tool to make them available.',
|
|
153
|
-
model: 'openai/gpt-5.
|
|
153
|
+
model: 'openai/gpt-5.6-sol',
|
|
154
154
|
inputProcessors: [toolSearch],
|
|
155
155
|
})
|
|
156
156
|
```
|
|
@@ -230,7 +230,7 @@ import { ToolSearchProcessor, TokenLimiter } from '@mastra/core/processors'
|
|
|
230
230
|
const agent = new Agent({
|
|
231
231
|
id: 'my-agent',
|
|
232
232
|
name: 'my-agent',
|
|
233
|
-
model: 'openai/gpt-5.
|
|
233
|
+
model: 'openai/gpt-5.6-sol',
|
|
234
234
|
inputProcessors: [
|
|
235
235
|
new ToolSearchProcessor({
|
|
236
236
|
tools: allTools,
|
|
@@ -45,7 +45,7 @@ export const agent = new Agent({
|
|
|
45
45
|
id: 'normalized-agent',
|
|
46
46
|
name: 'normalized-agent',
|
|
47
47
|
instructions: 'You are a helpful assistant',
|
|
48
|
-
model: 'openai/gpt-5.
|
|
48
|
+
model: 'openai/gpt-5.6-sol',
|
|
49
49
|
inputProcessors: [
|
|
50
50
|
new UnicodeNormalizer({
|
|
51
51
|
stripControlChars: true,
|
|
@@ -70,7 +70,7 @@ export const agent = new Agent({
|
|
|
70
70
|
id: 'personalized-agent',
|
|
71
71
|
name: 'personalized-agent',
|
|
72
72
|
instructions: 'You are a helpful assistant that remembers user preferences',
|
|
73
|
-
model: 'openai/gpt-5.
|
|
73
|
+
model: 'openai/gpt-5.6-sol',
|
|
74
74
|
inputProcessors: [
|
|
75
75
|
new WorkingMemory({
|
|
76
76
|
storage,
|
|
@@ -18,7 +18,7 @@ function rerank(
|
|
|
18
18
|
```typescript
|
|
19
19
|
import { rerank } from '@mastra/rag'
|
|
20
20
|
|
|
21
|
-
const model = 'openai/gpt-5.
|
|
21
|
+
const model = 'openai/gpt-5.6-sol'
|
|
22
22
|
|
|
23
23
|
const rerankedResults = await rerank(vectorSearchResults, 'How do I deploy to production?', model, {
|
|
24
24
|
weights: {
|
|
@@ -25,17 +25,17 @@ Server adapters register these routes when you call `server.init()`. All routes
|
|
|
25
25
|
|
|
26
26
|
`GET /api/agents/:agentId` accepts optional query parameters to control which stored config version is applied as overrides to code-defined agents:
|
|
27
27
|
|
|
28
|
-
| Parameter | Type | Default
|
|
29
|
-
| ----------- | ------------------------ |
|
|
30
|
-
| `status` | `'draft' \| 'published'` | `'
|
|
31
|
-
| `versionId` | `string` | None
|
|
28
|
+
| Parameter | Type | Default | Description |
|
|
29
|
+
| ----------- | ------------------------ | ------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
30
|
+
| `status` | `'draft' \| 'published'` | `'published'` | Which stored version to resolve. `draft` returns the latest version, and `published` returns the active version. |
|
|
31
|
+
| `versionId` | `string` | None | A specific version ID to resolve. Takes precedence over `status`. |
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
# Get agent with
|
|
34
|
+
# Get agent with active published overrides (default)
|
|
35
35
|
GET /api/agents/my-agent
|
|
36
36
|
|
|
37
|
-
# Get agent with
|
|
38
|
-
GET /api/agents/my-agent?status=
|
|
37
|
+
# Get agent with latest draft overrides
|
|
38
|
+
GET /api/agents/my-agent?status=draft
|
|
39
39
|
|
|
40
40
|
# Get agent with a specific version's overrides
|
|
41
41
|
GET /api/agents/my-agent?versionId=abc123
|
|
@@ -22,7 +22,7 @@ export const supportAgent = new Agent({
|
|
|
22
22
|
id: 'support-agent',
|
|
23
23
|
name: 'Support Agent',
|
|
24
24
|
instructions: 'Help the user triage updates.',
|
|
25
|
-
model: 'openai/gpt-5.
|
|
25
|
+
model: 'openai/gpt-5.6-sol',
|
|
26
26
|
tools: {
|
|
27
27
|
notificationInbox: createNotificationInboxTool({ storage: notificationsStorage }),
|
|
28
28
|
},
|
|
@@ -243,7 +243,7 @@ export const dsqlAgent = new Agent({
|
|
|
243
243
|
name: 'DSQL Agent',
|
|
244
244
|
instructions:
|
|
245
245
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
246
|
-
model: 'openai/gpt-5.
|
|
246
|
+
model: 'openai/gpt-5.6-sol',
|
|
247
247
|
memory: new Memory({
|
|
248
248
|
storage: new DSQLStore({
|
|
249
249
|
id: 'dsql-agent-storage',
|
|
@@ -210,7 +210,7 @@ export const mongodbAgent = new Agent({
|
|
|
210
210
|
name: 'mongodb-agent',
|
|
211
211
|
instructions:
|
|
212
212
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
213
|
-
model: 'openai/gpt-5.
|
|
213
|
+
model: 'openai/gpt-5.6-sol',
|
|
214
214
|
memory: new Memory({
|
|
215
215
|
storage: new MongoDBStore({
|
|
216
216
|
id: 'mongodb-storage',
|
|
@@ -337,7 +337,7 @@ export const pgAgent = new Agent({
|
|
|
337
337
|
name: 'PG Agent',
|
|
338
338
|
instructions:
|
|
339
339
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
340
|
-
model: 'openai/gpt-5.
|
|
340
|
+
model: 'openai/gpt-5.6-sol',
|
|
341
341
|
memory: new Memory({
|
|
342
342
|
storage: new PostgresStore({
|
|
343
343
|
id: 'pg-agent-storage',
|
|
@@ -183,7 +183,7 @@ export const redisAgent = new Agent({
|
|
|
183
183
|
name: 'Redis Agent',
|
|
184
184
|
instructions:
|
|
185
185
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
186
|
-
model: 'openai/gpt-5.
|
|
186
|
+
model: 'openai/gpt-5.6-sol',
|
|
187
187
|
memory: new Memory({
|
|
188
188
|
storage: new RedisStore({
|
|
189
189
|
id: 'redis-agent-storage',
|
|
@@ -105,7 +105,7 @@ export const upstashAgent = new Agent({
|
|
|
105
105
|
name: 'Upstash Agent',
|
|
106
106
|
instructions:
|
|
107
107
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
108
|
-
model: 'openai/gpt-5.
|
|
108
|
+
model: 'openai/gpt-5.6-sol',
|
|
109
109
|
memory: new Memory({
|
|
110
110
|
storage: new UpstashStore({
|
|
111
111
|
id: 'upstash-agent-storage',
|
|
@@ -334,7 +334,7 @@ await agent.stream('message for agent', {
|
|
|
334
334
|
sentiment: z.enum(['positive', 'negative', 'neutral']),
|
|
335
335
|
confidence: z.number(),
|
|
336
336
|
}),
|
|
337
|
-
model: 'openai/gpt-5.
|
|
337
|
+
model: 'openai/gpt-5.6-sol',
|
|
338
338
|
errorStrategy: 'warn',
|
|
339
339
|
},
|
|
340
340
|
// Output processors for streaming response validation
|