Metadata-Version: 2.4
Name: llm-tool-runtime
Version: 0.1.2
Summary: Tool calling runtime for text-only LLMs with LangChain support
Author-email: Your Name <your.email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/Anky9972/llm-tool-runtime
Project-URL: Documentation, https://github.com/Anky9972/llm-tool-runtime#readme
Project-URL: Repository, https://github.com/Anky9972/llm-tool-runtime
Keywords: llm,tool-calling,langchain,ai,agents
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dotenv>=0.9.9
Provides-Extra: langchain
Requires-Dist: langchain-core>=1.2.5; extra == "langchain"
Provides-Extra: google
Requires-Dist: langchain-google-genai>=4.1.2; extra == "google"
Provides-Extra: openai
Requires-Dist: langchain-openai>=1.1.6; extra == "openai"
Provides-Extra: ollama
Requires-Dist: langchain-ollama>=1.0.1; extra == "ollama"
Provides-Extra: all
Requires-Dist: langchain-core>=1.2.5; extra == "all"
Requires-Dist: langchain-google-genai>=4.1.2; extra == "all"
Requires-Dist: langchain-openai>=1.1.6; extra == "all"
Requires-Dist: langchain-ollama>=1.0.1; extra == "all"
Provides-Extra: dev
Requires-Dist: pytest>=9.0.2; extra == "dev"
Requires-Dist: pytest-cov>=7.0.0; extra == "dev"
Dynamic: license-file

# llm-tool-runtime

A lightweight, extensible runtime for calling LLM tools and chaining them together. Installable from PyPI for easy integration into your Python projects.

## Installation

Install the core package:

```bash
pip install llm-tool-runtime
```

### Optional Model Support

Some LLM providers require extra dependencies. You can install them with extras:

- **Google Gemma**:
  ```bash
  pip install "llm-tool-runtime[google]"
  ```
- **OpenAI**:
  ```bash
  pip install "llm-tool-runtime[openai]"
  ```
- **Anthropic**:
  ```bash
  pip install "llm-tool-runtime[anthropic]"
  ```
- **Ollama**:
  ```bash
  pip install "llm-tool-runtime[ollama]"
  ```
- **Together**:
  ```bash
  pip install "llm-tool-runtime[together]"
  ```
- **All supported providers**:
  ```bash
  pip install "llm-tool-runtime[all]"
  ```

## Usage

Import and use the runtime in your Python code:

```python
from llm_tool_runtime import ToolRuntime
# ... use runtime to register and call tools ...
```

See [example.py](https://github.com/Anky9972/llm_tool_runtime/blob/main/example.py) and [example_chain.py](https://github.com/Anky9972/llm_tool_runtime/blob/main/example_chain.py) for usage examples.

## Features
- Register and call tools with LLMs
- Chain tools together for complex workflows
- Extensible registry for custom tools
- Error handling and type safety

## Documentation
- [Project README and Contribution Guide](https://github.com/Anky9972/llm_tool_runtime/blob/main/README.md)
- [PyPI Project Page](https://pypi.org/project/llm-tool-runtime/)

## Contributing

Contributions are welcome! Please see the [main README](https://github.com/Anky9972/llm_tool_runtime/blob/main/README.md) for guidelines.

## License

This project is licensed under the terms of the MIT License. See the LICENSE file for details.

## Support

For issues, suggestions, or questions, please open an issue on the [GitHub repository](https://github.com/Anky9972/llm_tool_runtime).
