100% Platform Independent • 100% Sandboxed • 100% IDE Independent • 0% Effort • 100% Gains
gha is a 100% self-contained, standalone native Rust binary engine powering AI for AI, anywhere for anything.
Install gha globally with a single command:
# Linux, macOS, & WSL (1-Line Universal Installer):
curl -sSL https://raw.githubusercontent.com/intellibitz/gha/main/init/install.sh | bash
# Windows PowerShell:
iwr -useb https://raw.githubusercontent.com/intellibitz/gha/main/init/install.ps1 | iexgha is architected around a single, uncompromising principle: GMA (GHA Master Agent) is the Sole Interactor for the user. You interact strictly with GMA, and GMA governs the 3 tiers behind the scenes:
👤 GHA USER / IDE / CLIENT
│
│ Single Point of Interaction
▼
┌───────────────────────────────────────┐
│ 🤖 GMA (GHA Master Agent) │
│ • The Master │
│ • The Orchestrator │
│ • The One & Sole Interactor │
└───────────────────┬───────────────────┘
│
┌───────────────────────┼───────────────────────┐
▼ ▼ ▼
🤖 Tier 1: GAWD 🧠 Tier 2: GEMI 🔌 Tier 3: GMCP
(GMAS Supervisor & (GGUF Local Inference & (MCP Server, Stdio &
A2A Worker Agent Fleet) Metal/CUDA Port 9091) Port 9090 Tools)
│ │ │
└───────────────────────┼───────────────────────┘
│
▼
🌌 GMA Synthesizes Master Interactor Report
│
▼
👤 Presented To User
The ultra-fast native ghai executable responds in sub-millisecond (< 2ms) latency:
# 1. Natural Language Mission Execution
ghai "orchestrate an autonomous AI mission" # GMA Master Interactor goal execution
ghai "print workspace health and disk usage" # GMA system execution task
# 2. Workspace Status & Sandbox Management
ghai :status # Inspect workspace health, GAWD fleet & daemon
ghai :version # Print engine architecture & version report
ghai :install # Initialize sandboxed .gha environment offline
ghai :uninstall # Clean up local .gha workspace sandbox
# 3. AI Engines, Models & Servers Management
ghai ai models # Inspect GGUF models (~/.gha/models) & web models
ghai ai engines # Inspect embedded GGUF & cloud inference engines
ghai ai mcp-hub # List active MCP tool servers & exposed tools
ghai ai server # Start GEMI OpenAI-compatible REST server (Port 9091)
ghai gmcp, mcp # Start native GMA Master MCP Server over stdio
ghai :daemon # Inspect or start background GMA Master Daemongha plugs directly into any IDE via standard Model Context Protocol (MCP).
Edit or create .idea/mcp.json or your global IDE settings (~/.config/Google/AndroidStudio*/mcp.json):
{
"mcpServers": {
"gha": {
"command": "ghai",
"args": ["mcp"],
"enabled": true,
"trust": true
}
},
"mcpServersMetadata": {
"gha": {
"registryName": "gha",
"title": "GHA Master Agent (GMA)",
"description": "gha: Universal Multi-Agent AI Runtime & MCP Engine"
}
}
}{
"mcpServers": {
"gha": {
"command": "ghai",
"args": ["mcp"]
}
}
}{
"mcpServers": {
"gha": {
"command": "ghai",
"args": ["mcp"]
}
}
}- Explicit Tool Triggers:
@gha status— Get workspace health, sandbox status, and hardware profile.@gha reason "prompt"— Execute deep reasoning via GEMI engine.@gha list_models— Inspect local GGUF and web AI models.@gha profile_hardware— Check CPU cores and GPU offload (-ngl 99).@gha orchestrate "goal"— Execute GMA multi-agent mission.
- Natural Language Invocation:
Ask your assistant: "Check hardware profile and local GGUF models using gha". The assistant automatically invokes
ghai mcpover stdio in < 2 ms.
GEMI implements the universal OpenAI REST specification (/v1/chat/completions and /v1/models). Any client or framework can use gha as a local, hardware-accelerated LLM provider.
In IDE custom OpenAI provider settings:
- Base URL:
http://127.0.0.1:9091/v1 - API Key:
gha-native-key(any string) - Model:
deepseek-r1orllama-3.3-70b
# List Available GGUF & Cloud Models
curl -s http://127.0.0.1:9091/v1/models
# Execute ChatCompletions Prompt
curl -s http://127.0.0.1:9091/v1/chat/completions \
-X POST \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-r1",
"messages": [{"role": "user", "content": "Explain GHA GEMI architecture."}]
}'from openai import OpenAI
client = OpenAI(
base_url="http://127.0.0.1:9091/v1",
api_key="gha-native-key"
)
response = client.chat.completions.create(
model="deepseek-r1",
messages=[{"role": "user", "content": "Optimize this Rust function."}]
)
print(response.choices[0].message.content)Multi-agent frameworks (AutoGen, CrewAI, LangGraph) can send A2A JSON message envelopes directly to GMA:
{
"sender": "ExternalAgent",
"recipient": "GMA-Master-Orchestrator",
"action": "SUPERVISE",
"payload": "Orchestrate workspace intelligence analysis"
}- Global Vault (
~/.gha/): Houses the globalghaiexecutable, central GGUF model vault (~/.gha/models/), and daemon locks. Shared across all projects. - Local Workspace Sandbox (
./.gha/): Stores workspace build caches and session logs. Completely git-ignored. Cleaned instantly viaghai :uninstall.
gha is co-created and maintained by IntelliBitz, Muthu Ramadoss, and Gemini (Google AI). See CONTRIBUTORS.md for details.
This project is licensed under the MIT License.