Enterprise

Search documentation

AI Agent and Connectors

An AI agent chooses which BPMN activities to run to answer a request. The engine owns the process, activities, human tasks and transaction boundaries. The agent worker calls a language model outside the engine and requests the next steps. The Connectors catalog groups ready-made external task workers for REST, MCP and single-shot AI tasks.

Choose an execution model

NeedUse
Classify or extract data from one prompt, without toolsAI Task
Let a model choose and combine tools, possibly waiting for a personAI agent on a worker-driven ad-hoc subprocess
Call an HTTP API at a prescribed BPMN stepREST connector
Call or discover an MCP server’s toolsMCP connectors
Let a person or application activate ad-hoc activities without a modelEngine ad-hoc API

What happens in a turn

The engine makes the agent’s decision turn available as an external task. The worker reads its local inputs and available activities, restores conversation memory and calls the configured model. A tool call activates a BPMN inner flow. That flow may call REST, call MCP, evaluate DMN, invoke a process or wait at a user task. Once results are available, the agent continues with them. A final answer completes the subprocess and passes through its output mapping.

A user task can remain open while the worker restarts. The engine still owns the task; the worker resumes from persisted state when a decision turn becomes available. External side effects require the same idempotency care as other external tasks: an HTTP timeout does not prove that a remote operation failed.

Read by task

Your taskStart hereContinue with
Run an agent for the first timeGetting StartedSupport-agent example
Design its behaviorAI AgentProviders, BPMN tools, conversation memory, events and cancellation under that page
Add an integration activityConnectors catalogREST, MCP or the single-shot AI Task
Author a BPMN modelModeling and Element TemplatesManual XML recipe
Run and maintain the workerDeployment and OperationsJDBC administration and observability under that page
Check an exact setting, variable or dependencyConfiguration, Variables, DependenciesSeparate deployment properties from BPMN inputs and connector versions from engine versions

Conversation memory is the agent’s working context. Worker audit, engine history and provider billing answer different questions; see Observability and Model Usage when reconciling model calls or investigating replaced turns.