Metadata-Version: 2.4
Name: langchain-odile
Version: 0.1.0
Summary: LangChain tools for Odile Direct
Author-email: Odile Labs <hello@odilelabs.com>
License: MIT
Project-URL: Homepage, https://odilelabs.com/developers
Project-URL: Source, https://github.com/tolga-boop/langchain-odile
Keywords: langchain,mcp,odile,business,phone
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: langchain-core>=0.3
Dynamic: license-file

# langchain-odile

LangChain tools for finding a business by phone and sending requests through Odile Direct.

```sh
pip install langchain-odile
```

```python
from langchain.agents import create_agent
from langchain_odile import OdileDirectToolkit

# Supply a LangChain-compatible model and, optionally, a Direct API key.
toolkit = OdileDirectToolkit(api_key="YOUR_API_KEY")
tools = toolkit.get_tools()
agent = create_agent(model=model, tools=tools)
result = agent.invoke({
    "messages": [{"role": "user", "content": "Find +15615550123"}]
})
print(result)
```

Lookups need no API key. See the [developer documentation](https://odilelabs.com/developers)
and [pricing](https://odilelabs.com/pricing).
