Introducing Workflows and Sub-Agents in IBM Bob v2

· Source: Niklas Heidloff · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, short

Summary

IBM Bob v2 introduces workflows and sub-agents to enhance reliability, predictability, and efficiency in AI-driven software development. Workflows allow developers to define precise sequences of steps, blending deterministic code for structured processes (e.g., filesystem scans, shell commands) with AI reasoning for non-deterministic tasks like code generation or analysis. This hybrid approach ensures predictability, efficiency by using zero AI tokens for deterministic steps, and improved debuggability. Specialized workflows, such as the Java Unit Testing Workflow with eight sequential steps, are available through Premium packages like the IBM Bob Premium Package for Java Modernization. Additionally, Bob v2's sub-agents enable parallel execution of isolated tasks by spawning independent agent instances, each with its own clean context window. This significantly reduces wall-clock time for large tasks and maintains context hygiene, making them ideal for modular tasks like generating unit tests for multiple classes simultaneously.

Key takeaway

For AI Engineers developing agentic software, adopting a hybrid workflow approach with IBM Bob v2 can significantly improve reliability and cost-efficiency. You should structure your tasks to utilize deterministic steps for known processes, reserving AI for creative reasoning. Utilize sub-agents to parallelize independent tasks, reducing wall-clock time. This also maintains clean context windows for predictable outcomes.

Key insights

Hybrid AI agentic development combines deterministic steps with AI reasoning for efficiency and control.

Principles

Method

Workflows define a precise sequence of steps, alternating between local deterministic execution (e.g., file scans, shell commands) and AI-driven model invocations for generation or analysis, often incorporating interactive user gates.

In practice

Topics

Best for: AI Architect, AI Engineer, Machine Learning Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Niklas Heidloff.