BYOAIK — Bring Your Own AI Key: a directory of AI tools that run on your own API key.

assistant-ui

TypeScript/React component library for building production AI chat UIs wired to your own provider keys and backend.

Website Source code

Category:
Agent Frameworks
Pricing:
Open Source
Open source:
Yes (MIT)
Self-hostable:
Yes
Local-first:
Yes
Platforms:
Web, Mobile, CLI, Self-hosted, Library/SDK, Docker
AI providers (bring your own key):
OpenAI, Anthropic, Google Gemini, Azure OpenAI, OpenRouter, Mistral, Perplexity, Ollama, Fireworks, Custom / OpenAI-compatible
API key storage:
Configured by environment variable
Key risk level:
LOW
Trust score:
88/100

assistant-ui is an open-source (MIT) TypeScript/React library of composable primitives and prebuilt components for building ChatGPT-style chat interfaces, copilots, and agent UIs. It is backend-agnostic: developers wire it to their own server and supply their own provider API keys. Broad model support comes via the Vercel AI SDK (OpenAI, Anthropic, Google Gemini, Mistral, Perplexity, AWS Bedrock, Azure, Fireworks, Ollama), plus LangChain/LangGraph, custom HTTP transports, and OpenAI-compatible gateways (OpenRouter, LiteLLM, Portkey). Features include streaming, message editing/branching, attachments, markdown/LaTeX rendering, auto-scroll, and speech-to-text, built on shadcn/ui and Tailwind. It spans Web (React 18+), React Native (Expo), and React Ink (CLI). The library is free; an optional managed "assistant-cloud" backend adds thread persistence and chat history (Free / Pro $50/mo / Enterprise, billed by MAU) and offers encrypted per-provider credential storage. Y Combinator-backed; used by Mastra, LangChain, and Helicone. Note: it is a developer library, not a turnkey end-user app, so the party bringing the key is the developer integrating it.

How your API key is handled

Your API key is supplied via an environment variable or local config file. Requests are sent directly to the AI provider. Because it can be self-hosted, your key never has to touch a third-party backend.

Setup

Install the tool, set your provider API key as an environment variable (or in its config file), and pick a model.