A newer version of the Gradio SDK is available:
6.1.0
Quickstart Guide
Get DeepBoner running in 5 minutes.
Prerequisites
- Python 3.11+ installed
- Repository cloned and dependencies installed (see Installation)
1. Start the Application
# From the repository root
uv run python src/app.py
You should see:
Running on local URL: http://127.0.0.1:7860
2. Open the UI
Navigate to http://localhost:7860 in your browser.
You'll see a chat interface with:
- Input field for research questions
- Optional API key input (for premium features)
- Research results display
3. Ask Your First Question
Try one of these example queries:
What drugs improve female libido post-menopause?
Clinical trials for ED alternatives to PDE5 inhibitors?
Evidence for testosterone therapy in women with HSDD?
4. Understanding the Output
DeepBoner will:
Search multiple biomedical databases:
- PubMed (peer-reviewed literature)
- ClinicalTrials.gov (active/completed trials)
- Europe PMC (preprints and papers)
- OpenAlex (scholarly metadata)
Judge evidence quality using LLM
Loop if more evidence is needed
Synthesize a research report with citations
You'll see status updates as each phase completes.
5. Free vs Premium Mode
Free Mode (No API Key)
- Uses HuggingFace Inference API
- Model: Qwen 2.5 7B Instruct
- Slower but fully functional
Premium Mode (With OpenAI Key)
- Enter your OpenAI API key in the UI
- Uses GPT-5 for better synthesis
- Faster and more detailed reports
To use premium mode:
- Get an API key from OpenAI
- Enter it in the "OpenAI API Key" field
- Your queries will automatically use GPT-5
6. Using MCP Tools
DeepBoner exposes MCP (Model Context Protocol) tools for integration with Claude Desktop and other clients.
MCP Server URL
http://localhost:7860/gradio_api/mcp/
Available Tools
search_pubmed- Search peer-reviewed literaturesearch_clinical_trials- Search clinical trialssearch_europepmc- Search Europe PMCsearch_all_sources- Search all sources with deduplication
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"deepboner": {
"url": "http://localhost:7860/gradio_api/mcp/"
}
}
}
Example Scripts
For programmatic usage, see the example scripts:
# Search demo
uv run python examples/search_demo/run_search.py
# Full orchestrator demo
uv run python examples/orchestrator_demo/run_agent.py
# Multi-agent demo (requires OpenAI key)
uv run python examples/orchestrator_demo/run_magentic.py
Next Steps
- Configuration Guide - Customize settings
- MCP Integration - Set up Claude Desktop
- Architecture Overview - Understand how it works
Troubleshooting
Slow first response?
- First query loads ML models (sentence-transformers)
- Subsequent queries are faster
No results?
- Check your internet connection
- External APIs may have rate limits
Rate limit errors?
- Add NCBI_API_KEY for higher PubMed limits
- Wait and retry
See Troubleshooting for more help.