Facebook Group Search for AI Copilots (AgentBridge)
Connect Visual Studio Code's Language Model Tools and GitHub Copilot Chat directly to your authenticated Facebook browser session via the companion Chrome Extension.
✨ Features
🔎 Native Copilot & Language Model Tools: Query Facebook groups directly in VS Code Chat (@workspace or Copilot Agent).
🔒 Zero Credentials & Local Loopback: Runs strictly over local loopback (127.0.0.1) with HMAC-SHA256 mutual authorization. Your Facebook password, session cookies, and login tokens are never shared with VS Code.
⚡ Seamless Auto-Connect: Automatically connects to the local AgentBridge runtime and reconnects across window reloads.
💬 Complete Group Search & Post Extraction: Search group feeds, filter by keywords, read post bodies, and extract comment threads.
Search for Facebook Group Search for AI Copilots (licheesight.agentbridge-vscode) in:
Visual Studio Marketplace (VS Code)
Open VSX Registry (VSCodium, Cursor, Gitpod, Eclipse Theia)
3. Connect & Authorize
Open the VS Code Command Palette (Cmd+Shift+P on macOS / Ctrl+Shift+P on Windows/Linux).
Run: AgentBridge: Connect to Facebook Extension
A Chrome tab will open with your local authorization page (http://127.0.0.1:8787/connect) with the pairing code pre-filled.
Click "Confirm & Connect".
4. Ask Copilot in VS Code Chat
Open Copilot Chat (Ctrl+Alt+I / Cmd+Ctrl+I) and ask:
"List the Facebook groups I have joined" "Search for recent discussions about AI tools in my developer groups" "Read the comments on the top post in group 'React Developers'"
🛠️ Contributed Commands
Command
Title
Description
agentbridge.connect
AgentBridge: Connect to Facebook Extension
Starts local runtime and opens Chrome authorization
agentbridge.openPairing
AgentBridge: Open Extension Pairing Webpage
Opens the local pairing webpage in default browser
agentbridge.resetPairing
AgentBridge: Reset Pairing Token
Resets stored pairing credentials to generate a fresh pairing code
🧩 Contributed Language Model Tools
This extension registers Language Model Tools for GitHub Copilot Chat and VS Code AI agents:
Tool
Display Name
Description
facebook_list_groups
Facebook: List Joined Groups
Lists all joined Facebook groups with names, IDs, and URLs
facebook_group_search
Facebook: Search Group Posts
Searches posts within specified group IDs using keywords
facebook_group_read_posts
Facebook: Read Group Posts & Comments
Reads post text, timestamps, author details, and comments
⚙️ Extension Settings
agentbridge.port: Local runtime loopback port (default: 8787).
agentbridge.autoStart: Automatically start the AgentBridge local runtime when VS Code starts (default: true).