Skip to content

feat(cli): add support for pydantic ai #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion typescript-sdk/packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-ag-ui-app",
"author": "Markus Ecker <markus.ecker@gmail.com>",
"version": "0.0.36",
"version": "0.0.37",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
8 changes: 6 additions & 2 deletions typescript-sdk/packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async function createProject() {
"mastra",
"ag2",
"llamaindex",
"pydanticAi",
"agno"
].some(flag => options[flag]);

Expand Down Expand Up @@ -118,6 +119,8 @@ async function handleCopilotKitNextJs() {
frameworkArgs.push("-f", "llamaindex");
} else if (options.agno) {
frameworkArgs.push("-f", "agno");
} else if (options.pydanticAi) {
frameworkArgs.push("-f", "pydantic-ai");
}

const copilotkit = spawn("npx",
Expand Down Expand Up @@ -210,9 +213,10 @@ program
.option("--langgraph-js", "Use the LangGraph framework with JavaScript")
.option("--crewai-flows", "Use the CrewAI framework with Flows")
.option("--mastra", "Use the Mastra framework")
.option("--ag2", "Use the AG2 framework")
.option("--pydantic-ai", "Use the Pydantic AI framework")
.option("--llamaindex", "Use the LlamaIndex framework")
.option("--agno", "Use the Agno framework");
.option("--agno", "Use the Agno framework")
.option("--ag2", "Use the AG2 framework")

program.action(async () => {
await createProject();
Expand Down