Infra Assistant: code assist

Infra Assistant: code assist assist helps accelerate Puppet development for network automation by translating natural language into validated tasks for managing network devices. It also provides support for Puppet code, Forge modules, tasks, and plans with best practices.

Infra Assistant: code assist uses a Model Context Protocol (MCP) server to integrate directly with your code generation tools. This integration enables Puppet‑specific context to help streamline the coding process and allow you to focus on outcomes rather than syntax.

Before you begin:
  • The service requires an extra 512 MB of RAM.
  • Infra Assistant: code assist is included with Puppet Enterprise Advanced (PEA) and provides assistance for Puppet code, Forge modules, tasks, and plans. To use Infra Assistant: code assist for network device code generation, you must also have the Puppet Edge add‑on in addition to your PEA license. Contact your Puppet Enterprise (PE) administrator or contact our sales team to enable this feature.
  • To use Infra Assistant: code assist, you must enable Infra Assistant and enable the MCP server (see steps 1–3 in Enable the Infra Assistant). The MCP server does not require access to an external AI provider, so you do not need to complete the remaining Infra Assistant enablement steps (steps 4–6), such as adding an OpenAI or Azure OpenAI key, to use Infra Assistant: code assist. If you enabled Infra Assistant without selecting Enable MCP server and want to enable it later, see Enable the MCP server.
 
  • The MCP server does not use the LLM integration.

  • For Infra Assistant: code assist, the MCP server exposes the following tools:

    • get_puppet_guide

    • list_puppet_entities

    • get_puppet_entity_docs

  • When using Infra Assistant: code assist with EdgeOps, the MCP server exposes additional tools:

    • get_device_info

    • get_module_docs

  • Developers will need access to the PE console host and the CA certificate that’s being used for the console (this may be different from the PE CA certificate based on user configuration).