/oracle-ai-data-platform-workbench-engineer-agent:aidp-agent-highcodefrom oracle-ai-data-platform-workbench-engineer-agent
Builds AIDP agents in high-code Python using aidputils and LangGraph. Use when writing agent classes with create_react_agent, StateGraph, or custom multi-agent supervisor flows.
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.
None: SKILL.md is the whole skill.
aidp-agent-highcode — code-first AIDP agents (aidputils + LangGraph)The GA high-code path: write a Python agent class using aidputils (pre-installed in AI Compute;
not pip-installable locally; legacy name aidp_flowutils) on top of LangGraph 1.x. You author the
.py in the workspace (aidp-workspace-files / aidp-notebooks) and run it on AI Compute. Grounded in
AIDP_High_Code_Complete_Reference.md §4–12, §22.
create_react_agent, StateGraph, custom tool logic, multi-agent
supervisor in code, or anything aidputils.aidp-agent-flows. NOT building the RAG corpus → aidp-knowledge-bases.aidputils; legacy aidp_flowutils still works)from aidputils.agents.toolkit.tool_helper import create_langgraph_tool
from aidputils.agents.toolkit.agent_helper import init_oci_llm, pre_invoke_setup
from aidputils.agents.toolkit.configs import AIDPToolConf, OCIAIConf, ModelArgs
from langgraph.prebuilt import create_react_agent
from langgraph.graph import StateGraph, MessagesState, START, END
from langchain_core.messages import HumanMessage
Every agent MUST implement __init__ / setup() / async invoke():
class MyAgent:
def __init__(self) -> None:
self.agent = None # or self.graph = None
def setup(self) -> None: # sync, called once: build LLM + tools + agent
llm = init_oci_llm(OCIAIConf(
model_provider="generic", model_id="xai.grok-4",
compartment_id="ocid1.compartment.oc1..…",
endpoint="https://inference.generativeai.us-ashburn-1.oci.oraclecloud.com",
model_args=ModelArgs(temperature=0.7, max_tokens=4096),
guardrails_config={"policies": []}, auth_type="SECURITY_TOKEN", auth_profile="DEFAULT"))
# an empty policy list means no guardrails; add policies before production use
tool = create_langgraph_tool(AIDPToolConf(
name="summarizer", description="Summarize text",
tool_class="PromptTool", # or "SQLTool" / "RAGTool"
conf={...}, params=[{"name":"text","type":"string","description":"…"}]).model_dump())
self.agent = create_react_agent(llm, [tool]) # single-agent; StateGraph for multi-agent
async def invoke(self, user_query: str, **kwargs):
config = pre_invoke_setup(**kwargs) # MUST be first line of every invoke
message = {"messages": [dict(HumanMessage(content=user_query))]}
return await self.agent.ainvoke(input=message, config=config)
Rules (HC ref §5): setup() is synchronous, runs once; invoke() is async, per query;
pre_invoke_setup(**kwargs) must be the first call in invoke(); input is always
{"messages": [dict(HumanMessage(content=…))]}.
| Piece | API | Notes |
|---|---|---|
| LLM | OCIAIConf(model_provider, model_id, compartment_id, endpoint, model_args, guardrails_config, auth_type, auth_profile) → init_oci_llm() | Models: xai.grok-4 (default), xai.grok-4-fast-reasoning, cohere.command-r-08-2024 |
| Tools | AIDPToolConf(name, description, tool_class, conf, params) → create_langgraph_tool(.model_dump()) | tool_class ∈ PromptTool / SQLTool / RAGTool (RAGTool needs a KB → aidp-knowledge-bases) |
| Single agent | create_react_agent(llm, tools) | LangGraph prebuilt |
| Multi-agent | StateGraph(MessagesState) + supervisor (HC ref §10) | nodes + START/END edges |
| Observability | AIDPObservability (HC ref §12) | tracing |
Place the agent .py in the workspace and designate the entry file + dependency files (HC ref §22),
then run/deploy on AI Compute (Preview — see aidp-cluster-ops). Deployment + sessions can also be
managed via the agent-flow deploy action (aidp-agent-flows).
Live-verified 2026-06-10 on de-agent — correction: the agent-flow deploy action is gated and has a required-field contract. (1) The ENTIRE
agentFlowswrite surface (create included) is gated on the DataLake'saiFeatureStatus=Ready— on a fresh datalake, create returns 409 IncorrectStateAiFeatureStatus=None("try again later") until the Enable-AI-Feature workflow completes; this is a platform-provisioning state, not a body defect. (2)POST …/actions/deployAgentFlowrequires adeploymentTypeenum (theagentFlowKeyalone → 400 "deploymentType must not be null"); the valid value is NOTAI_COMPUTE/SERVERLESS/DEDICATED/ON_DEMAND/QUICK_START/STANDARD/DEFAULT(all 400 "Invalid DeploymentType") — pull the real enum from the SDKDeploymentType/Deploymentmodels before deploying.
aidputils only exists inside AI Compute — examples are authored/edited via aidp-workspace-files, not run
locally. Don't claim a local pip install aidputils.model_ids/endpoints — list live via aidp-models-catalog. Attach safety policies via
guardrails_config (enums in aidp-agent-flows guardrails section).What SKILL.md sets; muted values are Claude Code's defaults
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-ai-sqlRun LLM functions inside Spark SQL on AIDP via ai_generate(). Use when the user wants to summarize/classify/extract/enrich rows with an LLM directly in SQL, generate narratives over aggregated results, or do grounded RAG-style analysis in the lakehouse. Signature is model-first; available models must be confirmed live before relying on it./aidp-analyzing-dataAnswer business questions over the AIDP lakehouse with Spark SQL. Use when the user asks a data question ("how many…", "top N…", "show me…", "trend of…", "revenue by…") or wants to run ad-hoc Spark SQL. Grounds in .aidp/catalog.md + .aidp/semantic.md and reuses validated verified queries before generating SQL, then executes via the bundled aidp_sql.py helper./aidp-auditManage and search AIDP audit logs — enable/disable auditing, set retention, and query audit-log entries for a DataLake. Use when the user asks about audit logging, who did what, compliance/retention of AIDP activity, or wants to search audit events. Self-contained — official `aidp audit` CLI preferred, `oci raw-request` fallback./aidp-bundleDeploy AIDP resources as a bundle — create a bundle, deploy all its assets atomically, query deployment status, and purge. Use when the user wants to promote/deploy a set of AIDP resources together, manage a deployment bundle, check bundle deployment status, or tear one down. Preview API via `oci raw-request`; verify live first./aidp-catalog-exploreBrowse the AIDP data catalog live — list catalogs, schemas, tables, and volumes, inspect a table's columns/properties, and resolve a human name to its catalog key. Use when the user asks "what catalogs/schemas/tables exist", "describe table X", "what columns does Y have", or needs a catalog/schema/table key for another operation.Other plugins' skills for the same job
claude plugin install oracle-ai-data-platform-workbench-engineer-agent@claude-plugins-official