Connect any data source
Multi-API integration
yak connects to your existing APIs—tRPC, GraphQL, REST/OpenAPI, or custom adapters. The AI reads your schema and authors the right query; your own client executes it, so your auth, transport, and error handling all apply. You provide the API, we handle the AI.
What you get
- tRPC adapter with procedure allow/blocklisting
- GraphQL schema integration (string or lazy introspection)
- REST/OpenAPI spec support
- Custom adapters for databases and any data source
- Combine multiple APIs in a single assistant
How it works
Wire your APIs as adapters
Point an adapter at each source—a GraphQL SDL, an OpenAPI spec, a custom ToolSource, or a tRPC router—and compose them with createYakToolset into one merged tool manifest.
The model authors the request
Yak gives the AI your schema in each tool's description, and the model produces a concrete request (a tRPC procedure call, a GraphQL query, or a REST method/path/body) when a user asks for something.
Your client executes and returns the result
Yak hands the model-authored request to your execute callback so your own client runs it with your auth and transport, then the result flows back through the same onToolCall path in both chat and voice.
Frequently asked questions
Related features
Ship multi-api integration with yak
Add an AI assistant that matches your product—then turn on the features your users need.