Neural Hive: The Multi-Agent Email Cognition Chrome Plugin
Inspiration
Traditional inboxes treat messages as isolated items—rigidly sorted by sender or date. But human decision-making relies on layers of context: who we know, our current goals, past behaviors, and evolving priorities. Inspired by cognitive science, Neural Hive brings this layered reasoning to email: a suite of specialized agents that together mimic how our brains filter, cluster, and recall information—making your inbox a dynamic mirror of who you are and what matters.
What It Does
Neural Hive transforms inbox chaos into a living ecosystem of B2C-first, user-centric intelligence—with a built-in backdoor B2B data real-estate play:
Session-Scoped Bucketing
- Dynamically suggests 5–7 context-aware buckets (Work, Bills, Friends, Newsletters, Shopping) on each sync via Claude.
- Assigns every thread to the right bucket for one-click navigation.
- Dynamically suggests 5–7 context-aware buckets (Work, Bills, Friends, Newsletters, Shopping) on each sync via Claude.
Persistent User Memory (Data Real Estate)
- Session Memory: ephemeral cache of current buckets & assignments.
- Long-Term Memory: builds a rich profile of personal traits and behaviors—“jobSearch,” “foodDeliveryUser,” “newsletterIgnore”—with first-seen timestamps.
- B2C Experience: users enjoy tailored inbox workflows, actionable insights, and privacy-first controls.
- B2B Backdoor: opt-in anonymized & aggregated memory data exposed via marketing APIs—enabling third-party advertisers and enterprise partners to leverage this data real estate for hyper-targeted campaigns.
- Session Memory: ephemeral cache of current buckets & assignments.
User-Empowerment Features
- One-Click Actions: mark all in “Bills” unread, archive “Newsletters,” or snooze “Work” until Monday.
- Custom Buckets & Rules: define your own categories and keyword filters.
- Explainability: “Why this bucket?” gives a Claude-powered rationale.
- One-Click Actions: mark all in “Bills” unread, archive “Newsletters,” or snooze “Work” until Monday.
Contextual & Social Awareness
- Calendar & Location tags via Context Agent so “Lunch invite” or “Tomorrow’s demo” threads surface at the top.
- Social Graph flags VIP contacts (CEO, direct reports, close friends).
- Calendar & Location tags via Context Agent so “Lunch invite” or “Tomorrow’s demo” threads surface at the top.
Intent & Execution
- Intent Decoder parses each thread’s purpose (approve budget, schedule meeting, delegate task).
- Execution Specialists draft replies, schedule invites, archive or snooze—directly from the sidebar.
- Intent Decoder parses each thread’s purpose (approve budget, schedule meeting, delegate task).
What Users Can Achieve
With Neural Hive’s locally-installed Chrome plugin, users can:
- Navigate complex inboxes effortlessly by clicking on dynamic buckets.
- Automate routine workflows: batch-archive newsletters, bulk-snooze low-priority items, auto-schedule follow-ups.
- Discover self-insights: “You’ve been in job-search mode for 2 weeks,” or “You order delivery every Friday.”
- Delegate smarter: route high-intent threads and let the system handle the rest.
- Maintain trust: inspect the “decision journal” at any time.
Memory Cache: Data Real Estate & Marketing Power
- Session Memory lives in-browser for lightning-fast sorting.
- Long-Term Memory lives on our FastAPI backend, capturing:
- Behavioral Traits (response speed, newsletter engagement)
- Life Events (job searches, shopping habits)
- Preferences (meeting times, tone)
- Behavioral Traits (response speed, newsletter engagement)
- B2C-First: all data collection is opt-in, transparent, and under user control.
- B2B Backdoor: with explicit consent, aggregated insights fuel third-party marketing and advertising APIs—e.g., “Target users who order food online thrice weekly” or “Reach users most active Monday mornings.”
How We Built It
Chrome Plugin Frontend
- JavaScript sidebar injected into Gmail, using local storage for session memory and OAuth for real data access.
Backend API
- FastAPI + Uvicorn with endpoints for
/ingest,/observe,/memory,/explain - Claude Integration for every core decision: bucket naming, thread assignment, trait extraction, and explanations.
- FastAPI + Uvicorn with endpoints for
Modular Agents
- Ingestion Agent: normalizes raw email threads
- Observer Agent: session bucketing + long-term trait detection
- Context Agent: calendar & location enrichment
- Social Graph Agent: relationship scoring
- Intent & Execution Agents: decode purpose + take action
- Ingestion Agent: normalizes raw email threads
Challenges We Overcame
- Agent Coordination: lightweight JSON protocols to keep layers decoupled.
- UX vs. Latency: caching Claude calls for instant sidebar updates.
- Privacy Balance: transparent opt-in for user memory and B2B data sharing.
- Graceful Degradation: offline mode and manual overrides when AI services are unavailable.
Accomplishments We’re Proud Of
- True Multi-Agent Flow: five specialized components collaborating in real time.
- Adaptive Personalization: zero-config setup that learns and evolves.
- Data Real Estate: turning email habits into a marketable, privacy-guarded asset.
- Plugin-First: seamless Gmail integration, local install, immediate value.
What’s Next
- Cross-Channel Expansion: add Slack, SMS, and social feeds.
- Advanced Ad-Tech APIs: provide anonymized trait endpoints for enterprise marketing.
- Team Models: shared cognitive profiles for group workflows.
- Predictive Intelligence: surface the right email before the user even asks.
Neural Hive is the first email plugin that’s B2C-friendly yet offers a B2B backdoor into rich, consented data real estate—powering both personal productivity and next-generation marketing.
Log in or sign up for Devpost to join the conversation.