Build AI agents
Build AI agents in Camunda by modeling an AI agent, connecting it to an LLM, and giving it tools and memory.
About
Ready to start building AI agents in Camunda? An AI agent runs its agent loop in Camunda's engine, which activates each tool call as a governed BPMN activity. You model the agent with the AI Agent connector.
Get started by building your first AI agent.
Choose an LLM
A large language model (LLM) provides the agent's reasoning. The agent sends it a prompt and the available tools, and the LLM decides what to do next.
- To get started quickly in Camunda SaaS, use the Camunda-provided LLM.
- To choose a model, see choose the right LLM.
- To compare recommendations and write effective prompts, see LLM recommendations.
Extend your agent capabilities
Use these guides to add tools and long-term memory to your agent.
Tools are the BPMN activities an agent can call to act on your systems, such as service tasks, human tasks, and sub-processes. The agent selects which tools to run, and Camunda applies retries and incident handling to each call.
By default, an agent only knows what is in its conversation context. To give it long-term memory, store embeddings in a vector database and retrieve them when the agent needs them.