Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HealthcareAgent

Power your healthcare AI agents with reliable healthcare APIs through one simple Python interface.

PyPI Python Downloads


Overview

HealthcareAgent is an open-source Python package that provides a unified interface for integrating healthcare-related APIs into AI-powered applications. It is designed to simplify the development of intelligent healthcare solutions by offering a consistent, easy-to-use API that abstracts the complexity of interacting with multiple healthcare data sources.

With the rapid adoption of Large Language Models (LLMs) and AI agents in healthcare, developers increasingly need reliable access to structured medical, nutritional, and wellness data. HealthcareAgent serves as a bridge between AI applications and trusted healthcare APIs, enabling developers to build intelligent systems without spending time implementing and maintaining individual API integrations.

The package is suitable for a wide range of healthcare applications, including nutrition assistants, wellness coaches, clinical decision support tools, medication safety checkers, patient engagement platforms, and healthcare chatbots. Its modular architecture also makes it easy to extend with additional healthcare services as new APIs become available.

Whether you're developing a proof of concept, conducting healthcare AI research, or building production-ready applications, HealthcareAgent provides a lightweight, extensible foundation for creating reliable and scalable healthcare AI solutions.

Features

  • Unified API for healthcare data services
  • Simple Python interface
  • Nutrition and food database integration (USDA)
  • Drug and supplement interaction checking
  • Designed for AI agents and LLM-powered applications
  • Lightweight and easy to integrate
  • Extensible architecture for adding new healthcare APIs

Supported APIs

API Description
USDA FoodData Central Search foods and retrieve nutritional information
Drug & Supplement Interaction Checker Check potential interactions between supplements and medications

Installation

pip install HealthcareAgent

Quick Start

import HealthcareAgent as ha

result = ha.api(
    api_name="food_calories_usda",
    query="Starbucks",
    topk=10
)

print(result["item_list_pretty"])

Example Use Cases

HealthcareAgent can be used to build:

  • 🥗 AI Nutrition Assistant
  • 💊 Medication & Supplement Safety Checker
  • 🏥 Clinical Decision Support Tools
  • 🤖 Healthcare Chatbots
  • 📋 Wellness Coaching Applications
  • 📊 Healthcare Analytics Dashboards

Example Output

Starbucks Chilled Coffee Drink

Energy: 71 kcal
Protein: 2.19 g
Fat: 1.09 g
Carbohydrates: 12.9 g
Sugars: 11.2 g
Calcium: 85 mg
...

Roadmap

  • More healthcare APIs
  • Medical knowledge integrations
  • FHIR support
  • Electronic Health Record (EHR) integrations
  • Expanded drug interaction database
  • Additional nutrition and wellness datasets

Contributing

Contributions are welcome!

If you'd like to improve HealthcareAgent, feel free to:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Submit a Pull Request

Acknowledgements

  • USDA FoodData Central
  • Healthcare API providers
  • Open-source AI community

About

An extensible Python library for healthcare and nutrition applications, featuring official USDA FoodData Central integration and an optimized local Trie-based brand query matching system.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages