OpenOps can use a large language model (LLM) of your choice to help you with:
  • Answering questions about OpenOps and FinOps using the AI chatbot
  • Generating CLI commands for AWS, Azure, and GCP
  • Writing SQL queries for AWS Athena, BigQuery, Snowflake, and Databricks
  • Generating JavaScript code for custom code steps in your workflows
You can do all this right inside the workflow editor, without switching context.

Enabling AI assistance

OpenOps doesn’t lock you into a specific AI model. Instead, you bring your own AI keys and connect them to OpenOps. Supported LLMs include OpenAI, Anthropic, Google Generative AI, Groq, Mistral, Perplexity, xAI Grok, and more.

Using AI assistance

AI assistance in OpenOps is available in two main forms: the AI assistant chat, where you ask free-form questions, and the Generate with AI command, which helps you generate commands, queries, and code snippets.

AI assistant chat

Once enabled, the AI assistant chat becomes available in sidebars in every OpenOps view: AI assistant You can use it to ask a variety of questions about OpenOps, your cloud resources, and FinOps in general, such as:
  • “What can I do in OpenOps and how do I use its features?”
  • “How do I create a workflow that does what I want to achieve?”
  • “What actions and connections are used in workflows in my installation?”
  • “What are the recent trends in OpenOps workflow runs, and are there any anomalies?”
  • “Why has a specific workflow started to fail, and why hadn’t it failed before?”
  • “What kind of data does a specific OpenOps table contain, and what workflows use it?”
  • “What are the recent trends in the FinOps community?”
To provide in-depth answers about your OpenOps installation, the AI assistant takes advantage of the OpenOps MCP server, which is enabled by default. It can also work with the Amazon Cost MCP server, enabling you to ask questions about your AWS expenses like “How much did I spend on EC2 last month?”. However, you need to explicitly enable OpenOps to access the Amazon Cost MCP server. See LLM Connections for how to connect.

Generating commands and queries

Whenever you work with an action that requires writing a CLI command or SQL query, you’ll see the Generate with AI command next to the relevant property in the action’s properties pane: Generate with AI When you click Generate with AI, use the AI chat window to describe the outcome you want the command or query to achieve, and your LLM will generate it for you: AI chat window

Generating code steps

When existing no-code actions aren’t a good fit for your workflow, you can use AI assistance to generate JavaScript code for custom code steps. In the properties pane of your Code step, click Generate with AI. When the AI chat window opens, enter a prompt with details about the task you want to accomplish. The AI will generate a code snippet that respects the format expected by the code step. Click Use code to insert the generated code into the step’s Source Code field: Generate code steps with AI Test the step to ensure the generated code works as expected. If it doesn’t on the first try, you can refine your prompt, explicitly provide the output of the previous step, and generate a new code snippet.