aprender-shell
AI-powered shell completion trained on your command history.
Installation
Pre-trained Base Model
A base model trained on synthetic developer commands is available on Hugging Face Hub:
# Download base model
# Use with aprender-shell
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.
Usage
# Train on your zsh history (creates personalized model)
# Get completions for a prefix
# Install zsh widget for tab completion
Features
- Sub-10ms suggestion latency
- Context-aware N-gram completions
- Privacy-safe: sensitive commands filtered automatically
- Supports zsh and fish shell history formats
- Incremental training on new commands
Fine-tuning
Start with the base model and fine-tune on your history:
# Download base model
# Train incrementally on your history
License
MIT