Discover Powergentic CLI¶
Powergentic CLI (pga) is an open-source, AI-powered coding assistant for the command line. It provides GitHub Copilot CLI-like functionality with configurable LLM backends, a customizable agent system, and built-in developer tools.
Quick Start¶
| Bash | |
|---|---|
1 2 3 4 5 6 | |

Key Features¶
-
Interactive Chat
Multi-turn conversations with full tool access for exploring and modifying your codebase.
-
Agent System
Define project-specific AI behaviors with
AGENTS.mdand*.agent.mdfiles, following the GitHub Copilot agent convention. -
9 Built-in Tools
File I/O, shell execution, git operations, grep search, web fetch, and more — all with configurable safety levels.
-
Multiple LLM Backends
Azure OpenAI (API key + Entra ID), Azure AI Foundry, and Ollama for local models.
- Tool Safety — Configurable approval modes (auto-approve, prompt-writes, prompt-always)
- Scoped Agents — Agents that only apply to specific directories in a monorepo
- Multiple Profiles — Switch between LLM configurations per agent or per session
- Auto-Select Rules — Automatically pick the right model based on context
- Single-Shot Commands —
explainandsuggestfor quick answers
Use Cases¶
Powergentic CLI is great for:
- Exploring unfamiliar codebases interactively from the terminal
- Getting command-line explanations and shell suggestions
- Automating code review with custom agents
- Working across multiple projects with scoped agent configurations
- Running local models via Ollama for privacy-sensitive work
- Integrating AI assistance into your terminal workflow
LLM Providers¶
Powergentic CLI supports multiple LLM backends. Configure one or many profiles and switch between them per session or per agent.
-
Azure OpenAI
Use Azure-hosted OpenAI models like GPT-4o with API key or Entra ID authentication.
-
Azure AI Foundry
Deploy and use models via Azure AI Foundry.
-
Ollama
Run open-source models locally — Llama 3, Codestral, Qwen, and more.
Contributing¶
We welcome contributions, feedback, and new ideas. Whether it's a bug report or a pull request, head over to our GitHub repository to start collaborating!
Requirements¶
- .NET 10 SDK or later
- An LLM provider: Azure OpenAI, Azure AI Foundry, or Ollama (for local models)
Disclaimer¶
Powergentic CLI is experimental prerelease software and is provided "as is", without warranties of any kind.
LLM output can be incorrect, incomplete, insecure, or destructive. Always review prompts, generated content, and tool actions before approval or execution.
You are solely responsible for commands run, files modified, and data accessed while using this tool.
Do not use Powergentic CLI in production or against sensitive systems/data unless you have appropriate safeguards, backups, and approval controls in place.