🆕 Check out browseragent.dev to build no-code AI agents in seconds

Run local LLMs inside your browser

Privacy-focused, personalized AI with zero infrastructure cost for any use case

npm i @browserai/browserai

BrowserAI is open source - check out our GitHub repo or simply copy this code to start running LLMs in your browser.

Integration
import { BrowserAI } from '@browserai/browserai'

const browserAI = new BrowserAI()
await browserAI.loadModel('llama-3.2-1b-instruct ')

const response =
await browserAI.generateText('Hello, how are you?')

How It Works

BrowserAI leverages WebAssembly and WebGPU to run increasingly efficient small language models directly in your browser. Integration just takes a few lines of code - no APIs required.

1

$0 operational cost

No API fees or cloud infrastructure expenses

2

100% privacy

Local processing with no exposed to third parties

3

Effortless Integration

No servers, API keys, rate limits, or infrastructure to maintain

Browseragent Interface

Looking for an easier way to build and deploy your own AI agents?

Check out Browseragent, our no-code platform to create AI workflows from scratch or from templates, based on the BrowserAI library - 100% local, 100% secure, 0 hassle.