NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::RunResources Struct Reference

Optional persistence resources scoped to one run or resume call. More...

#include <engine.h>

Collaboration diagram for neograph::graph::RunResources:
[legend]

Public Attributes

std::shared_ptr<::neograph::HookRuntime > hook_runtime
 Optional lifecycle runtime for the tool Hooks of this invocation and its subgraphs.
 
std::shared_ptr< ProviderCallBroker > provider_call_broker
 Host broker for built-in provider calls in this invocation and subgraphs.
 
std::shared_ptr< ToolEffectBroker > tool_effect_broker
 Host broker for mediated Tool effects in this invocation and subgraphs.
 
ToolEffectGrantIdentity tool_effect_grant
 Exact grant identity attached to this invocation's mediated Tool calls.
 
std::shared_ptr< ToolExecutionController > tool_execution_controller
 Optional invocation-scoped execution policy, including resume calls.
 
std::optional< ToolGate > tool_gate
 Optional invocation-scoped gate composed before the engine gate.
 

Detailed Description

Optional persistence resources scoped to one run or resume call.

Non-null members override the engine's configured persistence instance for this operation only. Tools, registries, nodes, and engine configuration are never changed.

Definition at line 183 of file engine.h.

Member Data Documentation

◆ hook_runtime

std::shared_ptr<::neograph::HookRuntime> neograph::graph::RunResources::hook_runtime

Optional lifecycle runtime for the tool Hooks of this invocation and its subgraphs.

Replaces the engine's HookRuntime for tool calls, as a ToolExecutionContext::hook_runtime replaces llm::Agent's; checkpoint Hooks keep the engine's.

Definition at line 203 of file engine.h.

◆ provider_call_broker

std::shared_ptr<ProviderCallBroker> neograph::graph::RunResources::provider_call_broker

Host broker for built-in provider calls in this invocation and subgraphs.

Brokered calls require a nonempty thread_id to scope replay identity. Never mutates provider nodes on the shared engine.

Definition at line 194 of file engine.h.

◆ tool_execution_controller

std::shared_ptr<ToolExecutionController> neograph::graph::RunResources::tool_execution_controller

Optional invocation-scoped execution policy, including resume calls.

Applies to mediated dispatch_tool_calls, not direct Tool::execute by native nodes.

Definition at line 190 of file engine.h.


The documentation for this struct was generated from the following file: