|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
| include | |
| foresthub | |
| agent | |
| agent.hpp | Agent with instructions, tools, and optional response format |
| handoff.hpp | Handoff tool that transfers control between agents |
| runner.hpp | Runner that executes agent loops with LLM calls, tool dispatch, and handoffs |
| config | |
| config.hpp | Client and provider configuration types |
| core | |
| http_client.hpp | Abstract HTTP client interface and response type |
| input.hpp | Polymorphic input types for chat requests |
| model.hpp | Model metadata and capability identifiers |
| options.hpp | Model-specific generation options (temperature, max_tokens, etc.) |
| provider.hpp | LLMClient and Provider interfaces for chat operations |
| serialization.hpp | JSON serialization and deserialization for core types |
| tools.hpp | Tool system: ExternalTool, FunctionTool, WebSearch, and tool call types |
| types.hpp | ChatRequest and ChatResponse types with fluent builder API |
| platform | |
| console.hpp | Abstract interface for console I/O |
| crypto.hpp | Abstract interfaces for TLS/crypto operations |
| gpio.hpp | Abstract interface for general-purpose pin I/O and PWM |
| network.hpp | Abstract interface for network connectivity |
| platform.hpp | PlatformContext factory and subsystem aggregation |
| time.hpp | Abstract interface for time operations and synchronization |
| provider | |
| remote | |
| anthropic.hpp | Anthropic Messages API provider implementation |
| foresthub.hpp | ForestHub backend provider implementation |
| gemini.hpp | Google Gemini generateContent API provider implementation |
| openai.hpp | OpenAI Responses API provider implementation |
| rag | |
| remote | |
| retriever.hpp | RemoteRetriever that queries the ForestHub backend via HTTP |
| retriever.hpp | Abstract Retriever interface for document retrieval |
| types.hpp | RAG query and response types |
| util | |
| json.hpp | Wrapper for nlohmann/json that works around abs macro conflicts |
| optional.hpp | Minimal Optional<T> polyfill for C++14 compatibility |
| schema.hpp | JSON Schema normalization utilities |
| strprintf.hpp | Printf-style string formatting with single heap allocation |
| ticker.hpp | Periodic, one-shot, and calendar-aligned scheduling utility |
| client.hpp | Multi-provider Client that routes chat requests by model ID |