AppStrings.How it works
Developer tools / CONNECTION GUIDE

iTerm2 AI Integrations

iTerm2 exposes a Python scripting API for terminal windows and sessions on macOS.

Integration documentation

iTerm2 integrations and connections

API · Live app

iTerm2 Python API

iTerm2 exposes a Python scripting API for terminal windows and sessions on macOS.

Platforms: macOS

Claude Code · Not documented

The native interface is documented, but no setup for this coding agent is established by this source.

Codex · Not documented

The native interface is documented, but no setup for this coding agent is established by this source.

Cursor · Not documented

The native interface is documented, but no setup for this coding agent is established by this source.

Requirements and limitations

iTerm2 on macOS with the Python API enabled and scripts permitted to connect.

Access requires iTerm2 scripting permissions. Terminal automation is not a predefined coding-agent integration.

Choose an AI agent

Questions before setup

Does one integration cover every workflow?

No such claim is made. Check the capability list, requirements and limitations of each route, then test a copy of a representative project.