# Build Paths Advanced

Scaffold an agent system where Oracle AI DB is the *only* state store, composed from...

- Repository: https://github.com/oracle-devrel/oracle-ai-developer-hub (4464 stars)
- Category: Design
- License: see repository
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill build-paths-advanced -g -a claude-code -y`
Codex: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill build-paths-advanced -g -a codex -y`
Cursor: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill build-paths-advanced -g -a cursor -y`
Gemini CLI: `npx skills add oracle-devrel/oracle-ai-developer-hub --skill build-paths-advanced -g -a gemini-cli -y`

## Description

Scaffold an agent system where Oracle AI DB is the *only* state store, composed from the build-paths/skills/ building-block library. Stack, langchain-oracledb + oracle-database-mcp-server + in-DB ONNX embeddings + OCI GenAI Grok 4 + Open WebUI. Three projects, production-feeling NL2SQL+RAG hybrid analyst, self-improving research agent, conversational schema designer. For users who want a real DB-as-only-store agent demo.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

The user picked the **advanced** path. Two non-negotiable rules at this tier:

1. **Oracle AI DB is the only state store.** No Redis, no Postgres, no SQLite, no Chroma/FAISS/Qdrant/Pinecone, no JSON or pickle on disk for runtime state. `verify.py` greps `src/` for forbidden imports and fails the build.
2. **You compose, you don't write boilerplate.** The Oracle layer comes from `skills/oracle-aidb-docker-setup`, `skills/langchain-oracledb-helper`, `skills/oracle-mcp-server-helper`. Your job is to **invoke those, then write the application logic** (the agent loop, the memory adapters, the tools, the adapter, the notebook). ~500-700 LOC of project code per idea, not 1500.

## Step 0, Read these references first

- `skills/README.md`, the composition pattern.
- `skills/oracle-aidb-docker-setup/SKILL.md`
- `skills/langchain-oracledb-helper/SKILL.md`
- `skills/oracle-mcp-server-helper/SKILL.md`
- `shared/references/oamp.md`, load-bearing for the conversational + per-user durable memory layer (ideas 1 + 2).
- All of `shared/references/`, yes all of them. The advanced tier can touch every feature.
- `advanced/project-ideas.md`.

## Step 1, Interview

Run `shared/interview.md` plus the advanced-only questions.

The rest: https://github.com/oracle-devrel/oracle-ai-developer-hub/blob/HEAD/build-paths/advanced/SKILL.md
