Penstock

Guide / Every rule

Tool container that no agent uses

The check agents/adhoc-without-agent, in the group AI agents.

Advice

Why it matters

An ad-hoc sub-process marked as the tool container of an agent, or holding MCP clients or tools written for one, does nothing when no AI agent task names it and it is not an agent itself.

How to fix it

Name the sub-process in the Tools element ID of the agent task, make it the agent, or take the agent marks out of it.

Where you see it

The Problems tab of the BPMN editor lists it, the Agents tab shows it on the agent it belongs to, and penstock check reports it as agents/adhoc-without-agent. It runs on .bpmn files and is free.

Rule details

Idagents/adhoc-without-agent
GroupAI agents
LevelAdvice: it works, and reads or runs better without it

Read more: AI agents of Camunda 8. All rules: Every rule.