Oracle 发布 oracle-ai-developer-hub:面向 Oracle AI Database 与 OCI 的 AI 开发资源库
oracle-devrel/oracle-ai-developer-hub
Oracle 开源 oracle-ai-developer-hub 资源库,汇集用 Oracle AI Database 与 OCI 服务构建 AI 应用、智能体和系统的示例代码、Notebook 与指南。
This repository contains technical resources to help AI Developers and Engineers build AI applications, agents, and systems using Oracle AI Database and OCI services alongside other key components of the AI/Agent stack.
What You'll Find
This repository is organized into several key areas:
📱 Apps (/apps)
Applications and reference implementations demonstrating how to build AI-powered solutions with Oracle technologies. These complete, working examples showcase end-to-end implementations of AI applications, agents, and systems that leverage Oracle AI Database and OCI services. Each application includes source code, deployment configurations, and documentation to help developers understand architectural patterns, integration approaches, and best practices for building production-grade AI solutions.
| Name | Description | Link |
|---|---|---|
| FitTracker | Gamified fitness platform built with Oracle 26ai JSON Duality Views (FastAPI + Redis), created live during a webinar. | |
| agentic_rag | Intelligent RAG system with multi-agent Chain of Thought (CoT), PDF/Web/Repo processing, and Oracle AI Database 26ai integration | |
| finance-ai-agent-demo | Financial services AI agent with Oracle AI Database as a unified memory core for vector, graph, spatial, and relational queries | |
| generative-ui-data-chat | Next.js and OpenUI data chatbot that pairs Oracle AI Database 26ai SQL, vector, and hybrid search with typed generative UI components such as charts, KPI cards, tables, and source cards. | |
| oci-generative-ai-jet-ui | Full-stack AI application with Oracle JET UI, OCI Generative AI integration, Kubernetes deployment, and Terraform infrastructure | |
| tanstack-shoe-store | AI chat app using TanStack Start and Oracle 26ai Select AI to query a shoe store database with natural language | |
| team-brain | Team knowledge base (the what to a personal second brain's who): Slack, GitHub and docs connectors into one shared table, in-database ONNX embeddings, Oracle Text + vector hybrid retrieval fused by RRF through langchain-oracledb, and per-caller access control enforced by a DBMS_RLS row policy on the table itself, exposed to Claude Code over MCP (stdio or HTTP) and to a LangChain create_agent CLI. |
|
| oracle-data-migration-harness | AI agent harness that migrates a RAG corpus from MongoDB into Oracle AI Database 26ai while preserving vector search and unlocking SQL/JSON Duality queries | |
| supplychain-demand-planning-agent | Multi-agent demand-planning assistant with a LangGraph supervisor over two specialists; vector knowledge, long-term memory, per-thread checkpoints, semantic LLM cache, and chat history all share one Oracle AI Database | |
| idp-oracle-ai-database | Intelligent Document Processor that stores the BLOB, extracted text, structured JSON, and vector for each document in one Oracle AI Database 26ai — text extraction, summarization, embeddings, k-NN classification, and LLM field extraction all run inside or from the database via DBMS_VECTOR_CHAIN; AWS supplies only compute (Lambda + S3 + CloudFront) | |
| vector-development | AI Database vector development sample apps for semantic search, RAG, product discovery, code search, and geospatial search. For Python development, see the Oracle VecDB Python SDK. | |
| oraviz-mcp | Minimal, visualization-first MCP server for Oracle AI Database 26ai -- seven read-only tools that cap what returns to the model's context (compact markdown tables, 25-row previews, 500-row hard cap) and render results as PNG charts, including PCA projections of VECTOR columns. |
📓 Notebooks (/notebooks)
Jupyter notebooks and interactive tutorials covering:
- AI/ML model development and experimentation
- Oracle Database AI features and capabilities
- OCI AI services integration patterns
- Data preparation and analysis workflows
- Agent development and orchestration examples
📚 Guides (/guides)
Comprehensive documentation, reference materials, and conference presentations covering AI agent architecture, reasoning strategies, and memory systems.
🧠 Agent Memory (/notebooks/agent_memory)
Notebooks focused on the Oracle AI Agent Memory package (oracleagentmemory) — the AI-Agent Memory Package built on top of Oracle AI Database. These notebooks demonstrate how to use Oracle AI Database as the unified memory core for AI agents, serving conversation history, durable facts, and entity state from a single converged engine instead of stitching together a vector DB, key-value store, and relational store.
The collection covers the package's developer guide, benchmarks against naive memory, and three end-to-end framework examples (OpenAI Agents SDK, Claude Agent SDK, LangGraph).
See the Agent Memory README for a recommended reading order, prerequisites, and Open-in-Colab links.
🔗 LangChain Ecosystem (/notebooks/langchain_ecosystem)
Notebooks that build on the LangChain ecosystem — LangChain, LangGraph, Deep Agents, and Oracle's first-party integrations (langchain-oracledb, langgraph-oracledb, langchain-oci) — using Oracle AI Database as the single backend for vectors, agent memory, checkpoints, the LLM cache, and chat history. They build up from a starter RAG app to a multi-agent supervisor.
See the LangChain Ecosystem README for a recommended reading order, prerequisites, and Open-in-Colab links.
🎓 Workshops (/workshops)
Hands-on workshops and guided learning experiences that take developers from fundamentals to production patterns with Oracle AI Database. Each workshop is self-contained with a student notebook (TODO gaps to fill in), a complete reference notebook, step-by-step part guides, and a ready-to-run Codespaces / devcontainer environment with Oracle AI Database pre-configured. Workshops progress from information retrieval and RAG, through agentic systems and orchestration, to memory-augmented agents — together they cover the full stack for building AI applications on Oracle.
Pull a single workshop without cloning the whole hub — each workshop README includes
git sparse-checkoutinstructions so you can fetch only the folder you need.
🤝 Partners (/partners)
Notebooks and apps contributed by partners in the AI ecosystem. AI Developers can use these resources to understand how to use Oracle AI Database and OCI alongside tools such as LangChain, Galileo, LlamaIndex, and other popular AI/ML frameworks and platforms.
Getting Started
- Explore Applications: Start with the applications in
/appsto see complete, working examples - Follow Workshops: Check
/workshopsfor guided learning paths - Experiment with Notebooks: Use
/notebooksfor hands-on experimentation - Build Memory-Augmented Agents: Dive into
/notebooks/agent_memoryfor the Oracle AI Agent Memory package - Reference Guides: Consult
/guidesfor detailed documentation - Check Partner Resources: Explore
/partnersfor integrations with popular AI tools and frameworks
Contributing
This project is open source. Please submit your contributions by forking this repository and submitting a pull request! Oracle appreciates any contributions that are made by the open-source community.
Development Setup
Before contributing, please set up pre-commit hooks to ensure code is automatically formatted:
-
Install pre-commit:
pip install pre-commit
-
Install additional dependencies (optional, includes pre-commit and ruff):
pip install -r requirements-dev.txt
-
Install pre-commit hooks:
pre-commit install
-
Optional: Format existing code:
pre-commit run --all-files
The pre-commit hooks will automatically format your code using:
- Ruff for Python files (formatting and linting)
- Prettier for JavaScript, TypeScript, JSON, YAML, and Markdown files
For more detailed information, see SETUP_PRE_COMMIT.md.
License
Copyright (c) 2024 Oracle and/or its affiliates.
Licensed under the Universal Permissive License (UPL), Version 1.0.
See LICENSE for more details.
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.
Note: This repository is actively maintained and updated with new resources, examples, and best practices for Oracle AI development.
来源:GitHub · github.com