Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A AI-powered CLI that converts natural language into real shell commands with context awareness and safety checks.
Jump to setup instructionsFetched from the repository for this visit.
An AI-powered CLI planner that converts natural language tasks into executable shell commands. Describe what you want to do in plain English, and bud will inspect your system, search the web for docs, generate the appropriate commands, and ask for confirmation before executing them.

rm -rf /, shutdown, and rebootcurl -fsSL https://raw.githubusercontent.com/r2hu1/bud/main/scripts/install.sh | bash
Or download and run manually:
curl -fsSL https://raw.githubusercontent.com/r2hu1/bud/main/scripts/install.sh -o install.sh
chmod +x install.sh
./install.sh
This script detects your OS and architecture, downloads the latest release binary, and installs it to /usr/local/bin or ~/.local/bin.
Download and run in PowerShell:
Invoke-WebRequest -Uri https://raw.githubusercontent.com/r2hu1/bud/main/scripts/install.ps1 -OutFile install.ps1
.\install.ps1
The binary is installed to %USERPROFILE%\.local\bin and added to your user PATH automatically.
Clone the repository and install dependencies:
git clone <repo-url>
cd bud
bun install
Run the interactive setup to configure your AI provider and API key:
bud setup
This will:
~/.bud/config.jsonTo reset your configuration:
bud reset
Pass a natural language description of what you want to do:
bud commit all my changes
bud delete all .tmp files in the project
bud create a new git branch called feature-xyz
bud what is the command to initialise a vite project
bud how do I recursively find all TODO comments
The workflow:
bud uses a strict system prompt that forces the AI to follow one of three modes:
| Mode | When used |
|---|---|
| Tool Mode | Task depends on real file contents, paths, or git state |
| Web Mode | Task requires live docs, package info, or an unfamiliar command |
| Direct Mode | Task is a well-known generic command — no inspection needed |
The AI is instructed to:
| Tool | Description |
|---|---|
cwd | Get current working directory |
os | Get OS platform and architecture |
env | List environment variable names |
listFiles | List files in a directory with metadata |
readFile | Read file content (first 3000 chars) |
readFileLines | Read specific lines from a file |
fileExists | Check if a file or directory exists |
gitStatus | Get git status (short format) |
gitDiff | Get full git diff |
searchFiles | Search for text across files using grep |
| Tool | Description |
|---|---|
webSearch | Search the web and return titles, URLs, snippets, and parsed page text. Used when the AI needs to verify a command, look up docs, or answer "how do I X" questions |
fetchWebPage | Fetch and parse a specific URL into clean readable text, stripping scripts, nav, and footer noise |
Web page content is extracted using cheerio, which parses real HTML and targets main content containers (<main>, <article>, [role="main"]) rather than naively stripping tags.
rm -rf /, shutdown, or reboot are blocked[] if a request seems unsafebud/
├── index.ts # CLI entry point (Commander)
├── core/
│ ├── ai/
│ │ ├── system-prompt.ts # AI system prompt & rules
│ │ ├── stream.ts # AI stream generation
│ │ ├── run.ts # LLM execution with Vercel AI SDK
│ │ ├── tools.ts # AI tools (file, git, shell, web)
│ │ ├── models.ts # LLM models
│ │ └── providers.ts # AI provider configurations
│ ├── cli/
│ │ ├── setup.ts # Interactive setup & reset
│ │ ├── commands.ts # Commander instance
│ │ ├── run.ts # Runs cmd
│ │ └── config.ts # Config loader (~/.bud/config.json)
│ └── input.ts # Input parsing & command normalization
├── package.json
└── tsconfig.json
The project uses:
Contributions are welcome! Here's how to get started:
git checkout -b feature/your-feature)bun run index.ts "your test task"git commit -m 'Add some feature')git push origin feature/your-feature)--dry-run flag to skip confirmationMIT
GitHub checked 207h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.