|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
Agent framework: multi-turn execution with tool calling and handoffs. More...
Classes | |
| class | Agent |
| LLM agent with instructions, tools, and optional response format. More... | |
| class | Handoff |
| Tool that transfers control from one agent to another. More... | |
| class | Runner |
| Manages the agent execution loop: LLM calls, tool dispatch, and handoffs. More... | |
| struct | RunResult |
| Final outcome of an agent execution workflow. More... | |
| struct | RunResultOrError |
| Result wrapper that holds either a RunResult or an error message. More... | |
Functions | |
| std::shared_ptr< Handoff > | NewHandoff (std::string name, std::string description, std::shared_ptr< Agent > agent, core::ModelID model="") |
| Create a new Handoff tool. | |
Agent framework: multi-turn execution with tool calling and handoffs.
|
inline |
Create a new Handoff tool.
| name | Tool name visible to the LLM. |
| description | Human-readable description sent to the LLM. |
| agent | Target agent to transfer control to. |
| model | Optional model override for the target agent. |