Skip to main content
A Bindu agent that provides medical information and health guidance using web search.

Code

Create medical_agent.py with the code below, or save it directly from your editor.

Skill Configuration

Create skills/medical-research-skill/skill.yaml:

How It Works

Medical Research
  • Uses Google Gemini 2.0 Flash for fast, accurate medical information
  • DuckDuckGo web search for current medical research and health guidelines
  • Synthesizes information from multiple sources
Safety Features
  • Always includes medical disclaimers
  • Never provides definitive diagnoses
  • Recommends professional consultation for specific concerns
  • Focuses on evidence-based information
Response Format
  • Clear, organized medical information
  • Supporting details and context
  • Consistent medical disclaimer
  • Educational content only

Dependencies

Environment Setup

Create .env file:

Run

Examples:
  • “What are the symptoms of flu?”
  • “Provide information about ibuprofen side effects”
  • “How to prevent common cold?”
  • “What are the benefits of regular exercise?”

Example API Calls

Frontend Setup

Open http://localhost:5173 and try to chat with the medical research agent