Home / Connectors / AI Agent (alpha)

AI Agent (alpha)

AI Agent connector

outbound io.camunda.agenticai:aiagent:0

Required inputs

KeyLabelType
provider.anthropic.model.model Model FEEL expression
provider.bedrock.region Region FEEL expression
provider.bedrock.model.model Model FEEL expression
provider.openai.model.model Model FEEL expression
provider.anthropic.authentication.apiKey Anthropic API Key secret
provider.bedrock.authentication.accessKey Access key secret
provider.bedrock.authentication.secretKey Secret key secret
provider.openai.authentication.apiKey OpenAI API Key secret
data.agentContext Agent Context FEEL expression
data.systemPrompt.prompt System Prompt FEEL expression
data.userPrompt.prompt User Prompt FEEL expression
data.memory.maxMessages Maximum amount of messages to keep in memory string
data.guardrails.maxModelCalls Maximum number of calls to the model string

Optional inputs

KeyLabelType
provider.type Provider string
provider.bedrock.authentication.type Authentication string
provider.openai.authentication.organization Organization FEEL expression
provider.openai.authentication.project Project FEEL expression
data.systemPrompt.parameters System Prompt Parameters FEEL expression
data.userPrompt.parameters User Prompt Parameters FEEL expression
data.userPrompt.documents Documents FEEL expression
data.tools.containerElementId Ad-hoc subprocess ID containing tools FEEL expression
data.tools.toolCallResults Tool Call Results FEEL expression
provider.anthropic.model.parameters.maxOutputTokens Maximum Output Tokens secret
provider.anthropic.model.parameters.temperature Temperature FEEL expression
provider.anthropic.model.parameters.topP top P FEEL expression
provider.anthropic.model.parameters.topK top K FEEL expression
provider.bedrock.model.parameters.maxOutputTokens Maximum Output Tokens secret
provider.bedrock.model.parameters.temperature Temperature FEEL expression
provider.bedrock.model.parameters.topP top P FEEL expression
provider.bedrock.model.parameters.topK top K FEEL expression
provider.openai.model.parameters.maxOutputTokens Maximum Output Tokens secret
provider.openai.model.parameters.temperature Temperature FEEL expression
provider.openai.model.parameters.topP top P FEEL expression
provider.openai.model.parameters.topK top K FEEL expression
resultVariable Result variable string
resultExpression Result expression FEEL expression
errorExpression Error expression FEEL expression
retryCount Retries FEEL expression
retryBackoff Retry backoff string

Apply this connector with @bpmnkit/connectors

import { applyConnectorTemplate } from "@bpmnkit/connectors" const result = applyConnectorTemplate("io.camunda.connectors.agenticai.aiagent.v0", { "provider.anthropic.model.model": "= claude-3-5-sonnet-20240620", "provider.bedrock.region": "= ...", "provider.bedrock.model.model": "= anthropic.claude-3-5-sonnet-20240620-v1:0", "provider.openai.model.model": "= gpt-4o", "provider.anthropic.authentication.apiKey": "<your anthropic api key>", "provider.bedrock.authentication.accessKey": "<your access key>", "provider.bedrock.authentication.secretKey": "<your secret key>", "provider.openai.authentication.apiKey": "<your openai api key>", "data.agentContext": "= ...", "data.systemPrompt.prompt": "= ...", "data.userPrompt.prompt": "= ...", "data.memory.maxMessages": 20, "data.guardrails.maxModelCalls": 10, "provider.type": "anthropic", "provider.bedrock.authentication.type": "defaultCredentialsChain", })