Build with Addri
Addri exposes a full AI stack as two composable layers: a JavaScript framework for web and WebView apps, and a native C++ library that runs inside Flutter, Python, C#, Android, iOS, and any C++ host — all from the same binary.
AI Framework
A hosted AI gateway you can drop into any web page with a single script tag. Auth, key pool rotation, and tier enforcement are all server-side — the client never touches an API key. Supports Google, Anthropic, OpenAI, OpenRouter, and DeepSeek out of the box, with streaming responses and BYOK mode for users who supply their own keys.
window.addEventListener(
'aiFrameworkReady', async () => {
const ai = new AIFramework();
const reply = await ai.chat('Hello');
console.log(reply);
});
AddriLib
A compiled C++ library with a pure-C ABI. One binary file works inside Flutter via dart:ffi, Python via ctypes, C# via P/Invoke, Android via JNI, iOS via a bridging header, and any native C++ application — without recompiling any of them. Ships with a full multi-provider AI router, agentic tool loop, persistent session history, and offline-capable local Ollama support.
from addri import Addri
ai = Addri("/path/to/AddriLib.dll")
ai.init("~/.addri")
ai.set_provider("anthropic")
ai.set_key("sk-ant-...")
reply = ai.send("Hello")
Every major AI, one interface
Switch providers at runtime without restarting, re-initialising, or losing conversation history. The session, tool registry, and sandbox state are preserved across provider switches.