/oracle-ai-data-platform-workbench-engineer-agent:aidp-knowledge-basesfrom oracle-ai-data-platform-workbench-engineer-agent
Creates and manages AIDP Knowledge Bases for RAG: embeds catalog data into HNSW/IVF vector indices, runs ingestion jobs, and manages permissions.
Ships in oracle-ai-data-platform-workbench-engineer-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
aidp-knowledge-bases — RAG corpus + vector indexA Knowledge Base is AIDP's managed RAG store: it embeds source data into a vector index you can retrieve from
(directly, or via a RAG_TOOL node in an agent flow). Runs over the LA AgentFlows family REST API.
Engine:
oci raw-request --profile DEFAULT(no CLI group for KB in v1.0.0). Lake-scoped, live-verified 2026-06-10:GET …/dataLakes/<ocid>/knowledgeBases?catalogKey=<key>&schemaKey=<key>→ 400 InvalidParameter means the route exists but needs real catalog/schema keys (resolve viaaidp-catalog-explore); the workspace-scoped path 404s. Confirm with a live read before any write; record inreferences/rest-endpoint-map.md.Live-verified 2026-06-10 on de-agent — correction: a bare
GET …/knowledgeBases(no query string) returns 400 InvalidParameter requiring bothschemaKeyandcatalogKeyquery params — the route is provisioned (lake-scoped), it is the missing params that 400, not a missing route.
RAG_TOOL agent-flow node.aidp-ai-sql); NOT the agent that uses the KB (→ aidp-agent-flows / aidp-agent-highcode).CreateKnowledgeBaseDetails, camelCase wire fields)POST …/dataLakes/<ocid>/knowledgeBases
{
"displayName": "policy_kb",
"description": "RAG over policy docs",
"catalogKey": "<catalog-key>", "schemaKey": "<schema-key>",
"workspaceKey": "<ws-key>", "clusterKey": "<cluster-key>",
"type": "...", "modality": "...",
"embeddingModelSourceType": "...", "embeddingModelName": "<embedding-model>",
"chunkSize": 512, "chunkOverlap": 64,
"sourceFilePattern": "*.pdf",
"indexDetails": { "type": "HNSW", "distance": "COSINE", "neighbors": 32, "efConstruction": 200, "targetAccuracy": 95 }
}
indexDetails.type ∈ HNSW | IVF. Both index types accept the full 7-value distance enum:
COSINE | DOT | EUCLIDEAN | HAMMING | JACCARD | L2_SQUARED | MANHATTAN
(SDK KbVHnswIndexDetails / KbVIvfIndexDetails distance setter allowed_values —
kb_v_hnsw_index_details.py:110, kb_v_ivf_index_details.py:110). Tuning values below are illustrative.
HNSW tuning params (SDK KbVHnswIndexDetails, camelCase wire fields, all int — kb_v_hnsw_index_details.py:74-79):
| Field | Meaning |
|---|---|
neighbors | max neighbors each vector can have on any layer (the HNSW M parameter) — :146 |
efConstruction | max closest-vector candidates considered during index construction — :170 |
targetAccuracy | target accuracy percentage 1–100 — :122 |
IVF tuning params (SDK KbVIvfIndexDetails, camelCase wire fields, all int — kb_v_ivf_index_details.py:74-79):
| Field | Meaning |
|---|---|
neighborPartitions | number of partitions (clusters) to divide the vector data into — :146 |
neighborPartitionProbes | max partitions to probe during a search (higher = more accurate, slower) — :170 |
targetAccuracy | target accuracy percentage 1–100 — :122 |
embeddingModelName/SourceType — list available embedding models via aidp-models-catalog
(modelType=EMBEDDING); needs a RUNNING clusterKey for embedding compute.
Verify-first: the field names above are from the SDK CreateKnowledgeBaseDetails; the create was not
round-tripped (it triggers embedding compute). Confirm the embedding-model + type/modality enums against
a live read / aidp help before a production create — do not invent values.
| Action | Endpoint / body |
|---|---|
| Add/remove a data source | UpdateKnowledgeBaseAddSourceDetails / …DeleteSourceDetails (source kind volume / table) |
| Run an ingestion job | POST …/knowledgeBases/<key>/jobs — CreateKnowledgeBaseJobDetails {displayName, type, goal, sources, sourceKey, schedule}; trigger runs via …/jobs/<key>/jobRuns |
| List job runs / status | GET …/knowledgeBases/<key>/jobs/<key>/jobRuns |
| Permissions | assign/manage/revoke KnowledgeBasePermission (aidp-roles-access for principals) |
| Update / delete KB | PUT/DELETE …/knowledgeBases/<key> |
Once the index is built, reference the KB from a RAG_TOOL node (aidp-agent-flows,
references/agent-flow-nodes.md) or from high-code (aidp-agent-highcode). The KB must exist + be ingested
before the RAG tool can retrieve.
.aidp/payloads/ (references/payloads.md).catalogKey/schemaKey/clusterKey (real keys) first via aidp-catalog-explore / aidp-cluster-ops.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude plugin install oracle-ai-data-platform-workbench-engineer-agent@claude-plugins-officialNone: SKILL.md is the whole skill.
37 skills in this plugin
/aidp-agent-flowsDiscover, author, deploy, and run AIDP agent flows. Use when the user wants to list/inspect agent flows, or create/update/deploy/run a flow, manage sessions/guardrails, attach compute, or attach a remote MCP server to a flow (an MCP_TOOL node — AIDP's "Native MCP Client Support" LA feature, where the flow connects OUT to OAC/ADW/OIC/any MCP-compatible service). Everything runs over the Limited-Availability AgentFlows REST API via `oci raw-request`; verify live first. (An `aidp` MCP `list_agent_flows`, if configured, is an optional read accelerator only.)/aidp-agent-highcodeBuild AIDP agents in high-code Python with aidputils + LangGraph (the code-first alternative to the low-code agent-flow canvas). Use when the user wants to write an agent in Python, use LangGraph / create_react_agent / StateGraph, call aidputils (OCIAIConf, AIDPToolConf, init_oci_llm, create_langgraph_tool), build a custom or multi-agent supervisor flow in code, or asks "how do I code an AIDP agent". For the low-code/REST node-graph path use aidp-agent-flows.2 plugins ship this exact skill · first indexed Jun 12, 2026
Other plugins' skills for the same job