A collection of notebooks that build AI applications and agents with 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.
The theme of the folder is convergence: instead of stitching a vector database, a key-value store, a checkpoint file, and a chat log into one agent, every notebook here keeps all of that state in one converged database.
Every notebook follows the same shape:
| Layer | Typical component | Role |
|---|---|---|
| Python | the notebook runtime | the glue |
| LLM provider | ChatAnthropic (Claude) or an OpenAI chat model |
the reasoning engine that plans, calls tools, and synthesizes answers |
| LangChain / LangGraph | langchain, langgraph, deepagents, langchain-oracledb, langgraph-oracledb, langchain-oci |
the orchestration fabric and the Oracle-backed persistence primitives |
| Oracle | Oracle AI Database 23ai / 26ai | one converged store for vectors, long-term memory, checkpoints, the LLM cache, and chat history |
Embeddings are a pluggable vectorizer — OpenAI text-embedding-3-small or a local HuggingFace model, depending on the notebook. Each notebook names its own model choices.
| Primitive | Package | What it does |
|---|---|---|
OracleVS |
langchain-oracledb |
LangChain vector store backed by Oracle AI Vector Search |
OracleEmbeddings |
langchain-oracledb |
generate embeddings inside the database from an ONNX model |
create_text_index |
langchain-oracledb |
Oracle Text keyword index for hybrid (vector + lexical) search |
OracleSemanticCache |
langchain-oracledb |
reuse an LLM answer when a new prompt is semantically equivalent |
OracleChatMessageHistory |
langchain-oracledb |
durable, session_id-scoped chat transcripts |
OracleStore / AsyncOracleStore |
langgraph-oracledb |
long-term, cross-thread agent memory |
OracleSaver / AsyncOracleSaver |
langgraph-oracledb |
per-thread short-term checkpoints (resume a conversation) |
create_deepagents_agent |
langchain-oci |
Deep Agents factory that auto-wires Oracle datastores into agent tools |
The notebooks build on each other from a starter app to a full multi-agent system:
OracleVS, embeddings, retrieval.gvenzl/oracle-free Docker image and includes the docker run command) or reachable over the network.text-embedding-3-small embeddings. Notebook 01 runs entirely on a local HuggingFace embedding model and needs no API key.pip install of the latest packages and lists exactly what it needs.