AI Companion
Your agent already knows you from conversations. It remembers your preferences, your goals, and the things you care about. But there’s one blind spot: what you’re doing right now.
With Context Bro — a standalone Chrome extension — you can share web pages, selections, and live stream content with your agent’s event stream. Your agent stops being a chatbot you visit and becomes a companion that walks alongside your daily digital life.
The Vision
Section titled “The Vision”You’re deep in a three-hour research session — reading documentation, skimming Stack Overflow, comparing blog posts. You close the browser and open AnySoul. Your agent already knows:
- What you were researching
- Which topics you spent the most time on
- Where you seemed to get stuck (reading the same page three times)
It asks: “You spent a while on Rust lifetimes today. Want me to organize what you’ve learned so far?”
That’s the difference between a chatbot and a companion.
What You’ll Need
Section titled “What You’ll Need”- A AnySoul account with an active agent
- Context Bro Chrome extension installed
- A webhook endpoint configured on your agent
How It Works
Section titled “How It Works”Browser (you reading articles, docs, code) │ │ Context Bro extension │ auto-share / manual clip / text selection │ ▼Webhook Endpoint (api_key auth) │ │ Mapping engine → Event │ ▼Agent Event Stream │ │ Agent builds awareness of your activity over time │ Proactive suggestions, memory updates, contextual help │ ▼Persistent Memory → "User is learning Rust. Currently focused on lifetimes." → Referenced in future conversations automaticallyContext Bro extracts page content using its template engine, compiles it into a JSON payload, and POSTs it to your agent’s webhook. The webhook mapping engine transforms it into a standard event. No special API — the same webhook system that powers all AnySoul integrations.
Step-by-Step Setup
Section titled “Step-by-Step Setup”1. Create a Webhook Endpoint
Section titled “1. Create a Webhook Endpoint”- Open Agent Settings → Webhooks
- Click Create webhook with a name like
context-bro - Choose
api_keyauthentication mode - Copy the endpoint URL and API key
See the full Webhook guide for details on testing mode and mapping configuration.
2. Install and Connect Context Bro
Section titled “2. Install and Connect Context Bro”- Install Context Bro from the Chrome Web Store
- Open Options → Endpoints
- Add your webhook URL and API key (as
X-API-Keyheader) - Save and test — share any page and check your agent’s event stream
See the Browser Extension guide for the full walkthrough.
3. Configure Sharing
Section titled “3. Configure Sharing”Choose how Context Bro shares content:
| Mode | How It Works | Best For |
|---|---|---|
| Manual clip | Click the icon or press Ctrl+Shift+K | Sharing specific pages on demand |
| Selection share | Select text → floating button or right-click | Sharing a specific paragraph or code snippet |
| Scheduled sharing | Auto-share pages on a timer (allowlist + interval) | Passive context awareness throughout the day |
For the companion use case, scheduled sharing is the key feature. Set a 15-minute interval on domains you frequently visit (github.com, stackoverflow.com, your company wiki) and let it run in the background.
What Your Agent Sees
Section titled “What Your Agent Sees”After a few hours of browsing with scheduled sharing enabled:
- [14:00] [evt_cb001] context-bro/rust-book (page_context): Ch.10 Generics — Rust Book- [14:15] [evt_cb002] context-bro/stackoverflow.com (page_context): "rust lifetime elision rules"- [14:20] [evt_cb003] context-bro/stackoverflow.com (selection): error[E0106]: missing lifetime specifier- [14:45] [evt_cb004] context-bro/github.com (page_context): tokio-rs/tokio — Runtime for async Rust- [15:00] [evt_cb005] context-bro/blog.rust-lang.org (page_context): Rust 2026 edition announcementYour agent spots the pattern: you’ve been focused on Rust, specifically lifetimes, for over an hour. It can proactively:
- Offer a summary of what you’ve been reading
- Save a structured memory node: “User is learning Rust. Focused on lifetimes and generics. Encountered error E0106.”
- Reference this context in your next conversation without you having to explain anything
Going Further
Section titled “Going Further”Site-Specific Templates
Section titled “Site-Specific Templates”Context Bro supports custom templates per domain. For example, a GitHub PR template can extract the title, description, changed files, and review status — giving your agent a structured understanding of your code review activity.
Learning Progress Tracking
Section titled “Learning Progress Tracking”Pair scheduled sharing with your agent’s memory system. Over days and weeks, your agent builds a knowledge graph of your learning journey — topics explored, questions asked, breakthroughs made. It becomes a study partner that remembers everything.
Combine with Live Streaming
Section titled “Combine with Live Streaming”Context Bro also supports Twitch and YouTube adapters for real-time stream content. See the AI VTuber use case for how to turn your agent into a live stream participant.
Related
Section titled “Related”- Webhook — endpoint setup, mapping, authentication
- Browser Extension — full Context Bro feature reference
- Event Stream — how events flow through your agent
- Memory — how agents form and retain memories