Skip to content

jojohannsen/langgraph_gen

Repository files navigation

langgraph_gen

Slightly modified examples from langgraph, all graph code for nodes/edges generated.

Nodes mostly unchanged, take 'state' parameter.

Conditional edges simplified, edge traversal determined by boolean function that takes 'state' as parameter.

state-model.ipynb Open in Colab

human-in-loop.ipynb Open in Colab

  graph_spec = """
   
call_model(AgentState)
    should_call_tool => ask_human_approval
    
ask_human_approval
    human_allows_tool_call => call_tool
    
call_tool
    => call_model

"""

Human-in-the-loop

About

Slightly modified examples from langgraph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published