AI-SDK-cpp: Modern C++ AI SDK
10 months ago
- #AI
- #SDK
- #C++
- AI SDK CPP is a modern C++ toolkit for building AI-powered applications with providers like OpenAI and Anthropic.
- Provides a unified API to abstract complexity across different AI providers.
- Built with C++20 features, minimal dependencies, and requires C++20 compiler and CMake 3.16+.
- Core module supports OpenAI and Anthropic with easy-to-use interfaces for text generation and streaming.
- Supports multi-turn conversations, error handling, and function calling for external API interactions.
- Includes async tools for long-running operations with parallel execution.
- Features text generation, streaming, embeddings, and image generation support.
- Future plans include support for additional providers like Google and Cohere.
- Examples provided cover basic chat, streaming, tool calling, and error handling.