NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
agent.h File Reference

Simple ReAct agent loop for LLM + tool interaction. More...

#include <neograph/api.h>
#include <neograph/provider.h>
#include <neograph/tool.h>
#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for agent.h:

Go to the source code of this file.

Classes

class  neograph::llm::Agent
 Standalone ReAct agent that loops between LLM calls and tool execution. More...
 

Detailed Description

Simple ReAct agent loop for LLM + tool interaction.

Provides a standalone agent that runs the ReAct loop: LLM generates -> tool calls -> feed results -> repeat until done. For graph-based agents, use GraphEngine with create_react_graph() instead.

Definition in file agent.h.