Replies: 1 comment
-
It's a very great idea. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I propose introducing a standardized project structure for LangGraph, similar to Django's approach, to help developers quickly understand and work with different projects more efficiently.
Proposal:
CLI Command for Project Creation:
langgraph startproject [project_name]
that generates a new project folder with essential files such asgraph.py
andstate.py
.CLI Command for Node Creation:
A command, e.g.,
langgraph startnode [node_name]
, could create a folder named[node_name]
with a main file containing a template function:The developer would then fill in the logic for the node.
Workflow Integration (Optional Automation):
workflow.add_node(node_name)
. However, leaving this as a manual step might give developers more control.Standardization of Other Components:
Benefits:
Additional Thoughts:
This idea was sketched out quickly, but with some refinement, it could become much more logical and practical, offering significant improvements for LangGraph development.
Thank you for considering this!
Beta Was this translation helpful? Give feedback.
All reactions