
Apache Hop 2.20 introduces an AI Assistant for pipelines and workflows. It brings questions about your design into the same workspace where you build it. You can ask for an explanation, investigate an error or request a change, then review the proposed edits. The feature is optional and disabled by default.
An unfamiliar workflow can take time to understand. You follow its branches, open each action, and work out what happens when a load fails. When the workflow belongs to someone else, even a small change can mean a long investigation.
For integration teams, a useful starting point is an existing workflow whose behaviour they can verify. That gives the assistant something concrete to discuss and gives the team a way to judge its answers.
Ask about the workflow you already have open
The assistant works with the open pipeline or workflow. Its context can include the graph structure and, when selected, additional information such as checks, transform settings or execution logs.
Consider an ERP export that loads a reporting database. Before changing it, try asking:
Explain this workflow in plain English. Describe the successful path and what happens when a load fails.
Compare the explanation with the actual design. Did it identify the failure branches correctly? Did it mistake a successful extraction for a successful database load?
Those questions make the exercise useful for onboarding, handovers and maintenance. An explanation is valuable when it helps a colleague inspect the design more confidently.
Investigate failures with the relevant execution log
An error message often needs context. A failed load might follow a conversion error, a missing file or an unavailable connection. The assistant can use an included execution log to help investigate.
For example:
Read the included execution log. Identify the first relevant error, separate it from follow-on failures, and suggest what I should inspect next. State what the log does not establish.
Treat the response as a diagnosis to check. Follow its references back to the log, inspect the relevant transform or action, and reproduce the problem with a small test where possible.
This is especially useful when several actions fail after the original problem. A good investigation should help you find evidence while leaving room for another explanation.
Review proposed changes before applying them
When you request an edit, the assistant can return proposals for review. Supported changes include adding or renaming transforms and actions, changing hops and adding notes. More detailed configuration changes use additional proposal types.
A small request is easier to assess:
Add a note explaining the failure branch. Keep the existing execution logic unchanged.
Inspect the proposal, select what you want to apply, and check the resulting design. Hop’s proposal system validates changes and supports applying a selection together. A model’s output still needs engineering review.
Keep the project in Git and use a branch for the experiment. Graph Undo does not cover every kind of AI-assisted change, particularly pasted components and metadata operations.
For a reporting load, validation should include row counts and totals. For an ERP integration, also check document references, duplicate handling and the intended error path. A plausible-looking canvas is only one part of a working integration.
Choose the provider that fits your environment
AI Provider metadata holds a named connection to the model endpoint. Documented choices include OpenAI, Anthropic, Gemini, Grok, Mistral, Hugging Face, Ollama and custom OpenAI-compatible endpoints.
| Choice | How it connects |
|---|---|
| OpenAI models | OpenAI API endpoint |
| Claude models | Anthropic API endpoint |
| Gemini models | Google’s OpenAI-compatible endpoint |
| Local models | An Ollama endpoint |
The assistant connects through a provider endpoint and model. Check API access, usage charges and model availability before setting it up. A local Ollama deployment also needs sufficient hardware for the chosen model.
Provider choice should follow your team’s requirements. Test the same workflow and prompts with a small evaluation set: explanation accuracy, useful error analysis, valid proposals and acceptable response time.
Select the context the question needs
Sharing controls let you choose additional context. The assistant also provides a preview of the outgoing request. Full pipeline or workflow XML requires both the configuration permission and the session option.
Start with the smallest useful context. Add a log for an execution question or the relevant settings for a configuration question. Keep credentials in variables or secret resolvers. Hop masks recognized secrets, but arbitrary text in SQL, notes or logs still needs attention.
For client work, this makes context selection part of the setup. Decide which endpoint is appropriate for the project and inspect what will be sent before using it with that project’s information.
Try it with one familiar workflow
In Hop 2.20, enable the feature under Configuration → Plugins → AI Assistant. Create and test an AI Provider in Metadata, then open the assistant from a pipeline or workflow.
Begin with this prompt:
Explain this workflow and identify its failure paths. List any assumptions you cannot verify from the available context.
Compare the answer with your own understanding. Next, try a known failure and assess the diagnosis. Finally, request one small edit on a branch and test the result.
This gives your team evidence about where the assistant helps. You can then decide whether to use it for handovers, troubleshooting or everyday pipeline maintenance.
Toba Consulting helps teams build and improve Apache Hop integrations. To discuss using AI assistance in your development workflow, visit tobaconsulting.com.