Browser brains LogoBrowserBrains

AI Chat Agents for Everyone.
No server needed.

Turn any web page into a smart assistant.
Get your users to the answers they need, just add a textfile with your content and our lightweight AI chat does the rest.

Click on the 💬, to try.

Setup in 2 Steps

Quick setup to add AI chat to your project

1

Install the package

npm install @juanpin/aicomponents
2

Add to your page


  import { LocalChat } from '@juanpin/aicomponents';

  export default function Page() {
    return (
      <LocalChat
        headerText="Ask me anything!"
        contextFiles={[]}
        welcomeMessage="Hello! How can I help you?"
        token="xxxx-xxxx-xxxx-xxxx"
      />
    );
  }
3

Add token (optional)

Track interaction quality with your browserbrains token

<LocalChat
...
token="xxxx-xxxx-xxxx-xxxx"
...
/>

Ask me about Juan!

I can help you with question like:


  • If it takes 5 machines 5 minutes to make 5 widgets, how long would it take 100 machines to make 100 widgets?
  • What can you tell me about Juan's education?
  • Who is Juan?