Metadata-Version: 2.5
Name: langchain-ictcontact
Version: 0.1.0
Summary: LangChain tools for ICTContact / ICTDialer — start, stop and monitor outbound call-center campaigns over the REST API
Project-URL: Homepage, https://ictcontact.com
Project-URL: Repository, https://github.com/ictinnovations/langchain-ictcontact
Project-URL: ICT Innovations, https://www.ictinnovations.com/
Author-email: ICT Innovations <tahir@ictinnovations.com>
License-Expression: MIT
License-File: LICENSE
Keywords: contact-center,ictcontact,ictdialer,langchain,predictive-dialer,telephony,voip
Requires-Python: <4.0,>=3.9
Requires-Dist: langchain-core>=0.3.0
Requires-Dist: requests>=2.31.0
Description-Content-Type: text/markdown

# langchain-ictcontact

LangChain tools for driving [ICTContact](https://ictcontact.com) — a multi-tenant contact
center and predictive dialer — and its hosted edition [ICTDialer.com](https://ictdialer.com).
They run the same framework, so this package drives either one. Let an agent start, stop and
monitor outbound campaigns.

## Install

```bash
pip install langchain-ictcontact
```

## Tools

`list_campaigns`, `get_campaign_status`, `get_campaign_summary`, `get_campaign_result`,
`start_campaign`, `stop_campaign`, `add_contact_to_campaign` — bundled by `ICTContactToolkit`.

## Usage

```python
from langchain_ictcontact import ICTContactToolkit

toolkit = ICTContactToolkit.from_credentials(
    base_url="https://your-ictcontact-server", api_token="...",  # or username=..., password=...
)
tools = toolkit.get_tools()
# pass `tools` to any LangChain agent
```

The tools are a client for an ICTContact / ICTDialer server, so they need a reachable install
and an API-enabled account (a Bearer API token, or an API username and password). `start_campaign`
begins live outbound calling, so gate it as you see fit.

---

Built and maintained by [ICT Innovations](https://www.ictinnovations.com/) — the team behind ICTContact, ICTDialer, [ICTFax](https://ictfax.org) and ICTPBX.
