init_project
Scaffold a new spec-driven LangGraph project by generating spec.yaml, nodes.py stub, and init.py.
Instructions
Create a new spec-driven LangGraph project: spec.yaml, nodes.py stub, init.py.
project_dir: directory to create/use (created if missing; error if a spec.yaml already exists there). name: project/graph name, stored in spec.yaml. state_fields: optional initial state fields, each {name, type, reducer?, default?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project_dir | Yes | ||
| state_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||