AIHelper is a Rust CLI toolbox for AI agents and developers. It reduces context usage and repetitive shell boilerplate by providing explicit, fast, scriptable commands with predictable text and JSON output.
The binary command is ah.
- Project is in bootstrap stage.
- Plugin-oriented runtime architecture is in place.
- Built-in domains are implemented as plugins:
file(read,head,tail,stat,tree)search(text,files)ctx(pack,symbols,changed)git(status,tags,remotes,changed,diff,blame)project(detect,commands)run(check)task(save,list,run)- Plugin management commands are available:
ah plugins list|enable|disable|reset. - MCP stdio server is available through
ah mcp serve; every enabled typed command is exposed as a separateah.*tool with schemas and risk metadata. - External dynamic plugin sources are included:
plugins/ah-plugin-github,plugins/ah-plugin-gitlab,plugins/ah-plugin-ollama,plugins/ah-plugin-postgres.
cargo build
cargo run --bin ah -- --help
cargo run --bin ah -- plugins list
cargo run --bin ah -- file read README.md -n --from 1 --to 40
cargo run --bin ah -- --cwd . mcp serveah(orah.exe) in root directory- dynamic plugins in
plugins/next to executable:plugins/ah-plugin-<name>.dll(Windows)plugins/ah-plugin-<name>.so(Linux)plugins/ah-plugin-<name>.dylib(macOS)
src/application source codesrc/commands/CLI domains (file,search,ctx,git,project,run,task)tests/integration and smoke testsdocs/agents/token-efficient recipes for AI agentsdocs/developers/architecture and contribution docsdocs/reference/command reference