AI agents
Start building and integrating AI agents into your end-to-end processes.
About AI agents
An AI agent is a software program that autonomously gathers data and carries out tasks using this information, independently or on behalf of another system or person.
-
AI agents can perform a variety of functions, including making decisions, solving problems, interacting with external environments, and taking actions.
-
For example, you can use an AI agent to select and execute tasks within an ad-hoc sub-process, by evaluating the current process context and determining the relevant tasks and tools to use in response.
AI agent integration features
Use the following Camunda 8 features to integrate AI agents into your processes:
Type | Feature | Description |
---|---|---|
BPMN subprocess | Ad-hoc sub-process | A special kind of embedded subprocess with an ad-hoc marker that allows a small part of your process decision-making to be handed over to a human or agent. |
Connector | AI agent connector | Enables AI agents to integrate with an LLM to provide interaction/reasoning capabilities. Use with an ad-hoc sub-process in a feedback loop, providing automated user interaction and tool selection. |
Connector | Ad-Hoc Tools Schema Resolver connector | Can be used independently in combination with other AI connectors for direct LLM interaction (if you don't want to use the AI Agent connector but still want to resolve tools for an ad-hoc sub-process) and debugging tool definitions. |
Connector | Vector database connector | Allows embedding, storing, and retrieving Large Language Model (LLM) embeddings. Use for building AI-based solutions, such as context document search, long-term LLM memory, and agentic AI interaction. |
Integrate an AI agent into your process
A common model for AI agent integration uses an ad-hoc sub-process and AI agent connector in a tools feedback loop.
In this model, an AI agent is defined using an AI agent connector, with the tools available to the agent defined in an ad-hoc sub-process. The AI agent is able to understand the context and process goal, and uses the available tools to complete the goal.
Learn more about this model in the example AI Agent connector integration and guide to adding a tool for an AI agent.
Learn more about building and integrating AI agents in Camunda 8: