Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bartolli/langgraph-runtime
/ functions
Functions
25 in github.com/bartolli/langgraph-runtime
⨍
Functions
25
◇
Types & classes
11
↓ 6 callers
Function
process_task
Process task through planning and execution stages with message history support.
src/main.py:1129
↓ 5 callers
Function
create_llm
Create a configured LLM instance This function creates an LLM that works exactly like ChatOpenAI, maintaining compatibility with .with_st
src/main.py:101
↓ 3 callers
Function
create_planner_graph
Create planning stage graph for requirements gathering. Builds a LangGraph for the planning phase that: 1. Generates clarifying questions
src/main.py:1064
↓ 3 callers
Function
setup_logger
Configure colored logging with custom format. Sets up both the main application logger and adjusts third-party loggers to maintain consis
src/main.py:23
↓ 2 callers
Function
get_task_history
Get the complete history of a task's execution.
src/test_persistence.py:12
↓ 2 callers
Function
get_task_history
Get the complete history of a task's execution.
src/main.py:1210
↓ 1 callers
Function
ask_user_question
Prompt the user with a question and get their response. Provides a simple CLI interface to ask the user a question and collect their response
src/main.py:340
↓ 1 callers
Function
cli
Command-line interface for the runtime graph system.
src/main.py:1250
↓ 1 callers
Function
create_execution_graph
Create execution graph from plan with proper dependencies. Builds a LangGraph execution graph based on the provided plan: 1. Creates node
src/main.py:976
↓ 1 callers
Function
generate_specialist_prompt
Generate a specialized system prompt for a specific task. Focused system prompt that will help guide the AI agent in completing a specifi
src/main.py:541
↓ 1 callers
Function
main
()
src/example_workflow.py:12
↓ 1 callers
Function
main
()
src/test_persistence.py:40
↓ 1 callers
Function
save_step_result
Save step execution results to file. Args: step_id: Step identifier description: Step description system_prompt: Gene
src/main.py:942
↓ 1 callers
Function
substitute_value
Recursively substitute variables in a value.
src/main.py:306
↓ 1 callers
Function
substitute_variables
Substitute variables in step arguments with results from previous steps. Replaces placeholder variables (e.g. $1, $2) in step arguments with
src/main.py:281
Function
ask_questions
Process questions and collect responses sequentially with message history.
src/main.py:475
Function
continue_task
Continue a previous task using its thread ID. Args: thread_id: The thread ID of the previous task follow_up_query: The follow
src/main.py:1238
Function
create_plan
Create detailed execution plan based on gathered requirements. Analyzes requirements and generates a structured execution plan with appro
src/main.py:569
Method
description
Get the description for this action type.
src/main.py:165
Function
dict_merge
Merge two dictionaries for concurrent state updates in the runtime graph. Used as a merge strategy for the RuntimeState's agent_results field
src/main.py:228
Function
execute_step
Execute a single step in the execution plan. Handles step execution by: 1. Generating specialized system prompt for the step 2. Gathe
src/main.py:831
Method
format
(self, record)
src/main.py:34
Function
generate_questions
Generate questions with conversation context support.
src/main.py:395
Function
list_merge
Merge two lists for concurrent state updates. Args: list1: First list list2: Second list Returns: List[A
src/main.py:255
Function
should_continue_questions
Determine next stage based on current state.
src/main.py:1088