Registry / ai-ml / tooluniverse

tooluniverse

JSON →
library1.1.11pypypi✓ verified 85d ago

A comprehensive collection of scientific tools for Agentic AI, offering integration with the ToolUniverse SDK and MCP Server to support advanced scientific workflows. Current version 1.1.11, requires Python >=3.10. Actively maintained with frequent releases.

pip install tooluniverse
INSTALL
IMPORT
SIG · TOOLUNIVERSE
T
tooluniverse
ai-mlpythonv1.1.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ToolUniverse
from tooluniverse import ToolUniverse
from tooluniverse.sdk import ToolUniverse
Incorrect submodule path; ToolUniverse class is at top-level package.
register_tool
from tooluniverse import register_tool
from tooluniverse.registry import register_tool
register_tool is available directly from tooluniverse.
ToolConfig
from tooluniverse import ToolConfig
from tooluniverse.schemas import ToolConfig
ToolConfig is exported at package level.

Initialize ToolUniverse client, list tools, and execute an example tool.

import os from tooluniverse import ToolUniverse # Initialize the client (set TOOLUNIVERSE_API_KEY env var) tu = ToolUniverse(api_key=os.environ.get('TOOLUNIVERSE_API_KEY', '')) # List available tools tools = tu.list_tools() print(tools[:2]) # Execute a tool (e.g., simple echo for demonstration) result = tu.execute_tool('echo', {'message': 'Hello, ToolUniverse!'}) print(result)
Debug
Known issues
breakingPackage renamed from 'tooluniverse-sdk' to 'tooluniverse' in version 1.0.0. Old package is deprecated.
fix
Uninstall old package: pip uninstall tooluniverse-sdk; install new: pip install tooluniverse
affects: <1.0.0
gotchaAPI key must be set via environment variable TOOLUNIVERSE_API_KEY or passed to ToolUniverse constructor. If missing, some tools will fail with authentication errors.
fix
Set TOOLUNIVERSE_API_KEY in environment or pass api_key argument.
affects: All
breakingPython 3.10+ required. Using older Python may cause import errors or dependency conflicts.
fix
Upgrade to Python 3.10 or higher.
affects: All
deprecatedThe old 'tooluniverse.sdk' module path is deprecated in v1.1.0+; use direct imports from 'tooluniverse'.
fix
Change imports: from tooluniverse import ToolUniverse instead of from tooluniverse.sdk import ToolUniverse
affects: >=1.1.0
gotchaSome tools require external APIs (e.g., ChEMBL, Orphanet) and may have rate limits or require additional authentication.
fix
Check tool documentation for specific prerequisites and rate limits.
affects: All
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'tooluniverse'
Package not installed or installed as 'tooluniverse-sdk' (old name).
fix
Run: pip install tooluniverse
ImportError: cannot import name 'ToolUniverse' from 'tooluniverse'
Incorrect import path; ToolUniverse is not directly in package if using old submodule.
fix
Ensure you are using the correct package version and import: from tooluniverse import ToolUniverse
tooluniverse.exceptions.AuthenticationError: API key not found
TOOLUNIVERSE_API_KEY environment variable not set or empty.
fix
Set TOOLUNIVERSE_API_KEY='your_key' in environment or pass api_key='your_key' to ToolUniverse constructor.
ValueError: Python 3.10 or higher is required
Running on Python 3.9 or older.
fix
Upgrade Python to 3.10+ and reinstall tooluniverse.
Upgrade
Version history
1.1.11latest on PyPI · released Mar 29, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
38
OpenAI (training)
1
Resources
tooluniverse — pip install tooluniverse · libregistry