@@ -4,19 +4,19 @@ import { AgentIntegrationConfig } from "./types/integration";
44import { MiddlewareStarterAgent } from "@ag-ui/middleware-starter" ;
55import { ServerStarterAgent } from "@ag-ui/server-starter" ;
66import { ServerStarterAllFeaturesAgent } from "@ag-ui/server-starter-all-features" ;
7- import { MastraClient } from "@mastra/client-js" ;
8- import { MastraAgent } from "@ag-ui/mastra" ;
9- import { VercelAISDKAgent } from "@ag-ui/vercel-ai-sdk" ;
10- import { openai } from "@ai-sdk/openai" ;
7+ // import { MastraClient } from "@mastra/client-js";
8+ // import { MastraAgent } from "@ag-ui/mastra";
9+ // import { VercelAISDKAgent } from "@ag-ui/vercel-ai-sdk";
10+ // import { openai } from "@ai-sdk/openai";
1111import { LangGraphAgent , LangGraphHttpAgent } from "@ag-ui/langgraph" ;
1212import { AgnoAgent } from "@ag-ui/agno" ;
1313import { LlamaIndexAgent } from "@ag-ui/llamaindex" ;
1414import { CrewAIAgent } from "@ag-ui/crewai" ;
1515import getEnvVars from "./env" ;
16- import { mastra } from "./mastra" ;
16+ // import { mastra } from "./mastra";
1717import { PydanticAIAgent } from "@ag-ui/pydantic-ai" ;
1818import { ADKAgent } from "@ag-ui/adk" ;
19- import { SpringAiAgent } from ' @ag-ui/spring-ai' ;
19+ import { SpringAiAgent } from " @ag-ui/spring-ai" ;
2020import { HttpAgent } from "@ag-ui/client" ;
2121import { A2AMiddlewareAgent } from "@ag-ui/a2a-middleware" ;
2222
@@ -81,7 +81,9 @@ export const agentsIntegrations: AgentIntegrationConfig[] = [
8181 backend_tool_rendering : new ADKAgent ( {
8282 url : `${ envVars . adkMiddlewareUrl } /backend_tool_rendering` ,
8383 } ) ,
84- shared_state : new ADKAgent ( { url : `${ envVars . adkMiddlewareUrl } /adk-shared-state-agent` } ) ,
84+ shared_state : new ADKAgent ( {
85+ url : `${ envVars . adkMiddlewareUrl } /adk-shared-state-agent` ,
86+ } ) ,
8587 // predictive_state_updates: new ADKAgent({ url: `${envVars.adkMiddlewareUrl}/adk-predictive-state-agent` }),
8688 } ;
8789 } ,
@@ -114,24 +116,25 @@ export const agentsIntegrations: AgentIntegrationConfig[] = [
114116 } ;
115117 } ,
116118 } ,
117- {
118- id : "mastra" ,
119- agents : async ( ) => {
120- const mastraClient = new MastraClient ( {
121- baseUrl : envVars . mastraUrl ,
122- } ) ;
119+ // Disable until we can support Vercel AI SDK v5
120+ // {
121+ // id: "mastra",
122+ // agents: async () => {
123+ // const mastraClient = new MastraClient({
124+ // baseUrl: envVars.mastraUrl,
125+ // });
123126
124- return MastraAgent . getRemoteAgents ( {
125- mastraClient,
126- } ) ;
127- } ,
128- } ,
129- {
130- id : "mastra-agent-local" ,
131- agents : async ( ) => {
132- return MastraAgent . getLocalAgents ( { mastra } ) ;
133- } ,
134- } ,
127+ // return MastraAgent.getRemoteAgents({
128+ // mastraClient,
129+ // });
130+ // },
131+ // },
132+ // {
133+ // id: "mastra-agent-local",
134+ // agents: async () => {
135+ // return MastraAgent.getLocalAgents({ mastra });
136+ // },
137+ // },
135138 // Disabled until we can support Vercel AI SDK v5
136139 // {
137140 // id: "vercel-ai-sdk",
@@ -273,26 +276,26 @@ export const agentsIntegrations: AgentIntegrationConfig[] = [
273276 } ,
274277 } ,
275278 {
276- id : ' spring-ai' ,
279+ id : " spring-ai" ,
277280 agents : async ( ) => {
278281 return {
279282 agentic_chat : new SpringAiAgent ( {
280- url : `${ envVars . springAiUrl } /agentic_chat/agui`
283+ url : `${ envVars . springAiUrl } /agentic_chat/agui` ,
281284 } ) ,
282285 shared_state : new SpringAiAgent ( {
283- url : `${ envVars . springAiUrl } /shared_state/agui`
286+ url : `${ envVars . springAiUrl } /shared_state/agui` ,
284287 } ) ,
285288 tool_based_generative_ui : new SpringAiAgent ( {
286- url : `${ envVars . springAiUrl } /tool_based_generative_ui/agui`
289+ url : `${ envVars . springAiUrl } /tool_based_generative_ui/agui` ,
287290 } ) ,
288291 human_in_the_loop : new SpringAiAgent ( {
289- url : `${ envVars . springAiUrl } /human_in_the_loop/agui`
292+ url : `${ envVars . springAiUrl } /human_in_the_loop/agui` ,
290293 } ) ,
291294 agentic_generative_ui : new SpringAiAgent ( {
292- url : `${ envVars . springAiUrl } /agentic_generative_ui/agui`
293- } )
294- }
295- }
295+ url : `${ envVars . springAiUrl } /agentic_generative_ui/agui` ,
296+ } ) ,
297+ } ;
298+ } ,
296299 } ,
297300 {
298301 id : "llama-index" ,
0 commit comments