Skip to content

Deprecate old AI Agent connector types and rewrite legacy input shape #7226

@maff

Description

@maff

What should we do?

Keep io.camunda.agenticai:aiagent:1 and io.camunda.agenticai:aiagent-job-worker:1 operational as a backward-compatibility shim:

  • The old AiAgentFunction and AiAgentJobWorker connector classes stay as thin entry points that read the legacy input shape, rewrite it to the new ProviderConfiguration shape, and delegate to the same internal service the new connector classes invoke.
  • Mark both old classes @Deprecated with a Javadoc note pointing at the new connector types.
  • Old element templates stay in place under element-templates/versioned/ for existing process models. No new feature flags from Phase 2 (Responses API, Anthropic cloud backends via SDK platform-backend modules, custom provider SPI) are exposed on the old templates.

Why should we do it?

Existing customers' processes must keep running after the switch. Routing the legacy input shape through a rewrite step at the connector boundary contains the backward-compatibility cost to one well-tested layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentic-aikind:taskCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

    Type

    Urgency

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions