+
+ {/* ==================== GETTING STARTED ==================== */}
+
+
+ TPMJS (Tool Package Manager for JavaScript) is a registry and execution platform for
+ AI tools. It enables AI agents to dynamically discover, load, and execute tools from
+ npm packages at runtime.
+
+
+
+ Search thousands of AI tools from the npm ecosystem
+
+
+ Run any tool in a secure sandbox - no installation needed
+
+
+ Share your tools with the AI community via npm
+
+
+
+ TPMJS works with{' '}
+
+ Vercel AI SDK
+
+ , LangChain, LlamaIndex, and any framework that supports the AI SDK tool format.
+
+
+
+
+
+ Get up and running with TPMJS in under 2 minutes.
+
+
+
+
+
+
+
+
+
+ Your agent can now discover and execute any tool from the TPMJS registry. The
+ agent will automatically search for relevant tools and execute them as needed.
+
+
+
+
+
+
+
+
+ TPMJS automatically discovers tools from npm packages that have the{' '}
+
+ tpmjs-tool
+ {' '}
+ keyword. Tools are indexed every 2-15 minutes.
+
+
+
+
+ All tools run in an isolated Deno runtime on Railway. They cannot access your
+ local filesystem or environment. API keys are passed per-request and never
+ stored.
+
+
+
+
+ Every tool receives a quality score (0.00-1.00) based on metadata completeness,
+ npm downloads, and GitHub stars. Higher scores mean better visibility in search
+ results.
+
+
+
+
+ Tools are continuously health-checked to ensure they can be imported and
+ executed. Broken tools are flagged and can be filtered from search results.
+
+ The TPMJS API is a REST API that provides access to the tool registry. All endpoints
+ return JSON and are publicly accessible without authentication.
+
+
+
+ Base URL:{' '}
+ https://tpmjs.com/api
+
+
+
+
+
+
+ List all tools with optional filtering and pagination.
+
+
+
+
+
+
+
+
+
+
+
+ BM25-ranked search optimized for AI agent tool discovery.
+
+
+
+
+
+
+
+
+ Get detailed information about a specific tool.
+
+ Both SDK packages support self-hosted registries via environment variables.
+
+
+
+
+
+
+
+
+
+ TPMJS is designed with security in mind.
+
+
+
+ All tools run in an isolated Deno runtime. They cannot access your local
+ filesystem or environment.
+
+
+ API keys are passed per-request and never stored. Each execution is stateless and
+ isolated.
+
+
+ Only tools registered in TPMJS can be executed. No arbitrary code execution is
+ possible.
+
+
+ Every tool is continuously health-checked. Broken tools are flagged and filtered
+ from search results.
+
+
+ {[
+ {
+ q: 'How long does it take for my tool to appear?',
+ a: 'Tools are discovered within 2-15 minutes of publishing to npm. Make sure you have the "tpmjs-tool" keyword in your package.json.',
+ },
+ {
+ q: 'Is TPMJS free to use?',
+ a: 'Yes! TPMJS is free for public tools. We may introduce paid tiers for private registries and enterprise features in the future.',
+ },
+ {
+ q: 'Can I use TPMJS with any AI framework?',
+ a: 'TPMJS works with any framework that supports the AI SDK tool format, including Vercel AI SDK, LangChain, and LlamaIndex.',
+ },
+ {
+ q: 'How are tools executed?',
+ a: 'Tools are dynamically loaded from esm.sh and executed in a sandboxed Deno runtime on Railway. No local installation is required.',
+ },
+ {
+ q: 'Can I run my own TPMJS registry?',
+ a: 'Yes! Set the TPMJS_API_URL and TPMJS_EXECUTOR_URL environment variables to point to your own infrastructure.',
+ },
+ ].map((item) => (
+
+
{item.q}
+
{item.a}
+
+ ))}
+
+
+
+
+
+
+
+
+ Ensure you have{' '}
+ tpmjs-tool in
+ your keywords
+
+
+ Verify your tpmjs field is valid JSON
+
+
Wait 15 minutes after publishing
+
Check the validation errors in the npm package page
+
+
+
+
+
Check that required environment variables are passed
+
Verify the toolId format is correct (package::exportName)
+
Check the tool's health status on tpmjs.com
+
+
+
+
+
+
+
+
+
+ v1.0.0
+ December 2024
+
+
+ Initial release with registrySearchTool and registryExecuteTool
+
+
+
+
+
+ {/* CTA */}
+
+
Ready to Get Started?
+
+ Give your AI agent access to thousands of tools in minutes.
+