Metadata-Version: 2.4
Name: dhti-elixir-base
Version: 0.6.0
Summary: DHTI Elixir Base
Project-URL: Documentation, https://github.com/dermatologist/dhti
Project-URL: Homepage, https://nuchange.ca
Project-URL: Repository, https://github.com/dermatologist/dhti-elixir-base
Author-email: Bell Eapen <github_public@gulfdoctor.net>
License-Expression: MPL-2.0
License-File: AUTHORS.md
License-File: LICENSE
Keywords: Gen AI,dhti,python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Healthcare Industry
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <4.0,>=3.10
Requires-Dist: agency
Requires-Dist: fastapi
Requires-Dist: fhirclient
Requires-Dist: fhirpathpy
Requires-Dist: fhiry
Requires-Dist: httpx
Requires-Dist: kink
Requires-Dist: langchain-community
Requires-Dist: langchain-core
Requires-Dist: langchain-mcp-adapters
Requires-Dist: langgraph
Requires-Dist: langserve
Requires-Dist: mcp
Requires-Dist: python-dotenv
Description-Content-Type: text/markdown

# [DHTI ELIXIR BASE](https://github.com/dermatologist/dhti)


[![Release](https://img.shields.io/github/v/release/dermatologist/dhti-elixir-base)](https://img.shields.io/github/v/release/dermatologist/dhti-elixir-base)
[![Build status](https://img.shields.io/github/actions/workflow/status/dermatologist/dhti-elixir-base/pytest.yml?branch=develop)](https://github.com/dermatologist/dhti-elixir-base/actions/workflows/pytest.yml?query=branch%3Adevelop)
[![codecov](https://codecov.io/gh/dermatologist/dhti-elixir-base/branch/develop/graph/badge.svg)](https://codecov.io/gh/dermatologist/dhti-elixir-base)
[![Commit activity](https://img.shields.io/github/commit-activity/m/dermatologist/dhti-elixir-base)](https://img.shields.io/github/commit-activity/m/dermatologist/dhti-elixir-base)
[![Documentation](https://badgen.net/badge/icon/documentation?icon=libraries&label)](https://dermatologist.github.io/dhti-elixir-base/)

Base library for creating new [DHTI](https://github.com/dermatologist/dhti) Elixirs.

[What is DHTI?](https://github.com/dermatologist/dhti) DHTI (Digital Health Tooling Interface) provides building blocks for interoperable, healthcare-focused AI tooling. This repository is the minimal foundation you extend to build your own "Elixir"—a reusable, testable component (chain/agent/server) that plugs into the wider DHTI ecosystem.

Status: WIP, but stable enough to scaffold new Elixirs and iterate quickly.

<!-- gh-dependents-info-used-by-start -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=13&color=informational&logo=slickpic)](https://github.com/dermatologist/dhti-elixir-base/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->


## Overview

This package exposes lightweight, composable base classes:

- `BaseChain` – a LangChain-compatible chain scaffold with sensible defaults.
- `BaseAgent` – an agent scaffold that can bind tools and work with LangGraph.
- `BaseGraph`, `BaseLLM`, `BaseServer`, `BaseSpace`, and `BaseDhtiModel` – helpers to organize more complex Elixirs.

Use these to rapidly create a new Elixir with a consistent structure, tests, and docs.


## Project layout

- `src/dhti_elixir_base/` – base classes and minimal utilities.
- `tests/` – example tests to keep your Elixir robust.
- `examples/` – quick patterns for chains/graphs.
- `docs/` – MkDocs configuration for documentation.


## Learn more

- DHTI home: https://github.com/dermatologist/dhti
- This template docs: https://dermatologist.github.io/dhti-elixir-base/

## Give us a star ⭐️
If you find this project useful, give us a star. It helps others discover the project.

## Contributors

* [Bell Eapen](https://nuchange.ca) | [![Twitter Follow](https://img.shields.io/twitter/follow/beapen?style=social)](https://twitter.com/beapen)

