CAMEL-23382: camel-ai-tool - create unified AI tool component#24473
CAMEL-23382: camel-ai-tool - create unified AI tool component#24473zbendhiba wants to merge 1 commit into
Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
🧪 CI tested the following changed modules:
🔬 Scalpel shadow comparison — Scalpel: 651 tested, 23 compile-only — current: 70 all testedMaveniverse Scalpel detected 674 affected modules (current approach: 70).
|
dca994f to
774568f
Compare
Step 1: Create the new camel-ai-tool module with AiToolSpec, AiToolRegistry, consumer endpoint, and full tests. No changes to existing modules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
774568f to
157b333
Compare
Step 1: Create the new camel-ai-tool module with AiToolSpec, AiToolRegistry, consumer endpoint, and full tests. No changes to existing modules.
Description
Summary
Create the new
camel-ai-toolmodule with the unified AI tool abstraction layer:AiToolSpec— vendor-neutral tool descriptor (name, description, parameters, tags)AiToolRegistry— central registry for discovering and managing AI toolsAiToolConsumer— endpoint that registers Camel routes as AI-callable toolsNo changes to existing modules in this PR.
Roadmap
Technical design details : design/aiTool.adoc file
This work is split into several sequential PRs to keep reviews focused:
camel-ai-toolmodule withAiToolSpec,AiToolRegistry, consumer endpoint, and full tests. No changes to existing modules.camel-langchain4j-agentproducer to read tools fromAiToolRegistryinstead of the old cache, with upgrade guide entry.camel-spring-ai-chatproducer to discover tools fromAiToolRegistry, with upgrade guide entry.camel-langchain4j-toolsproducer to read fromAiToolRegistry, keeping the agentic loop intact.camel-langchain4j-toolsconsumer side and removecamel-spring-ai-toolsentirely, with upgrade guide entries for both.camel-openai. Resolve tools fromAiToolRegistryand implement the dispatch loop(separate Jira issue).