Skip to content

Add LangGraph examples and CLI templates#260

Merged
danielmillerp merged 1 commit intomainfrom
dm/langgraph-templates
Feb 18, 2026
Merged

Add LangGraph examples and CLI templates#260
danielmillerp merged 1 commit intomainfrom
dm/langgraph-templates

Conversation

@danielmillerp
Copy link
Contributor

Summary

  • Add sync LangGraph tutorial example at examples/tutorials/00_sync/030_langgraph/ with full project structure (acp.py, graph.py, tools.py), tests, manifest, Dockerfile, and graph PNG diagram
  • Add async LangGraph tutorial example at examples/tutorials/10_async/00_base/100_langgraph/ with Redis-based streaming, tests, and same project structure
  • Add sync-langgraph and default-langgraph CLI templates with LangGraph-specific Jinja2 templates (graph.py.j2, tools.py.j2), langgraph/langchain-openai dependencies, and OpenAI+SGP credentials in manifest
  • Update init.py with new SYNC_LANGGRAPH and DEFAULT_LANGGRAPH template types, project_files entries, and sub-menu options in the CLI wizard

Test plan

  • Run agentex init and verify "Async ACP + LangGraph" and "Sync ACP + LangGraph" options appear in sub-menus
  • Scaffold a project with each LangGraph template and verify graph.py, tools.py, and acp.py are generated correctly
  • Run the sync example locally with agentex agents run and verify streaming works
  • Run the async example locally and verify Redis-based event streaming works

🤖 Generated with Claude Code

- Add sync LangGraph example at examples/tutorials/00_sync/030_langgraph
- Add async LangGraph example at examples/tutorials/10_async/00_base/100_langgraph
- Add sync-langgraph and default-langgraph CLI templates with graph.py, tools.py, and LangGraph deps
- Update init.py with new TemplateType entries and sub-menu options for LangGraph

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@danielmillerp danielmillerp merged commit 6d59e48 into main Feb 18, 2026
35 checks passed
@danielmillerp danielmillerp deleted the dm/langgraph-templates branch February 18, 2026 08:27
Copy link
Contributor

@smoreinis smoreinis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved \o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants