@@ -26,15 +26,18 @@ class TemplateType(str, Enum):
2626 TEMPORAL_OPENAI_AGENTS = "temporal-openai-agents"
2727 TEMPORAL_PYDANTIC_AI = "temporal-pydantic-ai"
2828 TEMPORAL_LANGGRAPH = "temporal-langgraph"
29+ TEMPORAL_CLAUDE_CODE = "temporal-claude-code"
2930 DEFAULT = "default"
3031 DEFAULT_LANGGRAPH = "default-langgraph"
3132 DEFAULT_PYDANTIC_AI = "default-pydantic-ai"
3233 DEFAULT_OPENAI_AGENTS = "default-openai-agents"
34+ DEFAULT_CLAUDE_CODE = "default-claude-code"
3335 SYNC = "sync"
3436 SYNC_OPENAI_AGENTS = "sync-openai-agents"
3537 SYNC_OPENAI_AGENTS_LOCAL_SANDBOX = "sync-openai-agents-local-sandbox"
3638 SYNC_LANGGRAPH = "sync-langgraph"
3739 SYNC_PYDANTIC_AI = "sync-pydantic-ai"
40+ SYNC_CLAUDE_CODE = "sync-claude-code"
3841
3942
4043def render_template (
@@ -67,15 +70,18 @@ def create_project_structure(
6770 TemplateType .TEMPORAL_OPENAI_AGENTS : ["acp.py" , "workflow.py" , "run_worker.py" , "activities.py" ],
6871 TemplateType .TEMPORAL_PYDANTIC_AI : ["acp.py" , "workflow.py" , "run_worker.py" , "agent.py" , "tools.py" ],
6972 TemplateType .TEMPORAL_LANGGRAPH : ["acp.py" , "workflow.py" , "run_worker.py" , "graph.py" , "tools.py" ],
73+ TemplateType .TEMPORAL_CLAUDE_CODE : ["acp.py" , "workflow.py" , "run_worker.py" , "activities.py" ],
7074 TemplateType .DEFAULT : ["acp.py" ],
7175 TemplateType .DEFAULT_LANGGRAPH : ["acp.py" , "graph.py" , "tools.py" ],
7276 TemplateType .DEFAULT_PYDANTIC_AI : ["acp.py" , "agent.py" , "tools.py" ],
7377 TemplateType .DEFAULT_OPENAI_AGENTS : ["acp.py" ],
78+ TemplateType .DEFAULT_CLAUDE_CODE : ["acp.py" ],
7479 TemplateType .SYNC : ["acp.py" ],
7580 TemplateType .SYNC_OPENAI_AGENTS : ["acp.py" ],
7681 TemplateType .SYNC_OPENAI_AGENTS_LOCAL_SANDBOX : ["acp.py" , "agent.py" , "tools.py" ],
7782 TemplateType .SYNC_LANGGRAPH : ["acp.py" , "graph.py" , "tools.py" ],
7883 TemplateType .SYNC_PYDANTIC_AI : ["acp.py" , "agent.py" , "tools.py" ],
84+ TemplateType .SYNC_CLAUDE_CODE : ["acp.py" ],
7985 }[template_type ]
8086
8187 # Create project/code files
@@ -189,6 +195,7 @@ def validate_agent_name(text: str) -> bool | str:
189195 {"name" : "Async ACP + OpenAI Agents SDK" , "value" : TemplateType .DEFAULT_OPENAI_AGENTS },
190196 {"name" : "Async ACP + LangGraph" , "value" : TemplateType .DEFAULT_LANGGRAPH },
191197 {"name" : "Async ACP + Pydantic AI" , "value" : TemplateType .DEFAULT_PYDANTIC_AI },
198+ {"name" : "Async ACP + Claude Code" , "value" : TemplateType .DEFAULT_CLAUDE_CODE },
192199 ],
193200 ).ask ()
194201 if not template_type :
@@ -201,6 +208,7 @@ def validate_agent_name(text: str) -> bool | str:
201208 {"name" : "Temporal + OpenAI Agents SDK (Recommended)" , "value" : TemplateType .TEMPORAL_OPENAI_AGENTS },
202209 {"name" : "Temporal + Pydantic AI" , "value" : TemplateType .TEMPORAL_PYDANTIC_AI },
203210 {"name" : "Temporal + LangGraph" , "value" : TemplateType .TEMPORAL_LANGGRAPH },
211+ {"name" : "Temporal + Claude Code" , "value" : TemplateType .TEMPORAL_CLAUDE_CODE },
204212 ],
205213 ).ask ()
206214 if not template_type :
@@ -214,6 +222,7 @@ def validate_agent_name(text: str) -> bool | str:
214222 {"name" : "Sync ACP + OpenAI Agents SDK + Local Sandbox" , "value" : TemplateType .SYNC_OPENAI_AGENTS_LOCAL_SANDBOX },
215223 {"name" : "Sync ACP + LangGraph" , "value" : TemplateType .SYNC_LANGGRAPH },
216224 {"name" : "Sync ACP + Pydantic AI" , "value" : TemplateType .SYNC_PYDANTIC_AI },
225+ {"name" : "Sync ACP + Claude Code" , "value" : TemplateType .SYNC_CLAUDE_CODE },
217226 ],
218227 ).ask ()
219228 if not template_type :
0 commit comments