+ Give Your Agent Access to Every Tool +
++ Add two tools to your AI SDK agent and instantly access thousands of tools from the + TPMJS registry. No configuration, no manual imports—just dynamic tool discovery and + execution. +
+Quick Start
+Install the packages
+Add to your agent
+That's it!
++ Your agent can now discover and execute any tool from the registry. Here's + what happens when a user asks for something: +
+registrySearch
+ {`({ query: "web search" })`}
+ @exalabs/ai-sdk::webSearch
+ registryExecute
+ {`({ toolId: "@exalabs/ai-sdk::webSearch", params: {...} })`}
+ How It Works
+
+ {`┌─────────────────────────────────────────────────────────────────┐
+│ Your AI Agent │
+│ ┌─────────────┐ ┌────────────────┐ ┌─────────────────────┐ │
+│ │ Your Tools │ │ registrySearch │ │ registryExecute │ │
+│ └─────────────┘ └───────┬────────┘ └──────────┬──────────┘ │
+└───────────────────────────┼──────────────────────┼──────────────┘
+ │ │
+ ▼ ▼
+ ┌─────────────────┐ ┌─────────────────────────┐
+ │ TPMJS Registry │ │ Sandbox Executor │
+ │ tpmjs.com/api │ │ executor.tpmjs.com │
+ └─────────────────┘ └─────────────────────────┘
+ │ │
+ ▼ ▼
+ ┌─────────────────┐ ┌─────────────────────────┐
+ │ Tool Metadata │ │ Secure Deno Runtime │
+ │ 1000+ tools │ │ Isolated execution │
+ └─────────────────┘ └─────────────────────────┘`}
+
+ registrySearchTool
+
+ Search the TPMJS registry to find tools for any task. Returns metadata including the{' '}
+ toolId needed for execution.
+
Parameters
+| Name | +Type | +Required | +Description | +
|---|---|---|---|
| query | +string | +Yes | +Search query (keywords, tool names, descriptions) | +
| category | +string | +No | +Filter by category | +
| limit | +number | +No | +Max results (1-20, default 5) | +
Categories
+Return Value
+registryExecuteTool
+
+ Execute any tool from the registry by its toolId
+ . Tools run in a secure sandbox—no local installation required.
+
Parameters
+| Name | +Type | +Required | +Description | +
|---|---|---|---|
| toolId | +string | +Yes | +
+ Tool identifier (format: package::exportName)
+ |
+
| params | +object | +Yes | +Parameters to pass to the tool | +
| env | +object | +No | +Environment variables (API keys) | +
Example
+Return Value
+Environment Variables
++ Both packages support self-hosted registries via environment variables. This is useful + for enterprise deployments or running your own tool registry. +
+ +| Variable | +Default | +Description | +
|---|---|---|
| TPMJS_API_URL | +https://tpmjs.com | +Base URL for the registry API | +
| TPMJS_EXECUTOR_URL | +https://executor.tpmjs.com | +URL for the sandbox executor | +
Self-Hosted Example
+Security
+Sandboxed Execution
++ All tools run in an isolated Deno runtime on Railway. They cannot access your + local filesystem or environment. +
+API Key Isolation
++ API keys are passed per-request and never stored. Each execution is stateless and + isolated. +
+Registry-Only Execution
++ Only tools registered in TPMJS can be executed. No arbitrary code execution is + possible. +
+Health Monitoring
++ Every tool is continuously health-checked. Broken tools are flagged and filtered + from search results. +
+The Vision
++ We're building the{' '} + npm for AI tools. Just as npm + revolutionized JavaScript package sharing, TPMJS aims to create a universal + ecosystem where AI agents can discover, share, and execute tools seamlessly. +
+
+ The registrySearch and{' '}
+ registryExecute tools are just the beginning.
+ Here's what's coming:
+
Collections
++ Pre-configured tool bundles for specific domains. Think of them as “skill + packs” for your AI agent. +
++ API Keys & Rate Limiting +
++ Personal API keys for authentication, usage tracking, and rate limiting. + Enterprise features for teams including usage analytics and billing. +
+Tool Versioning
++ Pin specific tool versions in your agent configuration. Automatic compatibility + checking and migration guides when tools update. +
+Private Registries
++ Run your own TPMJS instance for internal tools. Connect multiple registries + (public + private) in a single agent. Enterprise SSO and access controls. +
+Streaming Execution
++ Stream tool outputs for long-running operations. Real-time progress updates and + partial results for better UX. +
+Ready to Get Started?
++ Give your AI agent access to thousands of tools in minutes. +
+