@@ -44,6 +44,7 @@ async function createProject() {
4444 "mastra" ,
4545 "ag2" ,
4646 "llamaindex" ,
47+ "pydanticAi" ,
4748 "agno"
4849 ] . some ( flag => options [ flag ] ) ;
4950
@@ -118,6 +119,8 @@ async function handleCopilotKitNextJs() {
118119 frameworkArgs . push ( "-f" , "llamaindex" ) ;
119120 } else if ( options . agno ) {
120121 frameworkArgs . push ( "-f" , "agno" ) ;
122+ } else if ( options . pydanticAi ) {
123+ frameworkArgs . push ( "-f" , "pydantic-ai" ) ;
121124 }
122125
123126 const copilotkit = spawn ( "npx" ,
@@ -210,9 +213,10 @@ program
210213 . option ( "--langgraph-js" , "Use the LangGraph framework with JavaScript" )
211214 . option ( "--crewai-flows" , "Use the CrewAI framework with Flows" )
212215 . option ( "--mastra" , "Use the Mastra framework" )
213- . option ( "--ag2 " , "Use the AG2 framework" )
216+ . option ( "--pydantic-ai " , "Use the Pydantic AI framework" )
214217 . option ( "--llamaindex" , "Use the LlamaIndex framework" )
215- . option ( "--agno" , "Use the Agno framework" ) ;
218+ . option ( "--agno" , "Use the Agno framework" )
219+ . option ( "--ag2" , "Use the AG2 framework" )
216220
217221program . action ( async ( ) => {
218222 await createProject ( ) ;
0 commit comments