Skip to content
Aryagarg23Public

About

Agentic browser that supports curiosity instead of replacing it — agent crews, Neo4j memory graph, intent detection from your own history. Built at WeaveHacks 2025 (W&B x Google).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

48 Commits

Folders and files

Repository files navigation

Gyrus

An agentic browser that tries to make you a sharper researcher instead of just outsourcing the thinking to an agent.

Built in 36-ish hours at WeaveHacks — Agent Protocols Hackathon (Weights & Biases + Google), San Francisco (July 2025).

Gyrus started life as Clay — we rebranded for the hackathon in case Weights & Biases minded the name. The research behind it later evolved into Friction, the same question taken to the OS and hardware level.

Demo_Gyrus.mov

What it does

Gyrus watches what you search and builds a memory graph of it in Neo4j: queries, the concepts they cluster into, and the links you click. Every query goes through an intent classifier first — Research, Answer, Transactional, News, or Navigational — and what happens next depends on the intent. A Research or News query gets handed to a CrewAI "crew" that pulls from Exa, arXiv, Semantic Scholar, GDELT, or NewsAPI and comes back with a consolidated set of links. Everything else just passes through.

The repo includes CHAAP, a best-effort regex scrubber used on some classification and graph paths. It is not a privacy guarantee: the current /api/search route passes the original query to News or Research crews after classification, and those paths can call external services. Do not use the prototype with sensitive queries.

The browser itself is an Electron app with a custom webview shell, not a wrapper around Chrome's UI.

How it works

  • Intent detection — backend/src/fivedvector.py scores each query against two signal sources: a lookup over past DB behavior, and a zero-shot DeBERTa classifier (backend/tools/intent_zero_shot_classifier.py, ensembled over four hypothesis templates) — and takes whichever source is most confident. model-finetune/roberta.py is a separate Colab notebook that fine-tunes RoBERTa on the ORCAS-I-2M query dataset (~2M queries) for the same intent split, to check the zero-shot approach against a supervised baseline.
  • Memory graph — backend/src/query_orch.py embeds each query's concept with sentence-transformers (MiniLM) and writes it into Neo4j as Concept, Query, and Link nodes, connected by SEARCHED_BY and CLICKED edges. A new concept merges into an existing one above a cosine-similarity threshold instead of duplicating it.
  • Crews — backend/MCP/newscrew_http.py and researchcrew.py are CrewAI agents wired to Exa, arXiv, Semantic Scholar, GDELT, and NewsAPI through an MCP server, with Weave tracking on the CrewAI runs.
  • Privacy experiment — backend/tools/chaap_anonymize.py replaces several common PII patterns. Coverage is limited, and it is not consistently applied before external calls (see the note above).
  • Frontend — browser/ is an Electron app (main.js, preload.js) talking to the Flask backend (backend/src/app.py) over REST.

Running the prototype

The Electron shell can be started from browser/ with npm install followed by npm start. Search actions expect the Python API at http://127.0.0.1:5000; the API in turn depends on configured Neo4j, API credentials, and a Hugging Face model that downloads on first use. The repository does not include a one-command full-stack setup. Configuration names used by the backend include NEO4J_API_URL, NEO4J_USER, NEO4J_PASSWORD, OPENAI_API_KEY, EXA_API_KEY, NEWS_API_KEY, S2_API_KEY, and SERPAPI_API_KEY.

browser/fake_backend/ is a separate mock service on port 3001 with a different endpoint. The current Electron client calls the Flask API on port 5000, so the mock service does not power its search flow.

Prototype

prototype/crew_routing.py draws a concept sketch of the intended routing architecture — no invented numbers, just boxes and arrows. The backend code classifies query text, consults the memory graph, and routes Research or News intents to crews. The diagram is illustrative; not every depicted signal or assist action is implemented end to end.

The diagram needs Python and Matplotlib. Run it from the repository root:

python -m pip install matplotlib
python prototype/crew_routing.py

Gyrus routing: from a browsing signal to an assist action

Team

Links

More hackathon builds

  • WhiteBox — traceable GraphRAG over medical literature (Future of Data 2024, 1st place)
  • G-Code-Assembler — G-code assembly + STL visualization (MakeUC 2024, Kinetic Vision winner)
  • Terminally-Addicted — Spotify, GitHub, GPT and YouTube without leaving the terminal (HackOHI/O 2024)
  • Memento — digital memory journal for Alzheimer's patients and caregivers (RevolutionUC 2024, 3rd overall)
  • Buycott — barcode scan -> parent company -> NLP stance on social issues (MakeUC 2023, 1st overall)
  • SignLink — video calls with real-time ASL fingerspelling to text (BoilerMake X 2023)
  • Kuka Arm Viz — interactive 7-DOF robot arm in WebGL with inverse kinematics (RevolutionUC 2023)
  • Hi-Five — anonymous friend-matching on OCEAN personality vectors (SASEhack 2024)
  • Friction — speculative OS + hardware that protects flow state with physical friction (Fig Build 2026)

About

Agentic browser that supports curiosity instead of replacing it — agent crews, Neo4j memory graph, intent detection from your own history. Built at WeaveHacks 2025 (W&B x Google).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages