Home/Tools/@tpmjs/tools-exe-dev

exec

@tpmjs/tools-exe-dev

Execute a command on an exe.dev VM via SSH.

Official
ops
v0.2.3
MIT

Interactive Playground

Test @tpmjs/tools-exe-dev (exec) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-exe-dev
pnpm add @tpmjs/tools-exe-dev
yarn add @tpmjs/tools-exe-dev
bun add @tpmjs/tools-exe-dev
deno add npm:@tpmjs/tools-exe-dev

2. Import the tool

import { exec } from '@tpmjs/tools-exe-dev';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { exec } from '@tpmjs/tools-exe-dev';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { exec },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(vm: string, command: string) => Promise<unknown>

Tags

ai
cloud
command
dev
exe
exe.dev
exec
execute
ops
ssh
tpmjs
via
virtual-machine
vm

Parameters

Available configuration options

Auto-extracted
vm
Required
Type: string

Name of the VM to execute on

command
Required
Type: string

Command to execute on the VM

Schema extracted: 3/2/2026, 4:20:31 AM

README

ERROR: No README data found!

Statistics

Downloads/month

123

GitHub Stars

0

Quality Score

78%

Bundle Size

NPM Keywords

tpmjs
exe.dev
vm
virtual-machine
ssh
cloud
ai

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai