Skip to content

alen-hh/sidepanel-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sidepanel Agent

A Chrome extension that puts a conversational AI assistant in your browser's side panel. Chat with AI models, search the web, and extract page content — all without leaving your current tab.

Features

  • Side Panel Chat — Click the extension icon to open an AI chat in the browser side panel
  • Streaming Responses — Real-time streaming output with Markdown rendering (code blocks, tables, lists, etc.)
  • Page Context — Read the current tab's page content as context for your message. The text is extracted from the page body (HTML/CSS/JS tags stripped), displayed as a compact widget showing the page's favicon and title, and automatically included in the user message sent to the model
  • Selected Text Context — Highlight text on any page to automatically capture it as message context; new selections replace previous ones so only the latest selected snippet is used
  • Document Context Upload — Upload one local document (.txt, .md, .doc, .docx, max 2MB), extract readable text, and include it as additional context in your next user message
  • Web Search — Built-in Tavily search tool for real-time web information
  • Page Extraction — Extract and read full content from any web page URL via the Tavily tool
  • Reasoning Mode — Toggle "Thinking" to enable extended reasoning for complex tasks
  • Configurable — Choose any model available on OpenRouter, configure API keys in the options page
  • Copy Messages — One-click copy of raw Markdown content from assistant responses

Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm

Installation

pnpm install

Development

pnpm dev

Load the extension from build/chrome-mv3-dev in Chrome:

  1. Open chrome://extensions
  2. Enable "Developer mode"
  3. Click "Load unpacked" and select the build/chrome-mv3-dev folder

Production Build

pnpm build

The production bundle will be in build/chrome-mv3-prod.

Configuration

Click the ⚙️ settings icon in the side panel header (or right-click the extension icon → Options) to configure:

LLM Providers

Tools

  • Tavily API Key — Optional. Enables web search and page extraction. Get one at app.tavily.com

Security and Usability

  • No product account required — You can use Sidepanel Agent directly with your own provider API keys, without registering or logging into a separate Sidepanel Agent account.
  • Chrome account-level sync — API keys and model settings are stored in chrome.storage.sync, so your configuration follows your signed-in Chrome profile across devices.
  • No repeated setup on new devices — When you switch to another device with the same Chrome account, your previously configured keys and settings are automatically available.

Tech Stack

License

MIT

About

An AI Agent in your browser's sidepanel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors