NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
deep_research_graph.h
Go to the documentation of this file.
1
15#pragma once
16
18#include <neograph/provider.h>
19#include <neograph/tool.h>
20#include <memory>
21#include <string>
22#include <vector>
23
24namespace neograph::graph {
25
44 std::string model = "claude-sonnet-4-5";
48
60 bool enable_human_review = false;
61
71};
72
87std::unique_ptr<GraphEngine> create_deep_research_graph(
88 std::shared_ptr<Provider> provider,
89 std::vector<std::unique_ptr<Tool>> tools,
90 DeepResearchConfig cfg = {});
91
92} // namespace neograph::graph
std::unique_ptr< GraphEngine > create_deep_research_graph(std::shared_ptr< Provider > provider, std::vector< std::unique_ptr< Tool > > tools, DeepResearchConfig cfg={})
Build the Deep Research graph.
Main graph execution engine with super-step loop and HITL support.
Abstract LLM provider interface.
Configuration knobs for the Deep Research graph.
int max_supervisor_iterations
Supervisor planning rounds (keep ≤ 3 for low-tier Anthropic quotas).
bool enable_human_review
When true, inserts a human_review node between final_report and __end__.
int max_researcher_iterations
Inner LLM↔tools loop cap per researcher.
int max_concurrent_researchers
Cap per conduct_research fan-out batch. Default 2 so 3× parallel researchers don't collectively excee...
std::string model
Claude model identifier.
bool enable_clarification
When true, inserts a clarify node between __start__ and brief.
Abstract tool interface for callable functions.