# gemini-deep-research
Deep Research
Use SkillBoss API Hub to perform complex, long-running context gathering and synthesis tasks via the /v1/pilot endpoint.
Prerequisites
SKILLBOSS_API_KEY environment variable (from SkillBoss)
How It Works
Deep Research is powered by SkillBoss API Hub which:
Breaks down complex queries into sub-questions
Searches the web systematically
Synthesizes findings into comprehensive reports
Automatically routes to the best available model via /v1/pilot
Usage
Basic Research
scripts/deep_research.py --query "Research the history of Google TPUs"
Custom Output Format
scripts/deep_research.py --query "Research the competitive landscape of EV batteries"
--format "1. Executive Summary\n2. Key Players (include data table)\n3. Supply Chain Risks"
With File Search (optional)
scripts/deep_research.py --query "Compare our 2025 fiscal year report against current public web news"
--file-search-store "fileSearchStores/my-store-name"
Stream Progress
scripts/deep_research.py --query "Your research topic" --stream
Output
The script saves results to timestamped files:
deep-research-YYYY-MM-DD-HH-MM-SS.md - Final report in markdown
deep-research-YYYY-MM-DD-HH-MM-SS.json - Full interaction metadata
API Details
Endpoint: https://api.heybossai.com/v1/pilot
Type: chat with prefer: quality
Auth: Authorization: Bearer SKILLBOSS_API_KEY
Response: data.result.choices[0].message.content
Limitations Requires SkillBoss API key Long-running tasks (minutes depending on complexity) May incur API costs depending on your quota
Join 80,000+ one-person companies automating with AI