Metadata-Version: 2.4
Name: zeta-mlx-langchain
Version: 0.3.2
Summary: LangChain integration for Zeta MLX
Keywords: mlx,langchain,llm,apple-silicon
Author: ZetaLab
Author-email: zeta9044@gmail.com
Requires-Python: >=3.10,<3.13
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: langchain-core (>=1.1,<2.0)
Requires-Dist: zeta-mlx-core (>=0.3.2,<0.4.0)
Requires-Dist: zeta-mlx-inference (>=0.3.2,<0.4.0)
Project-URL: Homepage, https://github.com/zeta9044/zeta-mlx
Project-URL: Repository, https://github.com/zeta9044/zeta-mlx
Description-Content-Type: text/markdown

# zeta-mlx-langchain

LangChain integration for Zeta MLX platform.

## Installation

```bash
pip install zeta-mlx-langchain
```

## Features

- **ChatModel**: LangChain BaseChatModel implementation
- **Embeddings**: LangChain Embeddings implementation
- **Streaming**: Async streaming support

## Usage

```python
from zeta_mlx.langchain import ChatZetaMLX

# Create chat model
llm = ChatZetaMLX(model="qwen3-8b")

# Use with LangChain
from langchain_core.messages import HumanMessage

response = llm.invoke([HumanMessage(content="Hello!")])

# Streaming
for chunk in llm.stream([HumanMessage(content="Tell me a story")]):
    print(chunk.content, end="")
```

## Links

- [GitHub](https://github.com/zeta9044/zeta-mlx)
- [Documentation](https://github.com/zeta9044/zeta-mlx#readme)

