Ai Agent Cli
Description
A CLI-based AI coding agent (like a mini Claude Code) that plans, asks clarifying questions, runs bash commands, and edits code inside a sandboxed project workspace — with pluggable OpenAI/Gemini providers and persistent project memory.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
ai-agent-cli
A CLI-based AI coding agent that plans tasks, asks clarifying questions, runs bash commands, and edits code inside a sandboxed project workspace — with pluggable OpenAI/Gemini providers and persistent project memory.
Features
- Agent loop — takes a natural language request and works through it step by step until done
- Multi-provider support — works with OpenAI and Gemini, switchable per session
- Tool calling
BASH— runs shell commands inside the project workspace (with user approval)ASK_QUESTION— asks the user for clarification when something is unclearCREATE_PLAN— proposes a plan and waits for approval before executingSAVE_MEMORY— stores useful facts about the project/user preferences for future sessions
- Session management — conversation history persists across runs, with automatic summarization once a session grows too large
- Sandboxed workspace — the agent is restricted to a single project directory and cannot touch anything outside it
- Bundled template — a Bun + React starter project (
template/) the agent can scaffold into
Project structure
ai-agent-cli/
├── backend/ # the CLI agent itself
│ └── src/
│ ├── agent-loop.ts # core loop: call model → run tool → repeat
│ ├── ai-providers/ # OpenAI + Gemini integrations
│ ├── manager/ # session + memory managers
│ ├── prompts/ # system prompts
│ └── tools.ts # tool implementations
└── template/ # Bun + React scaffold used as a starting project
Setup
**Requirements:** [Bun](https://bun.sh)
cd backend
bun install
Set the required environment variables:
GEMINI_API_KEY=your_gemini_key
OPENAI_API_KEY=your_openai_key
NEATLOGS_API_KEY=your_neatlogs_key # optional, used for logging/tracing
Usage
cd backend
bun src/index.ts
You'll be prompted with `How can i help you?` — describe what you want d
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI