Skip to main content

One post tagged with "providers"

View All Tags

Building Custom Providers for Toolpack SDK

· 8 min read
Sajeer Babu
Toolpack SDK Maintainer

Toolpack SDK ships with built-in support for OpenAI, Anthropic, Gemini, and Ollama. But sometimes you need to integrate a different provider -- xAI's Grok, Groq, DeepSeek, Azure OpenAI, or your company's own model. Custom providers make that possible without giving up any SDK features like tool calling, streaming, or embeddings.

This guide walks through exactly how to build one, based on the real xAI adapter used in the Toolpack CLI project.