You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,15 +35,15 @@ import type { RequestContext } from '@mastra/core/request-context'
35
35
*/
36
36
37
37
exportconsta2aCoordinatorAgent=newAgent({
38
-
id: 'a2aCoordinator',
39
-
name: 'a2aCoordinator',
40
-
description:
41
-
'A2A Coordinator that orchestrates multiple specialized agents in parallel. Routes tasks dynamically, coordinates workflows, and synthesizes results using the A2A protocol.',
42
-
instructions: ({ requestContext })=>{
43
-
constuserId=requestContext.get('userId')
44
-
return{
45
-
role: 'system',
46
-
content: `You are an A2A (Agent-to-Agent) Coordinator that orchestrates multi-agent workflows.
38
+
id: 'a2aCoordinator',
39
+
name: 'a2aCoordinator',
40
+
description:
41
+
'A2A Coordinator that orchestrates multiple specialized agents in parallel. Routes tasks dynamically, coordinates workflows, and synthesizes results using the A2A protocol.',
42
+
instructions: ({ requestContext })=>{
43
+
constuserId=requestContext.get('userId')
44
+
return{
45
+
role: 'system',
46
+
content: `You are an A2A (Agent-to-Agent) Coordinator that orchestrates multi-agent workflows.
47
47
userId: ${userId}
48
48
CORE CAPABILITIES:
49
49
- Orchestrate multiple agents working in parallel
@@ -91,49 +91,49 @@ Use Promise.all() pattern for parallel execution.
91
91
Maximize the use of E2B sandboxes via specialized agents for any code-related tasks.
92
92
Use knowledgeIndexingAgent to provide semantic context for complex queries.
0 commit comments