Installation¶
This guide provides detailed instructions for installing ToolRegistry with different feature sets.
Basic Installation¶
Install ToolRegistry using pip:
This installs the core functionality needed for basic tool registration and execution.
Installation with Optional Dependencies¶
ToolRegistry supports various integrations that require additional dependencies. You can install these using the following commands:
MCP Support¶
For Model Context Protocol (MCP) integration:
OpenAPI Support¶
For OpenAPI/Swagger integration:
Note
Since v0.8.x, the openapi extra has no external dependencies — all functionality is provided by built-in vendored modules. The extra is kept for forward compatibility.
LangChain Support¶
For LangChain tool integration:
All Features¶
To install all optional dependencies:
Development Installation¶
If you want to contribute to ToolRegistry or need the latest development version:
Verification¶
To verify your installation, run:
Requirements¶
- Python 3.10 or higher
- Operating System: Windows, macOS, or Linux
Troubleshooting¶
Common Issues¶
Import Error: If you encounter import errors, ensure you have installed the correct optional dependencies for the features you're trying to use.
Version Conflicts: If you experience dependency conflicts, consider using a virtual environment:
python -m venv toolregistry-env
source toolregistry-env/bin/activate # On Windows: toolregistry-env\Scripts\activate
pip install toolregistry[all]
Getting Help¶
If you encounter issues during installation:
- Check the GitHub Issues
- Create a new issue with your system information and error details
- Join our community discussions