Spaces:
Sleeping
Sleeping
|
Download README.md from BonusLockSMith/web-research-agent: direct link, hf CLI and curl.
- Browser
- Download file 2.61 kB
-
https://huggingface.co/spaces/BonusLockSMith/web-research-agent/resolve/main/README.md
- Command line
-
hf download hf://spaces/BonusLockSMith/web-research-agent/README.md
-
curl -L -o README.md https://huggingface.co/spaces/BonusLockSMith/web-research-agent/resolve/main/README.md
2.61 kB
| title: Web Research Agent | |
| emoji: π | |
| colorFrom: gray | |
| colorTo: red | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| # Web Research Agent π | |
| Ask a question β get a **cited briefing** built from live web sources you can verify β then **dig deeper** | |
| into any claim, section, or source, in your own words, and it appends an expandable research branch. | |
| > Project **#13** of the *"30 AI Projects in 15 Days"* build-in-public challenge. | |
| > Focus: **multi-step agent orchestration** (plan β search β read β reflect β cite). | |
| ## What makes it different | |
| Most research tools hand you a static answer. This one is **explorable**: click *dig deeper* on any | |
| citation, highlighted sentence, or source, type what you want investigated, and it spawns a scoped | |
| research pass rendered inline as a branch β which you can dig into again. A recursive research tree. | |
| ## How it works (honest by construction) | |
| - **Plan** β the question is broken into targeted search queries. | |
| - **Search** β keyless, multi-source: general web (DuckDuckGo / SearXNG / Bing) + Google News, and for | |
| the *technical* area, arXiv + GitHub. No API keys required. | |
| - **Read** β top results are fetched and extracted to clean text (redirects resolved, SSRF-guarded). | |
| - **Reflect** β deep mode critiques its own draft for gaps and runs another round. | |
| - **Cite** β the writer uses ONLY the sources it actually read, cites every claim inline `[n]`, and | |
| says what's missing rather than inventing. Citations render as **domain chips**; click one for the | |
| supporting passage. | |
| ## Modes & areas | |
| - **Modes:** `quick` (search β read β cited answer) Β· `deep` (plan β gather β reflect β report). | |
| - **Areas:** `web` Β· `opportunity` Β· `technical` (adds arXiv + GitHub) Β· `competitive` Β· `client` β | |
| each blends the right sources. | |
| ## Run it | |
| ```bash | |
| pip install -r requirements.txt | |
| python app.py # http://127.0.0.1:7860 (web UI) | |
| python agent.py "your question" --mode deep --area technical # CLI | |
| # Backend: local Ollama by default (free/private); set RESEARCH_LLM_BACKEND=claude + ANTHROPIC_API_KEY for cloud. | |
| # Optional: RESEARCH_SAVE=1 banks each brief to a memory store so research compounds (local use). | |
| ``` | |
| ## Two tiers | |
| - **This hosted demo** narrates with a hosted model, keyless search. | |
| - **GritAI Studio** runs the whole thing on your own local GPU fleet β free per-run, fully private β | |
| and can bank every brief to your own knowledge base so research compounds over time. | |
| --- | |
| Built by **Robert Lucyk** Β· [GritAI Solutions](https://gritai.solutions) Β· part of the 30-in-15 challenge. | |