OpenMed Agent — AI-powered medical assistant with TUI, agentic workflows, and remote NLP inference.
Project description
OpenMed Agent
AI-powered medical assistant with interactive TUI, agentic workflows, and remote NLP inference
OpenMed Agent provides an intelligent terminal interface for clinical workflows — entity extraction, PII de-identification, and medical reasoning — powered by LLMs and remote NLP inference.
Quick Start
Installation
# Recommended: install the latest binary release
curl -fsSL https://github.com/openmed-labs/openmed-agent/releases/latest/download/install.sh | bash
# Install a pinned binary release
VERSION=0.0.1
curl -fsSL "https://github.com/openmed-labs/openmed-agent/releases/download/v${VERSION}/install.sh" | bash -s -- "${VERSION}"
Python Installation
# Install with TUI support
pip install openmed-agent[tui]
# Or install everything
pip install openmed-agent[all]
Launch the Agent TUI
openmed # Launch interactive agent TUI
openmed agent # Explicit agent command
Authenticate (for Codex models)
openmed login # OAuth flow for Codex authentication
Features
- Interactive Agent TUI — Rich terminal interface for clinical analysis and medical reasoning
- Remote NLP Inference — NER and PII tools connect to remote inference endpoints via Docker
- MCP Server Integration — Connect to medical data sources (PubMed, ICD-10, NPI, CMS)
- Agentic Workflows — Plan-based execution with skill-driven task automation
- Configuration Profiles —
dev/prod/test/fastpresets with flexible overrides - PHI Handling Modes —
full,deid,strictmodes for HIPAA-aware workflows
CLI Commands
openmed # Launch agent TUI (default)
openmed agent # Launch agent TUI with options
openmed config show # Show current configuration
openmed config profiles # List available profiles
openmed mcp list # List MCP server configuration
openmed mcp enable # Enable MCP servers
openmed mcp doctor # Check MCP server connectivity
openmed login # Authenticate via OAuth
openmed oauth status # Check authentication status
Remote Inference
NER and PII tools require a remote inference endpoint. Set the environment variable:
export OPENMED_INFERENCE_URL=http://localhost:8000
See services/inference/ for the Docker-based inference server.
Binary Releases
Standalone release archives are built by binary-release.yml and published with:
- platform tarballs such as
openmed-0.0.1-darwin-arm64.tar.gz openmed-manifest.jsonforinstall.shopenmed-checksums.txtfor manual verification
To build a release artifact locally:
uv sync --extra all --extra build
uv run --no-sync python scripts/release/build_binary.py
Contributing
We welcome contributions! Whether it's bug reports, feature requests, or pull requests.
License
OpenMed is released under the Apache-2.0 License.
Citation
If you use OpenMed in your research, please cite:
@misc{panahi2025openmedneropensourcedomainadapted,
title={OpenMed NER: Open-Source, Domain-Adapted State-of-the-Art Transformers for Biomedical NER Across 12 Public Datasets},
author={Maziyar Panahi},
year={2025},
eprint={2508.01630},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2508.01630},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openmed_agent-0.0.1.tar.gz.
File metadata
- Download URL: openmed_agent-0.0.1.tar.gz
- Upload date:
- Size: 258.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d771085b65394411da6f7dea58c2aca94d9c4b7a4f77e00a2f22159dc38c367f
|
|
| MD5 |
c99776be263213d6d7e4560535d8c04c
|
|
| BLAKE2b-256 |
ecf79ca343cf9b7fcb6521f119c837ef398544cb7de1c270434d7735868791ea
|
File details
Details for the file openmed_agent-0.0.1-py3-none-any.whl.
File metadata
- Download URL: openmed_agent-0.0.1-py3-none-any.whl
- Upload date:
- Size: 320.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b64c3d5e3cbbc2998493203fe9f200e1829f135aa582822b42355ddf8c45014a
|
|
| MD5 |
afd0d61ee098b84bff4b417d6df12984
|
|
| BLAKE2b-256 |
ffffbe55a33fe55bb660125069ee1e7f8ea8239e27c5fdd5060fbe677b1e8a9f
|