Show HN: A modern C++20 AI SDK (GPT‑4o, Claude 3.5, tool‑calling)
Hi all,I’m hacking on new features for the ClickHouse native client and wanted the same “just call the model” ergonomics JavaScript and Python now enjoy. It didn’t exist for modern C++, so I wrote one.ai‑sdk‑cpp (Apache‑2.0) gives you:- Unified calls to OpenAI (GPT‑4o) and Anthropic (Claude 3.5) with a single C++20 API.
- Streaming, multi‑turn chat, error handling—all std::optional/std::variant, no macros.
- Tool calling (function‑calling) so the model can hit real APIs; sync or async, runs in p...
Read more at news.ycombinator.com