Addri
Loading…
Developer Platform

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 / JS AddriLib / C++ ABI SystemLib / Provider Router
JavaScript layer

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.

// one event listener
window.addEventListener(
  'aiFrameworkReady', async () => {
  const ai = new AIFramework();
  const reply = await ai.chat('Hello');
  console.log(reply);
});
Native layer

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.

# Python — no compilation needed
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")
Provider support

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.

Addri managed
Managed pool, JWT auth, default
Anthropic
Claude models, direct BYOK
OpenAI
GPT models, direct BYOK
Google Gemini
Gemini models, direct BYOK
DeepSeek
DeepSeek models, BYOK
OpenRouter
Hundreds of models, one key
Grok / xAI
Grok models, BYOK
Local Ollama
Fully offline, no key needed