Skip to main content
  1. Docs
  2. Infrastructure AI
  3. Neo in the Pulumi CLI

Neo in the Pulumi CLI

    pulumi neo is Neo in your terminal. Run the command from your project directory to start an interactive session.

    What local execution unlocks

    Running locally means Neo inherits your setup: the CLIs you’ve authenticated, the environment variables and kubeconfigs you’ve configured, and the project you’re editing. Neo can run the same commands you would, against the same systems you have access to, without any additional setup on your part.

    You can ask Neo to investigate a failed preview, make changes to your program and verify them against a fresh preview, read live stack state, or walk through what’s happening in a stack you’re unfamiliar with. The session is interactive, so follow-up messages refine the task in real time.

    Controls

    The controls you have in Pulumi Cloud apply in the terminal:

    • Approval modes (manual, balanced, auto) govern whether Neo asks before using tools
    • Permission modes (default, read-only) govern what Neo can change
    • Plan mode lets Neo research and plan before executing (toggle with Shift+Tab before sending your first message)

    Integrations

    Integrations carry over from Pulumi Cloud. GitHub, Slack, and the rest of the integration catalog work the same way from the terminal.

    Agent handoff

    The Neo handoff skill lets other AI agents start a Neo task using pulumi neo under the hood. From Claude Code, Cursor, or any tool that supports agent skills, you can hand off infrastructure work to Neo without leaving your current session.

    How permissions work

    pulumi neo uses your existing pulumi login and the RBAC permissions of your Pulumi user. Identity, RBAC, and audit all run through your Pulumi Cloud login, the same way they do in the console.

    Get started

    1. Authenticate to Pulumi Cloud with pulumi login
    2. Run pulumi neo from a directory containing a Pulumi.yaml file

    See the pulumi neo command reference for the full list of flags and options.