Add OCI LLM, embeddings, and Oracle integrations#4885
Open
fede-kamel wants to merge 9 commits intocrewAIInc:mainfrom
Open
Add OCI LLM, embeddings, and Oracle integrations#4885fede-kamel wants to merge 9 commits intocrewAIInc:mainfrom
fede-kamel wants to merge 9 commits intocrewAIInc:mainfrom
Conversation
lib/crewai/src/crewai/rag/embeddings/providers/oci/embedding_callable.py
Outdated
Show resolved
Hide resolved
lib/crewai-tools/src/crewai_tools/oracle_db/knowledge_base/retriever_tool.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR adds first-class OCI support across CrewAI’s native LLM and embedding paths, plus OCI and Oracle DB tool integrations in
crewai-tools.What’s included
crewaicrewai-toolsKey fixes
OCICompletion.abatch()Validation
This PR was validated with targeted unit and live integration coverage against real OCI profiles and a real Oracle Autonomous Database.
Validated live paths include:
Final targeted checks:
crewaiOCI source: cleancrewai-toolsOCI/Oracle source: cleanTargeted test results:
crewaiOCI slice:5 passed, 5 skippedcrewai-toolsOCI/Oracle slice:9 passed, 4 skippedThe remaining skips in those targeted reruns are expected live-env/model-selection skips from the integration harness, not product failures.
Notes
ORA-40284behavior.lib/crewai/tests/llms/oci/profile_oci_agent.py.Commit split
7cfb5f7Add OCI LLM and embedding support to crewaid6ae839Add OCI and Oracle DB tools integrationsNote
High Risk
Adds a new native LLM provider (including streaming/tool-calling/structured output) and a new embeddings provider, plus new OCI/Object Storage/Oracle DB tools, touching core model routing and RAG factory code paths. Risk is mainly in provider selection/streaming/tool execution and optional-dependency handling affecting existing LLM/RAG behavior.
Overview
Adds first-class Oracle Cloud Infrastructure (OCI) support to CrewAI, including a new native
ociLLM provider with streaming, async/batch helpers, tool calling, structured outputs, and multimodal message normalization, plus response metadata capture.Extends RAG to support OCI embeddings (text + image) via a new
ociembeddings provider and updates optional import handling for RAG factories.Introduces new
crewai-toolsintegrations for OCI agent invocation, OCI Object Storage read/write, and an OCI-backed knowledge base retriever, along with new Oracle Database retrieval tools (text, vector, and hybrid search) and associated unit/live integration tests and documentation updates (OCI setup + new tool pages).Written by Cursor Bugbot for commit 9be59b9. This will update automatically on new commits. Configure here.