6 releases
Uses new Rust 2024
new 0.1.42 | Apr 1, 2025 |
---|---|
0.1.41 | Apr 1, 2025 |
0.1.4 | Mar 28, 2025 |
#99 in Machine learning
470 downloads per month
27KB
446 lines
You - Your Optimized UNIX, but also supports Windows
you
is a command-line tool that translates natural language instructions into executable shell commands, making command-line operations more accessible and intuitive.
Features
- Natural Language Command Execution: Type what you want to do in plain English, or any other natural language you prefer, and let the AI figure out the exact commands
- Interactive Workflow: Review suggested commands before execution
- Error Handling: When commands fail, the AI automatically suggests fixes based on error messages
- Semi-Autonomous Operation: The AI handles the technical details while keeping you in control
Installation
cargo install you
Usage
Run a command described in natural language:
you run "find all large text files in my home directory"
The tool will:
- Process your request through an LLM
- Suggest appropriate command(s)
- Ask for your confirmation before execution
- Handle any errors by suggesting corrections
Examples
# Recall commands that you had forgotten
you run "check out what has been imported in this Rust project"
# Don't know what to look after?
you run "how many cores does this system have?"
# Even open up a SSH terminal for you
you run "open a new window with an SSH terminal to xxx.xxx.xxx.xxx as root"
Tips
- So far as I tested,
you
works well with a small model calledsmollm2
and its smallest version, 135m. - You may also use
ollama
with any open source model you want for free.
Workflow
- Type your request in natural language
- Review the suggested command(s)
- Type 'y' to execute or provide additional guidance/clarification
- If there's an error, the AI will automatically suggest a corrected command
Why Use You?
- Reduces Mental Load: No need to remember complex command syntax
- Safer Command Execution: Review commands before they run
- Learning Tool: See how your natural language request translates to actual commands
- Productivity Booster: Accomplish complex tasks with simple instructions
- Interactive Learning: Learn new commands and techniques through interactive feedback
License
MIT
Credits
Created by Xinyu Bao
you
- because command lines should understand you, not the other way around.
Dependencies
~28–45MB
~770K SLoC