runtool
The bridge between human and AI tooling
Define functions in a Runfile. Your AI agent discovers and executes them via the built-in MCP server. You run them from the terminal too with instant startup and tab completion. Shell, Python, Node—whatever fits the task.
# @desc Search the codebase for a pattern
# @shell python
) {
for)
for
)
for))
if )
)
}
Humans run it from the terminal:
AI agents discover and execute it automatically via the Model Context Protocol (MCP).
Note: runtool is an alternative package name for run. Both install the same run binary and provide identical functionality.
Installation
This installs the run binary to your cargo bin directory.
Recommended Installation
macOS/Linux (Homebrew)
Windows (Scoop)
scoop bucket add nihilok https://github.com/nihilok/scoop-bucket
scoop install runtool
Quick Start
Create a Runfile in your project:
# @desc Deploy to an environment
) {
}
# @desc Run the development server
Run from terminal:
Enable AI integration:
Full Documentation
See the run crate documentation for:
- AI Agent Integration (MCP)
- Complete syntax guide
- Function composition
- Polyglot scripts (Python, Node, Ruby, etc.)
- Tab completions
- Platform-specific functions
Source Code
Both run and runtool are maintained in the same repository:
https://github.com/nihilok/run