Integrations
Local Git Agent
Three shell aliases that use Llama 3.1 to automate the administrative overhead of git: semantic commit messages from diffs (g-commit), Markdown PR descriptions from branch history (g-pr), and a pre-push scan for leaked secrets in staged files (g-check). All inference is local.
Auto-Commit
Generates semantic commit messages based on your actual code changes.
$ g-commitPR Drafter
Writes a full Markdown PR description summarizing your branch logic.
$ g-prSecurity Scan
Scans staged files for leaked API keys or secrets before you push.
$ g-checkSetup
01Source the Script
Ensure your engram_git.sh script is sourced in your shell configuration (`.zshrc` or `.bashrc`).
bash
source ~/engram-os/cli/engram_git.sh02Verify Installation
Reload your terminal and check if the aliases are active:
bash
type g-commitWorkflow Examples
Smart Commit
Instead of writing "fix bug", let Engram analyze the diff:
$ g-commit
? Analyzing diff...
✔ Commit generated: "Fix(Auth): Handle null token in JWT middleware"
? Confirm? (Y/n)
? Analyzing diff...
✔ Commit generated: "Fix(Auth): Handle null token in JWT middleware"
? Confirm? (Y/n)