loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

aicli

MCP Tool

HarrisonCN/aicli

⚡ An open-source AI agent that lives in your terminal. Understands your codebase, runs commands, browses the web, and helps you ship faster.

Install

$ npx loaditout add HarrisonCN/aicli

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "aicli": {
      "command": "npx",
      "args": [
        "-y",
        "aicli"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

<div align="center">

⚡ aicli

An open-source AI agent that lives in your terminal.

Understands your codebase · Runs commands · Browses the web · Ships code

[](LICENSE) [](https://nodejs.org) [](https://www.typescriptlang.org) [](https://www.npmjs.com/package/aicli) [](https://github.com/HarrisonCN/aicli/actions)

English · 中文 · Docs · Examples

</div>

---

What is aicli?

aicli is a lightweight, open-source AI coding agent that runs entirely in your terminal. Inspired by tools like Gemini CLI and Claude Code, aicli gives you a model-agnostic, fully hackable alternative that works with any OpenAI-compatible API.

It uses a ReAct (Reasoning + Acting) loop to autonomously:

  • 📂 Read and write files in your project
  • 🖥️ Execute shell commands and interpret output
  • 🔍 Search across your codebase with regex
  • 🌐 Search the web for up-to-date information
  • 🐛 Find and fix bugs end-to-end
  • ✅ Generate and run tests
Demo
$ aicli chat "There's a bug in my auth middleware. Find it and fix it."

⚡ list_directory(path=src/middleware)
⚡ read_file(path=src/middleware/auth.ts)
⚡ search_files(pattern="req.headers.authorization", path=src)

I found the issue. In `auth.ts` line 42, the token is split on " " but the
Bearer prefix check is missing. Here's the fix:

⚡ edit_file(path=src/middleware/auth.ts, old_string=..., new_string=...)

✅ Fixed! The middleware now correctly validates Bearer tokens.
Quick Start
Installation
# npm
npm install -g aicl

Tags

agentaiclicoding-assistantdeveloper-toolsllmmcpopenaiterminaltypescript

Reviews

Loading reviews...

Quality Signals

1
Stars
0
Installs
Last updated20 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/24/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/HarrisonCN/aicli)](https://loaditout.ai/skills/HarrisonCN/aicli)