Skip to main content

Specialist-first medical AI CLI with persistent sessions, markdown streaming, optional tools, and multi-provider model support.

Project description

doctorcli

Your AI Medical Specialist in the Terminal

PyPI version


What is doctorcli?

doctorcli is a user-friendly command-line tool that brings specialist-level medical AI directly to your terminal. It lets you chat with AI doctors from different specialties (like general medicine, cardiology, dermatology, pediatrics, and more), keep your conversations organized, and even use live research tools—all in a privacy-respecting, session-based workflow.


Why use doctorcli?

  • Specialist AI agents: Choose the right expert for your needs.
  • Easy session management: Start, resume, and organize your health conversations.
  • Multiple AI providers: Use OpenAI, Gemini, Claude, Groq, Ollama, LM Studio, and more.
  • Attach research tools: Add Wikipedia or Tavily for live lookups.
  • No cloud lock-in: Use local or cloud models.
  • Your data, your control: All chats and settings are stored locally.

How was it built?

doctorcli is built in Python and designed for reliability, privacy, and extensibility. It uses a modular architecture with support for multiple AI providers and research tools, and a rich terminal interface for a smooth user experience.


How do I install it?

Install from PyPI (recommended):

pip install doctorcli

Or install from source:

pip install .

How do I use it?

  1. Start the app:
    doctorcli
    
  2. Configure providers (first run):
    • Go to Settings to add your API keys for OpenAI, Gemini, etc., or use local models like Ollama.
    • Optionally, add a Tavily API key for live web search.
  3. Pick your specialist:
    • Choose from general medicine, dermatology, pediatrics, and more.
  4. Start a session:
    • Begin a new conversation or resume an old one. Sessions remember your chat history and context.
  5. Ask your questions:
    • Get structured, specialist-level answers. Attach tools for live research if needed.
  6. Use in-session commands:
    • /memory — See what the AI remembers.
    • /session — View session details.
    • /settings — Change providers or tools.
    • /exit — Leave the session.

Example: Quick Start

pip install doctorcli

doctorcli
  • Choose your specialist (e.g., General Medicine)
  • Start chatting!

Supported Providers & Tools

  • Cloud AI: OpenAI, Gemini, Claude, Groq
  • Local AI: Ollama, LM Studio
  • Tools:
    • Wikipedia (no API key needed)
    • Tavily (API key required for live web search)

Where is my data stored?

All your settings, sessions, and chat history are stored locally in your system's app data folder. Nothing is sent to any server except the AI/model providers you choose.


Thank You!

Thank you for using doctorcli! We hope it helps you get reliable, specialist-level answers and organize your health questions with confidence.


Want to contribute?

We welcome contributions, bug reports, and feature requests!


License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doctorcli-1.0.1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

doctorcli-1.0.1-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file doctorcli-1.0.1.tar.gz.

File metadata

  • Download URL: doctorcli-1.0.1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for doctorcli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a07c3fb624fc9af617cbb0c90be4c20b6511ed0a1c2888fb572f6470e38abd7e
MD5 a23a18fedfa68ec601556219c024b54b
BLAKE2b-256 2982a076d6a93a406af505a4d734896f34c3d426fee45d7d6b5af35dc9aee8ff

See more details on using hashes here.

File details

Details for the file doctorcli-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: doctorcli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for doctorcli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83783ad190eef31b136a4d341e3f47f72137ccec6e1149b3142b25de7affa2db
MD5 38886718a7b71eedacad619102d3ac82
BLAKE2b-256 ba814eb1a4b555f84f828fc62b2ca8e6e8ac56fed605d2739e8bffa908057f25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page