| Crates.io | aprender-shell |
| lib.rs | aprender-shell |
| version | 0.3.0 |
| created_at | 2025-11-27 08:23:47.551425+00 |
| updated_at | 2026-01-12 22:34:34.823635+00 |
| description | AI-powered shell completion trained on your history |
| homepage | |
| repository | https://github.com/paiml/aprender |
| max_upload_size | |
| id | 1953306 |
| size | 502,087 |
AI-powered shell completion trained on your command history.
cargo install aprender-shell
A base model trained on synthetic developer commands is available on Hugging Face Hub:
# Download base model
huggingface-cli download paiml/aprender-shell-base model.apr --local-dir ~/.aprender
# Use with aprender-shell
aprender-shell suggest "git " -m ~/.aprender/model.apr
Model: paiml/aprender-shell-base
The base model includes 401 common developer commands (git, cargo, docker, kubectl, npm, python, aws, terraform) and contains no personal data.
# Train on your zsh history (creates personalized model)
aprender-shell train
# Get completions for a prefix
aprender-shell suggest "git ch"
# Install zsh widget for tab completion
aprender-shell zsh-widget >> ~/.zshrc
source ~/.zshrc
Start with the base model and fine-tune on your history:
# Download base model
huggingface-cli download paiml/aprender-shell-base model.apr -o base.apr
# Train incrementally on your history
aprender-shell train --base base.apr
MIT