- Answering questions about OpenOps and FinOps using the AI assistant chat
- Using prompts as workflow steps based on outputs from previous steps
- 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
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 several forms:- The AI assistant chat, where you ask free-form questions
- A standalone AI Step action that lets you send prompts that use the outputs of previous workflow steps as context
- The Generate with AI command in step properties, 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: 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?”
AI Step action
The AI Step action lets you run AI prompts in a separate step in your workflow, using outputs of its previous steps as context. You add AI Step as you would add any other action. You then specify a prompt in the Prompt field and any relevant outputs of previous steps in the Additional input section: Alternatively, you can combine prompt text and outputs from previous steps in the Prompt field.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: 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: Click Inject command in the AI chat window to insert the generated command into the action’s Command field.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:
