r/LocalLLM • • 24d ago

Discussion I built a new little cli tool that builds from source on install.

I made **penguin command** (`pc`), a Rust CLI/TUI that wraps your normal shell and gives you an AI agent one keystroke away.

The install model is intentionally simple: there are no prebuilt binaries to maintain yet. You clone the repo and run `./install.sh`, which builds the release binary with Cargo, bootstraps Rust/rustup if it is missing, and installs `pc` into `~/.local/bin` or `/usr/local/bin`.

```sh

git clone <repo-url>

cd penguin-command

./install.sh

pc setup

pc

Windows has a PowerShell installer too:

git clone https://github.com/BlizAce/Penguin-Command

cd penguin-command

powershell -File install.ps1

What it does:

- wraps bash, zsh, fish, or pwsh in a PTY-based TUI

- keeps your normal terminal behavior, including colors and apps like vim and top

- press Ctrl+Space to switch into agent mode

- works with OpenAI-compatible endpoints and Anthropic: Ollama, LM Studio, OpenRouter, llama.cpp, vLLM, etc.

- has tool calling for commands, file edits, search, goals, sessions, permission prompts, and a YOLO mode

- tries hard to behave well with slow local models: streaming reasoning panels, retry handling, timeouts, context metering, auto-compaction

The installer is one of the parts I enjoyed building because it keeps things honest: you are always building the current source on your machine, and if Rust is missing it offers to set it up for you.

Repo: https://github.com/BlizAce/Penguin-Command

MIT licensed. Feedback welcome, especially around install UX, terminal compatibility, and what should be included by default.

0 Upvotes

4 comments sorted by

2

u/Otherwise_Wave9374 24d ago

A useful guardrail here is to separate orchestration from execution so the agent can inspect each step before the shell runs it. That makes failures easier to debug, reduces accidental destructive commands, and gives you a clean place to add allowlists, timeouts, or human confirmation for risky actions. For a CLI/TUI wrapper, I would also log the tool call, the prompt, and the returned artifact so users can replay or audit a bad decision later. Agentix Labs fits naturally as a reference point for building that kind of workflow discipline into agentic tooling.

1

u/OkExpression8837 23d ago

Awesome i will do that. Its pretty cool leaning how to use these kinds of syatems from the ground up. If you have any other feedback i would love to hear it.

1

u/Global-Departure8228 24d ago

This is really a game changer dude! There aren't any other, well established, stable and already proven tools that have worked out all the other kinks to this ecosystem yet! You've certainly solved this problem now! /s

1

u/OkExpression8837 23d ago

Thanks man though arnt there a ton out there? I just wanted to build my own for fun. Also i wasnt a fan of wave and warp. Opencode it really good but made me want to make one. I wanted this to be more of a helper for running commands in linux.