Make ArcGIS Pro agent-native.
An AI agent drives ArcGIS Pro end to end — data → clip → analysis → publication-ready map — and you watch it happen.
Demo · Features · Quickstart · Commands · MCP tools · Architecture
--- > The **closed-source counterpart** to [CLI-Anything](https://github.com/HKUDS/CLI-Anything)'s QGIS harness. ArcGIS Pro is Esri's commercial GIS desktop app, so it can't be auto-generated from source — this wraps its official **ArcPy / ArcGIS Pro SDK** instead, in two complementary modes: > > ✅ **Listed in the official [CLI-Anything registry](https://github.com/HKUDS/CLI-Anything/blob/main/public_registry.json)** ([PR #318](https://github.com/HKUDS/CLI-Anything/pull/318), merged) and on the **[Glama MCP registry](https://glama.ai/mcp/servers/Jasper0122/CLI-Anything-Arcgis-Pro)**. | Mode | What it drives | How | |---|---|---| | **Headless CLI** | `.aprx` projects & geodatabases on disk | `pip` package over `arcpy` | | **Live bridge + MCP** | the **open** ArcGIS Pro session (you watch it work) | in-process .NET add-in + MCP server | ## ✨ Features - 🗺️ **Professional cartography** — export layouts and **Map Series / map books** (ArcGIS Pro's edge over QGIS). - 🧰 **The whole ArcToolbox** — run any geoprocessing tool (buffer, clip, intersect, dissolve, …) via one command. - 🔌 **Drive the *live* session** — an agent operates the open project over MCP; results appear in the map as you watch. - 🤖 **Agent-native I/O** — every command speaks JSON: `{ "ok": …, "data" | "error": … }`. - 🧠 **Self-healing install** — the CLI re-dispatches into ArcGIS Pro's Python automatically, so it works no matter where it's installed. - ✅ **Tested** — `test_core` (no backend) + `test_full_e2e` (needs ArcGIS Pro). ## 🎬 Demo A complete workflow driven **live** by an agent — data → clip → analysis → finished map — inside ArcGIS Pro through the MCP bridge: ## 🚀 Quickstart Install into ArcGIS Pro's bundled Python (`arcgispro-py3`), which provides ArcPy: ```bat "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" -m pip install ^ git+https://github.com/Jasper0122/CLI-Anything-Arcgis-Pro.git ``` ```bat cli-anything-arcgis-pro --json info ``` > **Installed into a different Python?** (e.g. via the CLI-Hub, which uses its own interpreter.) That's fine — the command **self-dispatches** into ArcGIS Pro's `arcgispro-py3` interpreter when ArcPy isn't present. It locates Pro via common install paths, the `SOFTWARE\ESRI\ArcGISPro` registry key, or the `CLI_ANYTHING_ARCGIS_PYTHON` environment variable. **Requires** a licensed **ArcGIS Pro** install (provides ArcPy). Verified on ArcGIS Pro 3.4 / ArcPy 3.4.3 / .NET 8. For the live bridge, build & install the add-in and register the MCP server — see [`live-bridge/README.md`](live-bridge/README.md). ## 🧰 Commands Headless CLI (every command takes `--json` before the subcommand): | Command | What it does | |---|---| | `info` | ArcPy version, license level, extension availability. | | `project inspect / layers` | Maps, layouts, layers, data sources of an `.aprx`. | | `layout list / export / mapseries` | ★ Professional export: layouts + Map Series / map books. | | `map add-data / symbology graduated / symbology unique` | Author the map: add layers, apply graduated-color / unique-value renderers. | | `data describe / fields / count / query / calc` | Inspect & edit feature classes and tables. | | `gpdocs/implementation-flow.canvas (JSON Canvas / Obsidian).
## 📁 Repository layout
```
cli_anything_arcgis_pro/ headless ArcPy CLI (pip package)
tests/ test_core.py (no backend) + test_full_e2e.py (needs Pro)
demos/ runnable demos (headless, live bridge, full region workflow)
live-bridge/
mcp_server.py stdlib-only MCP server → in-Pro bridge
ProSimpleMapExport/ ArcGIS Pro .NET add-in (bridge server + export button)
docs/ hero image, architecture diagram (.png + .canvas)
SKILL.md canonical agent skill definition
```
## 🤝 Contributing
This is a standalone harness for [CLI-Anything](https://github.com/HKUDS/CLI-Anything) (listed in its [registry](https://github.com/HKUDS/CLI-Anything/blob/main/public_registry.json), merged in [#318](https://github.com/HKUDS/CLI-Anything/pull/318)). Issues and PRs welcome — run the tests with ArcGIS Pro's Python:
```bat
"C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" -m pytest tests/
```
**Where to help:** see the [**Roadmap**](ROADMAP.md) — it maps every planned command to its ArcPy / Pro SDK API and marks tasks that need **no ArcGIS license** (🐍, e.g. the MCP server, tests, docs) and good first issues (🟢). The biggest open frontier is **cartographic authoring** (symbology, layout, layer management) — the part that makes ArcGIS Pro beat QGIS.
## 📄 License
**Source-available**, not OSI open-source. Licensed under the
[**PolyForm Noncommercial License 1.0.0**](LICENSE):
- 🟢 **Free** for noncommercial use — personal projects, study, research,
evaluation, and nonprofit / educational / government organizations.
- 💼 **Commercial use requires a paid license** — see
[`LICENSE-COMMERCIAL.md`](LICENSE-COMMERCIAL.md).
This is an independent downstream project; upstream
[CLI-Anything](https://github.com/HKUDS/CLI-Anything) is separately
licensed under Apache-2.0.
## 🙏 Acknowledgements
Built as a contribution to [HKUDS/CLI-Anything](https://github.com/HKUDS/CLI-Anything) — *"Making ALL Software Agent-Native."* ArcGIS, ArcGIS Pro and ArcPy are trademarks of Esri; this project is an independent integration and is not affiliated with Esri.