Skip to content

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.

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.

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 automatically

Context 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.

  1. Open Agent Settings → Webhooks
  2. Click Create webhook with a name like context-bro
  3. Choose api_key authentication mode
  4. Copy the endpoint URL and API key

See the full Webhook guide for details on testing mode and mapping configuration.

  1. Install Context Bro from the Chrome Web Store
  2. Open Options → Endpoints
  3. Add your webhook URL and API key (as X-API-Key header)
  4. Save and test — share any page and check your agent’s event stream

See the Browser Extension guide for the full walkthrough.

Choose how Context Bro shares content:

ModeHow It WorksBest For
Manual clipClick the icon or press Ctrl+Shift+KSharing specific pages on demand
Selection shareSelect text → floating button or right-clickSharing a specific paragraph or code snippet
Scheduled sharingAuto-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.

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 announcement

Your 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

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.

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.

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.