NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
graph_service.h
1// neograph::grpc — expose a compiled GraphEngine over gRPC.
2//
3// Opt-in component (NEOGRAPH_BUILD_GRPC=ON, default OFF). The whole
4// header is behind NEOGRAPH_HAVE_GRPC so a default build that includes
5// <neograph/neograph.h> umbrella never pulls grpc++ headers.
6//
7// This is a NeoGraph-native gRPC API, independent of the still-
8// unratified MCP-over-gRPC transport (modelcontextprotocol #966).
9
10#pragma once
11
12#ifdef NEOGRAPH_HAVE_GRPC
13
14#include <memory>
15#include <string>
16
19
20namespace neograph::grpc {
21
22class GraphServiceImpl;
23
29std::unique_ptr<GraphServiceImpl> make_graph_service(
31 std::string default_graph_json = "");
32
37void run_server(const std::string& address,
39 std::string default_graph_json = "");
40
41} // namespace neograph::grpc
42
43#endif // NEOGRAPH_HAVE_GRPC
Main graph execution engine with super-step loop and HITL support.
Graph engine type definitions: channels, edges, nodes, events, and control flow.
Dependency injection context passed to nodes during construction.
Definition types.h:251