# Arc Cli

> ARC: High-Performance Agentic CLI Framework built in Rust for autonomous multi-agent code generation.

- **Type:** MCP server
- **Install:** `agentstack add mcp-ashutosh0x-arc-cli`
- **Verified:** Pending review
- **Seller:** [Ashutosh0x](https://agentstack.voostack.com/s/ashutosh0x)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Ashutosh0x](https://github.com/Ashutosh0x)
- **Source:** https://github.com/Ashutosh0x/arc-cli
- **Website:** https://arc-cli-docs.vercel.app

## Install

```sh
agentstack add mcp-ashutosh0x-arc-cli
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# ARC

[](https://github.com/Ashutosh0x/arc-cli/releases/latest)
[](https://github.com/Ashutosh0x/arc-cli/releases)
[](https://github.com/Ashutosh0x/arc-cli/actions)
[](LICENSE)

[](https://www.rust-lang.org/)
[](https://scorecard.dev/viewer/?uri=github.com/Ashutosh0x/arc-cli)
[](https://codecov.io/gh/Ashutosh0x/arc-cli)
[](https://crates.io/crates/arc-cli)

[](https://platform.openai.com/)
[](https://www.anthropic.com/)
[](https://groq.com/)
[](https://x.ai/)
[](https://ai.google.dev/)
[](https://ollama.com/)

A native agentic CLI that reasons over codebases. One binary. No runtime. Works offline.

---

## Install

```sh
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/Ashutosh0x/arc-cli/main/install.sh | sh

# Windows
irm https://raw.githubusercontent.com/Ashutosh0x/arc-cli/main/install.ps1 | iex

# From source
cargo install --git https://github.com/Ashutosh0x/arc-cli
```

## What it does

ARC is a terminal-native AI coding agent. You point it at a codebase, describe what you want, and it plans, writes, and verifies the changes autonomously.

It connects to Claude, Gemini, OpenAI, Groq, xAI Grok, or Ollama (fully offline). You pick the provider. Switch live with `/provider groq`. If one goes down, it fails over to the next.

```sh
arc chat                    # start a session
/plan "add OAuth2 login"    # generate a plan, review it, accept or reject
/provider groq              # switch to Groq (Llama 3.3 70B)
/model grok-4-1-fast-non-reasoning  # switch model
/checkpoint                 # snapshot current state
/rewind 3                   # undo to checkpoint 3
/compact                    # compress context window
arc review                  # PR critique via 6 specialized agents
```

## Why not Claude Code or Gemini CLI?

| | ARC | Claude Code | Gemini CLI |
|---|-----|-------------|------------|
| Written in | Rust | Node.js | Node.js |
| Cold start | ` | Structural search: functions, classes, types |
| `arc graph trace ` | Call graph — who calls what, BFS depth 1-5 |
| `arc graph architecture` | Architecture overview: layers, clusters, hotspots |
| `arc graph impact` | Map git diff → affected symbols + risk scores |
| `arc graph query ` | Execute Cypher-like graph queries |
| `/plan [task]` | Generate and review a modification plan |
| `/provider [name]` | Switch provider live (anthropic, groq, xai, openai) |
| `/model [name]` | Switch model (e.g. grok-4-1-fast-non-reasoning) |
| `/checkpoint` | Save session state |
| `/rewind [id]` | Restore a previous checkpoint |
| `/compact` | Compress context window |
| `/status` | Show current provider, model, message count |
| `/memory [k] [v]` | Persistent key-value store |
| `/fork [name]` | Branch the conversation |
| `/security-review` | Scan diffs for vulnerability patterns |
| `/copy` | Pick and copy code blocks |

## Code Intelligence

ARC integrates with [codebase-memory-mcp](https://github.com/DeusData/codebase-memory-mcp) to provide structural code intelligence via a persistent knowledge graph.

```sh
arc graph index                                    # index your project (seconds for typical repos)
arc graph search ".*Handler.*"                     # find all handler functions
arc graph trace authenticate --direction inbound   # who calls authenticate()?
arc graph architecture                             # languages, packages, routes, hotspots
arc graph impact                                   # what breaks from your uncommitted changes?
arc graph query 'MATCH (f:Function)-[:CALLS]->(g) WHERE f.name = "main" RETURN g.name'
```

| Metric | Without graph | With graph |
|--------|--------------|------------|
| Context tokens per query | ~412,000 | ~3,400 |
| Symbol lookup | 50-500ms (grep) | <1ms |
| Languages parsed | 5 | 64 |
| Call graph | No | Yes, BFS depth 1-5 |
| Dead code detection | No | Yes, ~150ms |
| Session memory | Resets | Persists (SQLite) |

## Diff review keybindings

When ARC proposes file changes, you review them interactively:

| Key | Action |
|-----|--------|
| `y` / `Enter` | Accept this change |
| `n` / `Esc` | Reject this change |
| `a` | Accept all remaining |
| `d` | Reject all remaining |
| `e` | Open in `$EDITOR` |
| `j` / `k` | Scroll through large diffs |

## Docs

- [Getting Started](docs/getting-started.md)
- [Architecture](docs/architecture.md)
- [Security Model](docs/authentication.md)
- [Provider Setup](docs/providers.md)
- [MCP Integration](docs/mcp.md)
- [Benchmarks](docs/benchmarks.md)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md). The codebase enforces `#![forbid(unsafe_code)]`, `cargo fmt`, and `cargo clippy` on every PR.

## License

MIT

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Ashutosh0x](https://github.com/Ashutosh0x)
- **Source:** [Ashutosh0x/arc-cli](https://github.com/Ashutosh0x/arc-cli)
- **License:** MIT
- **Homepage:** https://arc-cli-docs.vercel.app

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-ashutosh0x-arc-cli
- Seller: https://agentstack.voostack.com/s/ashutosh0x
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
