Skip to content
FrankX.AI
Enterprise AIJan 21, 20269 min read1,619 words

Production LLMs & AI Agents on OCI

TL;DR

Most GenAI initiatives stall because teams build the model layer and neglect the other five planes that make production possible. This blueprint maps enterprise architecture requirements to OCI services across six planes—from identity to observability—giving you the complete.

Frank Riemer
FrankX
AI Architect & Independent Creator
Ex-Oracle AI Architect · Starlight & ACOS Systems
The complete enterprise architecture blueprint for deploying production-grade LLM and agentic AI systems on Oracle Cloud Infrastructure.
Reading Goal

You'll master production agent architecture, tool integration patterns, and resilient multi-agent orchestration systems.

Production LLMs and AI Agents on OCI: The Six-Plane Enterprise Architecture

TL;DR: Most GenAI initiatives stall because teams build the model layer and neglect the other five planes that make production possible. This blueprint maps enterprise architecture requirements to OCI services across six planes—from identity to observability—giving you the complete stack that survives compliance reviews and 3 AM incidents.

Disclosure: Independent analysis. Not affiliated with, endorsed by, or sponsored by Oracle. Uses public OCI documentation and general enterprise architecture patterns, not confidential Oracle or customer material.

Why Architecture Matters More Than Models

In enterprise-scale AI work, the pattern is familiar: teams can build an LLM demo in a week.

Most are still running that same demo six months later.

The bottleneck isn't the model. It's everything around it:

Why Architecture Matters More Than Models diagram 1
Why Architecture Matters More Than Models

The LLM is a dependency. The system is a product.

The Six-Plane Enterprise Architecture

This framework organizes production GenAI systems into six architectural planes. Each plane has:

  • Clear responsibility boundaries
  • Dedicated OCI services
  • Specific governance controls
  • Failure isolation
The Six-Plane Enterprise Architecture diagram 2
The Six-Plane Enterprise Architecture

Plane 1: Experience Plane

Responsibility: User-facing interfaces that consume AI capabilities

Key Characteristics:

  • Must handle streaming responses gracefully
  • Show intermediate steps for agentic workflows
  • Support human-in-the-loop approval flows
  • Adapt to tool outputs (tables, charts, forms)

OCI Service Mapping:

ComponentOCI ServiceAlternative
Web/Mobile UIOCI APEXCustom React/Next.js on OKE
Chat InterfaceDigital AssistantCustom chat on OCI Functions
Admin ConsoleOCI Console ExtensionsCustom dashboard
API ConsumersAny client via RESTSDK-based integration

Architecture Decision: APEX vs. Custom

Plane 1: Experience Plane diagram 3
Plane 1: Experience Plane

Plane 2: Ingress & Policy Plane

Responsibility: Security boundary, traffic management, tenant governance

Why This Plane Fails First:

  • Agents making tool calls can generate 10-100x the API traffic of a simple chat
  • Token costs can explode without per-tenant quotas
  • Unauthenticated endpoints become prompt injection vectors

OCI Service Mapping:

ComponentOCI ServiceConfiguration
Edge ProtectionOCI WAFRate limiting, geo-blocking, bot mitigation
API ManagementOCI API GatewayAuthN/Z, request transformation, throttling
IdentityOCI IAM + Identity DomainsOIDC, SAML, MFA enforcement
SecretsOCI VaultAPI keys, model credentials, encryption keys
DNS & CDNOCI DNS + Edge ServicesGlobal routing, caching static assets

Reference Architecture: Multi-Tenant API Layer

Plane 2: Ingress & Policy Plane diagram 4
Plane 2: Ingress & Policy Plane

Critical Controls:

ControlImplementationWhy It Matters
Per-Tenant Token BudgetAPI Gateway + Logging AnalyticsPrevents one tenant from consuming all model capacity
Request SigningOCI Vault + API GatewayPrevents replay attacks and request tampering
Prompt Injection DetectionWAF Rules + Custom FunctionsFirst line of defense against adversarial inputs

Plane 3: Orchestration Plane

Responsibility: Agent runtime, workflow control, state management, tool routing

The Core Decision: Managed Agents vs. Framework Agents

Plane 3: Orchestration Plane diagram 5
Plane 3: Orchestration Plane

OCI Service Mapping:

ComponentManaged (Agent Platform)Framework (LangGraph)
RuntimeOCI AI Agent PlatformOKE + Container Instances
StateBuilt-inRedis on OCI / Autonomous JSON
MemoryBuilt-in sessionsCustom implementation
ToolsPre-built connectorsMCP servers on Cloud Run
ScalingAutomaticHPA + KEDA

Orchestration Patterns on OCI (Detailed in Part 2):

PatternOCI ImplementationUse Case
SequentialAgent Platform workflowDocument processing pipeline
ConcurrentOKE parallel podsMulti-perspective analysis
HandoffAgent-to-agent routingCustomer service escalation
Orchestrator-WorkerParent agent + child agentsComplex research tasks
Human-in-LoopAPEX approval UI + agentHigh-stakes decisions

Plane 4: Data & Retrieval Plane

Responsibility: Knowledge access, vector search, structured data, document processing

Oracle's Differentiator: Native Vector Search in Oracle Database 23ai

Unlike bolt-on vector stores, Oracle Database 23ai provides:

  • Unified data model: Vectors alongside relational data
  • ACID transactions: Vector operations in the same transaction as business data
  • Enterprise security: Row-level security applies to vector content
  • SQL integration: VECTOR_DISTANCE() in standard SQL queries
Plane 4: Data & Retrieval Plane diagram 6
Plane 4: Data & Retrieval Plane

OCI Service Mapping:

ComponentOCI ServiceAlternative
Document StorageObject StorageNone needed
ProcessingOCI Data Integration / FunctionsCustom on OKE
EmbeddingOCI Generative AI (Cohere Embed)Self-hosted models
Vector StoreOracle Database 23aiOpenSearch (if multi-cloud)
Structured DataAutonomous DatabaseMySQL HeatWave
Graph DataOracle Property Graph (23ai)None comparable

The Select AI Pattern (Zero-Hallucination SQL):

-- Natural language query translated to SQL
SELECT AI 'Show me top 10 customers by revenue this quarter'
  FROM customers, orders
 WHERE order_date >= '2026-01-01';

-- Model generates SQL, executes against actual data
-- No hallucination possible: result is from real database

Plane 5: Model Plane

Responsibility: LLM endpoints, model selection, fine-tuning, inference optimization

OCI Generative AI: Model-Agnostic Enterprise AI

Plane 5: Model Plane diagram 7
Plane 5: Model Plane

Enterprise Security Controls:

ControlImplementation
Data ResidencySovereign Cloud regions (UK, EU, US Gov)
Network IsolationPrivate endpoints, no public internet
EncryptionCustomer-managed keys (OCI Vault)
Access ControlFine-grained IAM policies per model
AuditAll API calls logged to Logging Analytics

Plane 6: Operations & Governance Plane

Responsibility: Observability, evaluation, CI/CD, audit, lifecycle management

Why This Plane Is Non-Negotiable:

  • AI systems behave non-deterministically
  • Quality degrades silently without evaluation
  • Compliance requires complete audit trails
  • Debugging multi-agent systems requires distributed tracing
Plane 6: Operations & Governance Plane diagram 8
Plane 6: Operations & Governance Plane

OCI Service Mapping:

ComponentOCI ServiceIntegration
LoggingOCI Logging + Logging AnalyticsIngest all agent/model traffic
TracingOCI APMOpenTelemetry instrumentation
MetricsOCI MonitoringCustom metrics + dashboards
AlertingOCI NotificationsSlack, PagerDuty, email
AuditOCI AuditImmutable compliance records
CI/CDOCI DevOpsModel deployment pipelines

Complete OCI Service Mapping

One-Page Reference: All Six Planes

Complete OCI Service Mapping diagram 9
Complete OCI Service Mapping

Multi-Cloud Positioning: When to Choose OCI

Decision FactorChoose OCI WhenConsider Alternatives When
Data residencySovereign Cloud regions requiredGlobal-only workloads OK
Database integrationOracle DB is source of truthGreenfield with no Oracle
Model flexibilityNeed multi-provider modelsCommitted to single vendor
Enterprise securityStrict compliance (HIPAA, FedRAMP)Startup-scale security OK
Cost predictabilityDedicated AI clusters preferredVariable pay-per-token OK

What's Next

Part 2: Agent Orchestration Patterns — Six orchestration patterns mapped to OCI services, with decision criteria for each.

Part 3: The Operating Model — Evaluation pipelines, CI/CD for AI, incident response, and the maturity roadmap.

FAQ

Q: What's the minimum viable production architecture on OCI?

VCN with private subnets + OCI WAF + API Gateway + OCI AI Agent Platform (or OKE running LangGraph) + OCI Generative AI hosted models + Autonomous Database 23ai + Logging Analytics + APM.

Q: How does OCI compare to AWS Bedrock or Azure OpenAI?

OCI differentiates on: (1) native database integration with 23ai vector search, (2) model-agnostic multi-provider approach, (3) sovereign cloud regions for strict data residency, (4) dedicated AI clusters for isolation and predictable costs.

Q: Can I use open-source frameworks like LangGraph on OCI?

Yes. Deploy LangGraph on OKE, use OCI Generative AI as the model provider, and OCI services for all surrounding infrastructure. Part 2 details this pattern.

Q: What about cost management for unpredictable agent workloads?

Implement per-tenant token budgets at the API Gateway, use dedicated AI clusters for predictable costs, and set up cost alerts in OCI Cost Management. Part 3 covers operational cost controls.

This is Part 1 of a 3-part series on production LLM and agentic AI systems on OCI.

Sources:

Related Articles

Stay in the intelligence loop

Weekly field notes on AI systems, production patterns, and builder strategy.

Occasional FrankX field notes. Unsubscribe anytime. Privacy details.