Sayr.io

SAY-30 - Building the provider framework

Task in Sayr.io — https://platform.sayr.io/30

Status: done

Labels: AI Feature

Description

For "Project AI", we'll likely be utilizing Tanstack AI. This will be the backbone of how we tackle things. Ideally we'll be using Mistral, but a provider does not exist as of yet so we'll need to consider building a custom provider, or see what Mistral offer straight out.

The reasoning behind using the "Tanstack AI" provider is that we plan on allowing Pro/CE to bring their own API so they can connect up any providers they'd like.

We'll need to provide a method of using other AIs outside of the default provided. Depending on the costs incurred, we'll potentally need to build in a costs/meters with our billing. This should be easy enough to handle, but also hopefully we can design something within Mistral that's uber low cost that it's not a major concern.


References:

https://tanstack.com/ai/latest/docs/community-adapters/guide

https://docs.mistral.ai/

Comments

Tommerty on 6 Apr 2026, 16:06

Got a good bit done with task summaries. Working on allowing CE to utilize it too, provided they have an API key. Initial launch will only support Mistral, though likely will add other methods for CE users and even potentially cloud users to BYOK

Tommerty on 12 Apr 2026, 17:38

@coderabbitai full review