You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A practical guide for configuring Cline to call OCI Generative AI models through OCI's OpenAI-compatible API.
4
4
5
+
Cline is an AI coding assistant that works inside your IDE and can help with day-to-day development tasks such as explaining unfamiliar code, generating new files, refactoring existing logic, writing tests, debugging errors, and summarizing repository structure. By connecting Cline to OCI Generative AI, developers can use OCI-hosted models directly from their coding environment while keeping model access, deployment choices, and enterprise controls within Oracle Cloud Infrastructure.
6
+
7
+
This setup is useful when teams want AI-assisted development workflows that can use either on-demand OCI Generative AI models for quick setup or Dedicated AI Cluster (DAC)-hosted models for production-grade isolation, performance, and customization.
8
+
5
9
## Overview
6
10
7
11
This tutorial walks through configuring Cline to use OCI Generative AI models through the OCI OpenAI-compatible API.
8
12
9
13
The process involves:
10
14
11
15
1. Selecting an OCI Generative AI model
12
-
2. Understanding the OCI OpenAI-compatible API endpoint URL
13
-
3. Creating an OCI Generative AI API key
14
-
4. Configuring Cline with the OCI OpenAI-compatible base URL, API key, and model ID
15
-
5. Testing the setup with an example prompt
16
+
2. Choosing whether to use the model on demand or from a Dedicated AI Cluster (DAC)
17
+
3. Understanding the OCI OpenAI-compatible API endpoint URL
18
+
4. Creating an OCI Generative AI API key
19
+
5. Configuring Cline with the OCI OpenAI-compatible base URL, API key, and model ID
20
+
6. Testing the setup with an example prompt
16
21
17
22
OCI provides OpenAI-compatible APIs for model inference, including Chat Completions and Responses. This tutorial uses the OCI Generative AI OpenAI-compatible API documented here:
18
23
@@ -42,21 +47,30 @@ Example regions include:
42
47
-`uk-london-1`
43
48
-`eu-frankfurt-1`
44
49
45
-
The region is used in the OpenAI-compatible base URL.
Select the OCI Generative AI model that you want Cline to use.
67
+
Select the OCI Generative AI model that you want Cline to use. OCI Generative AI models can be used either on demand or from a Dedicated AI Cluster (DAC). The Cline setup is different for each option, so choose the deployment path first.
68
+
69
+
#### On-Demand Models
70
+
71
+
On-demand models are shared, OCI-hosted models that are ready to call directly through the OpenAI-compatible API. This is the simplest setup for testing, prototyping, and lighter usage patterns.
58
72
59
-
Example model IDs:
73
+
Example OCI Model Names:
60
74
61
75
```text
62
76
xai.grok-code-fast-1
@@ -66,20 +80,54 @@ openai.gpt-oss-120b
66
80
google.gemini-2.5-flash
67
81
```
68
82
83
+
For on-demand models, the Cline **Model ID** is the OCI Model Name.
84
+
85
+
#### Dedicated AI Cluster (DAC)-Hosted Models
86
+
87
+
DAC-hosted models run on dedicated infrastructure in your tenancy. Use a DAC-hosted model when you need production-grade control over model hosting and inference. DACs provide several advantages:
88
+
89
+
-**Flexibility:** Import supported Hugging Face-format models from Hugging Face or Object Storage, test imported models with shorter commitments, choose fine-tuned or quantized versions, and right-size based on visible hardware specifications.
90
+
-**Isolation:** Run workloads on dedicated GPU resources inside your tenancy, which helps protect sensitive data, avoids shared-resource contention, and supports regulated workloads.
91
+
-**Predictable latency:** Dedicated infrastructure can provide more stable time-to-first-token and inference response times than shared model endpoints, especially for scaling production applications.
92
+
-**Fine-tuning support:** Host fine-tuned models alongside base models, run multiple fine-tuned models on a single cluster, and control model lifecycle and upgrade cadence.
93
+
-**Cost efficiency at scale:** For inference-heavy workloads, DACs can reduce effective price per token by keeping dedicated resources highly utilized and hosting multiple models on one cluster.
94
+
-**Deployment near data:** Deploy in supported OCI regions, including regulated regions where available, to support data residency, lower latency, and simpler security reviews.
95
+
-**Simplified management:** OCI manages the infrastructure while you manage model deployment, scaling, fine-tuning, and application integration.
96
+
97
+
Before configuring Cline for a DAC-hosted model, make sure the model endpoint is already created and active.
98
+
99
+
1. Open the OCI Console
100
+
2. Navigate to **Analytics & AI -> Generative AI**
101
+
3. Go to **Endpoints**
102
+
4. Confirm that the endpoint for your DAC-hosted model is **Active**
103
+
5. Keep note of the endpoint region and DAC endpoint OCID
104
+
105
+
For DAC-hosted models, the Cline **Model ID** is the DAC endpoint OCID.
106
+
107
+
```text
108
+
ocid1.generativeaiendpoint.<region>..<unique_id>
109
+
```
110
+
69
111
### 3. Understand the OCI OpenAI-Compatible API Endpoint URL
70
112
71
-
All calls from Cline go through the OCI OpenAI-compatible API endpoint URL:
113
+
Cline uses a different OCI OpenAI-compatible endpoint format depending on whether the model is on demand or DAC-hosted.
114
+
115
+
For on-demand models, configure the base URL **without**`/chat/completions`:
Copy file name to clipboardExpand all lines: app-dev/app-integration-and-automation/shared-assets/README.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,42 @@ This section contains various examples related to Application Integration: demo
37
37
38
38
## Demos
39
39
40
+
-[Developer Coaching - Unlocking AI-Driven Automation with Oracle Integration Cloud](https://youtu.be/uXpIVhgdvDA?si=RSbBr4XS-ep0jUrC)
41
+
42
+
In this session we have explored how developers can build intelligent, real-world AI workflows using Oracle Integration Cloud together with OCI AI Services, with minimal custom code. Key theme is around Customer Support.
43
+
44
+
Some of the live demos included:
45
+
46
+
✅ OCI Language for real-time sentiment analysis of customer interactions
47
+
✅ OCI Speech for converting speech to text in automated workflows
48
+
✅ Human-in-the-loop escalation
49
+
50
+
✅ OCI Generative AI for dynamic AI-powered content generation
51
+
✅ Native Actions in OIC to orchestrate end-to-end intelligent automation
52
+
53
+
✅ Exposing Integrations as AI-callable tools with MCP Server in OIC
54
+
55
+
The focus is on practical implementation patterns for AI-driven customer support scenarios, showing how quickly developers can bring AI capabilities directly into enterprise workflows.
56
+
57
+
-[Developer Coaching - Beyond Integration - Designing Agentic AI with Oracle Integration & MCP](https://youtu.be/UyU3-TwGSGU?si=X1zCN3CFqksgBl8t)
58
+
59
+
This session covers following key topic
60
+
61
+
✅ 𝗔𝗴𝗲𝗻𝘁𝗶𝗰 𝗔𝗜 𝘄𝗶𝘁𝗵 𝗢𝗿𝗮𝗰𝗹𝗲 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻 — How OIC fits into agentic architectures where AI agents reason, select tools, and invoke OIC flows to orchestrate real business processes.
62
+
63
+
✅ 𝗘𝘅𝗽𝗼𝘀𝗲 𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗶𝗼𝗻𝘀 𝗮𝘀 𝗠𝗖𝗣 𝗧𝗼𝗼𝗹𝘀 — Publishing OIC integrations as Model Context Protocol (MCP) endpoints — discoverable, callable, and OAuth-secured for AI agents.
64
+
65
+
𝗟𝗶𝘃𝗲 𝗠𝗖𝗣 𝘁𝗼𝗼𝗹 𝗰𝗮𝗹𝗹𝘀 𝗱𝗲𝗺𝗼𝗻𝘀𝘁𝗿𝗮𝘁𝗲𝗱 𝗳𝗿𝗼𝗺:
66
+
→ 𝗣𝗼𝘀𝘁𝗺𝗮𝗻
67
+
→ 𝗟𝗮𝗻𝗴𝗙𝗹𝗼𝘄
68
+
→ 𝗙𝘂𝘀𝗶𝗼𝗻 𝗔𝗜 𝗔𝗴𝗲𝗻𝘁 𝗦𝘁𝘂𝗱𝗶𝗼
69
+
70
+
✅ 𝗢𝗜𝗖 𝗔𝗜 𝗔𝗴𝗲𝗻𝘁 — Building workflows where AI agents invoke multiple integrations to trigger, orchestrate, and enrich enterprise processes.
71
+
72
+
✅ 𝗥𝗲𝗮𝗹-𝘄𝗼𝗿𝗹𝗱 𝗗𝗲𝗺𝗼𝘀 — Invoice automation using OCI Document Understanding & ERP Cloud, and Expense Report approval with human-in-the-loop workflows.
73
+
74
+
If you're building new integrations or modernising existing ones, this session offers practical skills to design intelligent, scalable, and secure agentic solutions.
75
+
40
76
-[Developer Coaching - From Build to Insight Oracle Integration’s Embedded AI Features](https://youtu.be/yXXxpwrbacQ?si=Qs1dabQm_sQHoFGy)
41
77
42
78
This developer coaching session highlights how Oracle Integration’s embedded AI features simplify and accelerate the design, build, and optimization of integrations.
@@ -294,6 +330,28 @@ This section contains various examples related to Application Integration: demo
294
330
295
331
## Blogs
296
332
333
+
-[How We Built an AI Agent on Top of Enterprise Systems](https://www.linkedin.com/pulse/how-we-built-ai-agent-top-enterprise-systems-harris-qureshi-ask2f/)
334
+
335
+
One thing most enterprise AI projects get wrong:
336
+
337
+
They connect the AI directly to the API and call it done.
338
+
339
+
No governance. No audit trail. No identity propagation. No error handling. No way to reach systems securely on-premise, multi-cloud, or legacy.
340
+
341
+
In Part 1, I wrote about why the future is AI unlocking enterprise systems — not replacing them.
342
+
343
+
This is Part 2. The architecture. The protocol. Exactly how we built it.
344
+
345
+
-[The Enterprise AI Moment Nobody Is Talking About](https://www.linkedin.com/pulse/enterprise-ai-moment-nobody-talking-harris-qureshi-ct0nf/)
346
+
347
+
The future isn't AI replacing your enterprise systems.
348
+
349
+
It's AI unlocking them.
350
+
351
+
Most enterprises are sitting on years of data, logic, and investment — and their people still can't get a straight answer without navigating a maze of screens.
352
+
353
+
That's changing. Here's how — and what to get right before you start.
354
+
297
355
-[A Beginner’s Guide to Using OCI Generative AI with Oracle Integration](https://www.linkedin.com/pulse/beginners-guide-using-oci-generative-ai-oracle-harris-qureshi-wqcof/)
298
356
299
357
Designed for Oracle Integration developers, this beginner-friendly guide walks you through:
0 commit comments