AI Agent Task
Execute a single AI-powered action with tool calling capabilities
Required inputs
| Key | Label | Type |
|---|---|---|
provider.anthropic.backend.anthropic.apiKey | Anthropic API key | secret |
provider.anthropic.backend.awsBedrockMantle.region | AWS region | FEEL expression |
provider.anthropic.backend.awsBedrockMantle.authentication.accessKey | Access key | secret |
provider.anthropic.backend.awsBedrockMantle.authentication.secretKey | Secret key | secret |
provider.anthropic.backend.awsBedrockMantle.authentication.apiKey | API key | secret |
provider.anthropic.backend.foundry.endpoint | API endpoint | FEEL expression |
provider.anthropic.backend.foundry.authentication.apiKey | API key | secret |
provider.anthropic.backend.foundry.authentication.clientId | Client ID | FEEL expression |
provider.anthropic.backend.foundry.authentication.clientSecret | Client secret | secret |
provider.anthropic.backend.foundry.authentication.tenantId | Tenant ID | FEEL expression |
provider.anthropic.backend.custom.endpoint | API endpoint | FEEL expression |
provider.anthropic.backend.custom.authentication.apiKey | API key | secret |
provider.anthropic.backend.custom.authentication.oauthTokenEndpoint | OAuth 2.0 token endpoint | secret |
provider.anthropic.backend.custom.authentication.clientId | Client ID | FEEL expression |
provider.anthropic.backend.custom.authentication.clientSecret | Client secret | secret |
provider.anthropic.backend.custom.authentication.clientAuthentication | Client authentication | string |
provider.bedrock.region | AWS region | FEEL expression |
provider.bedrock.authentication.accessKey | Access key | secret |
provider.bedrock.authentication.secretKey | Secret key | secret |
provider.bedrock.authentication.apiKey | API key | secret |
provider.openai.backend.openai.apiKey | OpenAI API key | secret |
provider.openai.backend.foundry.endpoint | API endpoint | FEEL expression |
provider.openai.backend.foundry.authentication.apiKey | API key | secret |
provider.openai.backend.foundry.authentication.clientId | Client ID | FEEL expression |
provider.openai.backend.foundry.authentication.clientSecret | Client secret | secret |
provider.openai.backend.foundry.authentication.tenantId | Tenant ID | FEEL expression |
provider.openai.backend.custom.endpoint | API endpoint | FEEL expression |
provider.openai.backend.custom.authentication.apiKey | API key | secret |
provider.openai.backend.custom.authentication.oauthTokenEndpoint | OAuth 2.0 token endpoint | secret |
provider.openai.backend.custom.authentication.clientId | Client ID | FEEL expression |
provider.openai.backend.custom.authentication.clientSecret | Client secret | secret |
provider.openai.backend.custom.authentication.clientAuthentication | Client authentication | string |
provider.googleGemini.backend.googleGeminiApi.apiKey | Gemini API key | secret |
provider.googleGemini.backend.googleVertexAi.projectId | Project ID | FEEL expression |
provider.googleGemini.backend.googleVertexAi.region | Region | FEEL expression |
provider.googleGemini.backend.googleVertexAi.authentication.jsonKey | JSON key of the service account | FEEL expression |
provider.providerType | Provider type | FEEL expression |
provider.anthropic.model.model | Model | FEEL expression |
provider.bedrock.model.model | Model | FEEL expression |
provider.openai.model.model | Model | FEEL expression |
provider.googleGemini.model.model | Model | FEEL expression |
provider.model | Model | FEEL expression |
data.systemPrompt.prompt | System prompt | FEEL expression |
data.userPrompt.prompt | User prompt | FEEL expression |
data.agentContext | Agent context | FEEL expression |
data.memory.storage.region | Region | FEEL expression |
data.memory.storage.authentication.accessKey | Access key | secret |
data.memory.storage.authentication.secretKey | Secret key | secret |
data.memory.storage.memoryId | Memory ID | FEEL expression |
data.memory.storage.actorId | Actor ID | FEEL expression |
data.memory.storage.storeType | Implementation type | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
provider.type | Provider | string |
provider.anthropic.backend.type | Backend | string |
provider.anthropic.backend.awsBedrockMantle.endpoint | Custom endpoint | FEEL expression |
provider.anthropic.backend.awsBedrockMantle.authentication.type | Authentication | string |
provider.anthropic.backend.foundry.authentication.type | Authentication | string |
provider.anthropic.backend.foundry.authentication.authorityHost | Authority host | FEEL expression |
provider.anthropic.backend.foundry.authentication.managedIdentity.clientId | Client ID | FEEL expression |
provider.anthropic.backend.custom.authentication.type | Authentication | string |
provider.anthropic.backend.custom.authentication.audience | Audience | FEEL expression |
provider.anthropic.backend.custom.authentication.scopes | Scopes | FEEL expression |
provider.anthropic.timeouts.timeout | Timeout | FEEL expression |
provider.bedrock.endpoint | Custom endpoint | FEEL expression |
provider.bedrock.authentication.type | Authentication | string |
provider.bedrock.timeouts.timeout | Timeout | FEEL expression |
provider.openai.api.type | API | string |
provider.openai.backend.type | Backend | string |
provider.openai.backend.openai.organizationId | Organization ID | FEEL expression |
provider.openai.backend.openai.projectId | Project ID | FEEL expression |
provider.openai.backend.foundry.authentication.type | Authentication | string |
provider.openai.backend.foundry.authentication.authorityHost | Authority host | FEEL expression |
provider.openai.backend.foundry.authentication.managedIdentity.clientId | Client ID | FEEL expression |
provider.openai.backend.custom.authentication.type | Authentication | string |
provider.openai.backend.custom.authentication.audience | Audience | FEEL expression |
provider.openai.backend.custom.authentication.scopes | Scopes | FEEL expression |
provider.openai.timeouts.timeout | Timeout | FEEL expression |
provider.googleGemini.backend.type | Backend | string |
provider.googleGemini.backend.googleVertexAi.authentication.type | Authentication | string |
provider.googleGemini.timeouts.timeout | Timeout | FEEL expression |
provider.parameters | Provider parameters | FEEL expression |
provider.anthropic.backend.custom.headers | HTTP headers | FEEL expression |
provider.anthropic.backend.custom.queryParameters | Query parameters | FEEL expression |
provider.anthropic.backend.custom.bodyProperties | Body properties | FEEL expression |
provider.bedrock.headers | HTTP headers | FEEL expression |
provider.bedrock.queryParameters | Query parameters | FEEL expression |
provider.bedrock.bodyProperties | Body properties | FEEL expression |
provider.openai.backend.custom.headers | Headers | FEEL expression |
provider.openai.backend.custom.queryParameters | Query parameters | FEEL expression |
provider.openai.backend.custom.bodyProperties | Body properties | FEEL expression |
provider.anthropic.model.parameters.effort | Effort | string |
provider.anthropic.model.parameters.thinking.mode | Thinking mode | string |
provider.anthropic.model.parameters.thinking.budgetTokens | Thinking budget tokens | secret |
provider.anthropic.model.parameters.thinking.display | Thinking display | string |
provider.anthropic.model.parameters.promptCaching.enabled | Enable prompt caching | string |
provider.bedrock.model.parameters.promptCaching.enabled | Enable prompt caching | string |
provider.openai.api.responses.effort | Effort | string |
provider.openai.api.completions.effort | Effort | string |
provider.googleGemini.model.parameters.thinking.thinkingBudget | Thinking budget (tokens) | secret |
provider.googleGemini.model.parameters.thinking.thinkingLevel | Thinking level | string |
provider.anthropic.model.parameters.maxTokens | Maximum 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.maxTokens | Maximum tokens | secret |
provider.bedrock.model.parameters.temperature | Temperature | FEEL expression |
provider.bedrock.model.parameters.topP | top P | FEEL expression |
provider.openai.api.responses.maxOutputTokens | Max output tokens | secret |
provider.openai.api.responses.temperature | Temperature | FEEL expression |
provider.openai.api.responses.topP | top P | FEEL expression |
provider.openai.api.completions.maxCompletionTokens | Max completion tokens | secret |
provider.openai.api.completions.temperature | Temperature | FEEL expression |
provider.openai.api.completions.topP | top P | FEEL expression |
provider.googleGemini.model.parameters.maxTokens | Maximum tokens | secret |
provider.googleGemini.model.parameters.temperature | Temperature | FEEL expression |
provider.googleGemini.model.parameters.topP | top P | FEEL expression |
provider.googleGemini.model.parameters.topK | top K | FEEL expression |
data.userPrompt.documents | Documents | FEEL expression |
data.tools.containerElementId | Ad-hoc sub-process ID | FEEL expression |
data.tools.toolCallResults | Tool call results | FEEL expression |
data.memory.storage.type | Memory storage type | string |
data.memory.storage.timeToLive | Document TTL | FEEL expression |
data.memory.storage.customProperties | Custom document properties | FEEL expression |
data.memory.storage.endpoint | Endpoint | FEEL expression |
data.memory.storage.authentication.type | Authentication | string |
data.memory.storage.parameters | Parameters | FEEL expression |
data.memory.contextWindowSize | Context window size | string |
data.limits.maxModelCalls | Maximum model calls | string |
data.response.format.type | Response format | string |
data.response.format.parseJson | Parse text as JSON | string |
data.response.format.schema | Response JSON schema | FEEL expression |
data.response.format.schemaName | Response JSON schema name | FEEL expression |
data.response.includeAssistantMessage | Include assistant message | string |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
retryCount | Retries | FEEL expression |
retryBackoff | Retry backoff | string |
jobTimeout | Job timeout | string |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.agenticai.ai-agent-task.v2", {
"provider.anthropic.backend.anthropic.apiKey": "<your anthropic api key>",
"provider.anthropic.backend.awsBedrockMantle.region": "= ...",
"provider.anthropic.backend.awsBedrockMantle.authentication.accessKey": "<your access key>",
"provider.anthropic.backend.awsBedrockMantle.authentication.secretKey": "<your secret key>",
"provider.anthropic.backend.awsBedrockMantle.authentication.apiKey": "<your api key>",
"provider.anthropic.backend.foundry.endpoint": "= ...",
"provider.anthropic.backend.foundry.authentication.apiKey": "<your api key>",
"provider.anthropic.backend.foundry.authentication.clientId": "= ...",
"provider.anthropic.backend.foundry.authentication.clientSecret": "<your client secret>",
"provider.anthropic.backend.foundry.authentication.tenantId": "= ...",
"provider.anthropic.backend.custom.endpoint": "= ...",
"provider.anthropic.backend.custom.authentication.apiKey": "<your api key>",
"provider.anthropic.backend.custom.authentication.oauthTokenEndpoint": "<your oauth 2.0 token endpoint>",
"provider.anthropic.backend.custom.authentication.clientId": "= ...",
"provider.anthropic.backend.custom.authentication.clientSecret": "<your client secret>",
"provider.anthropic.backend.custom.authentication.clientAuthentication": "BASIC_AUTH_HEADER",
"provider.bedrock.region": "= ...",
"provider.bedrock.authentication.accessKey": "<your access key>",
"provider.bedrock.authentication.secretKey": "<your secret key>",
"provider.bedrock.authentication.apiKey": "<your api key>",
"provider.openai.backend.openai.apiKey": "<your openai api key>",
"provider.openai.backend.foundry.endpoint": "= ...",
"provider.openai.backend.foundry.authentication.apiKey": "<your api key>",
"provider.openai.backend.foundry.authentication.clientId": "= ...",
"provider.openai.backend.foundry.authentication.clientSecret": "<your client secret>",
"provider.openai.backend.foundry.authentication.tenantId": "= ...",
"provider.openai.backend.custom.endpoint": "= ...",
"provider.openai.backend.custom.authentication.apiKey": "<your api key>",
"provider.openai.backend.custom.authentication.oauthTokenEndpoint": "<your oauth 2.0 token endpoint>",
"provider.openai.backend.custom.authentication.clientId": "= ...",
"provider.openai.backend.custom.authentication.clientSecret": "<your client secret>",
"provider.openai.backend.custom.authentication.clientAuthentication": "BASIC_AUTH_HEADER",
"provider.googleGemini.backend.googleGeminiApi.apiKey": "<your gemini api key>",
"provider.googleGemini.backend.googleVertexAi.projectId": "= ...",
"provider.googleGemini.backend.googleVertexAi.region": "= ...",
"provider.googleGemini.backend.googleVertexAi.authentication.jsonKey": "= ...",
"provider.providerType": "= ...",
"provider.anthropic.model.model": "= ...",
"provider.bedrock.model.model": "= ...",
"provider.openai.model.model": "= ...",
"provider.googleGemini.model.model": "= ...",
"provider.model": "= ...",
"data.systemPrompt.prompt": "= ="You are **TaskAgent**, a helpful, capable agent that can handle a wide variety of customer requests using your own knowledge **and** any tools explicitly provided to you at runtime. Prefer a provided tool over guessing whenever it would give a more accurate or reliable answer, and only use tools that were explicitly configured for you (never assume a tool exists). You can call the same tool multiple times with different inputs if that helps complete the request. If no tool fits the request, answer from your own knowledge; if you can't produce a reliable answer, say so plainly and explain why, rather than guessing."",
"data.userPrompt.prompt": "= ...",
"data.agentContext": "= =agent.context",
"data.memory.storage.region": "= ...",
"data.memory.storage.authentication.accessKey": "<your access key>",
"data.memory.storage.authentication.secretKey": "<your secret key>",
"data.memory.storage.memoryId": "= ...",
"data.memory.storage.actorId": "= ...",
"data.memory.storage.storeType": "= ...",
"provider.type": "anthropic",
"provider.anthropic.backend.type": "anthropic-api",
})