AGI CLI (agi-cli / agents-cli) is an open-source terminal agent harness and orchestration framework developed by phnx-labs. It provides a modular command-line infrastructure designed to run, manage, and coordinate AI coding agents directly within developer workspaces. In day-to-day operation, AGI CLI coordinates multi-agent routines and tool invocation through a structured CLI environment. The harness leverages project-level configuration and context files (such as CLAUDE.md and GEMINI.md) to integrate with major foundation models including Anthropic Claude and Google Gemini, delegating specific coding and automation tasks across repository workflows. AGI CLI differentiates itself through a modular skills architecture and dedicated configuration surfaces defined under open specifications. Its codebase incorporates native bindings, distinct agent definitions, and reusable skills modules that decouple task execution logic from the underlying LLM harness. The project is fully open source under the phnx-labs organization on GitHub, distributed as a monorepo containing modular npm packages and native CLI tooling.
Tags: agent harness, ai agent, cli, developer tools, OpenSource
.agents directory structure. - Open Configuration Specs — Uses OpenSpec configuration surface standards for predictable agent behaviors and flags. - Native Components — Incorporates native runtime packages for low-overhead terminal execution and tool invocation. - Open-Source Monorepo — Maintained as an open TypeScript/native monorepo with modular package distribution via npm.skills/ directory to give terminal agents direct access to domain-specific CLI utilities and internal APIs.CLAUDE.md and GEMINI.md.AGI CLI is built for developers, tool builders, and platform engineers who want a customizable, code-first harness for orchestrating terminal AI agents with modular skills. It is less suitable for non-technical users or developers looking for a turnkey, closed-source desktop GUI agent.
bash # Global installation via npm npm install -g @phnx-labs/agi-cli # Or clone and build from source git clone https://github.com/phnx-labs/agi-cli.git cd agi-cli npm install npm run buildbash export ANTHROPIC_API_KEY="your-anthropic-key" export GEMINI_API_KEY="your-gemini-api-key" Initialize or verify the CLI configuration within your project: bash agi --version agi initbash agi run "Audit the codebase for missing tests and generate unit tests for untested packages"Part of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools