name: iexplain-integration description: Delegate explanation work to a running iExplain service or local iexplain CLI. Use when another agent or agentic system needs grounded intent summaries, log explanations, or benchmark-specific analysis without re-implementing iExplain profiles, pipelines, or adapters. compatibility: Requires access to a running iExplain API or a local environment with the iexplain CLI installed. metadata: owner: iexplain version: "1"
Purpose
Use this skill when another agent should hand off explanation work to iExplain instead of doing the explanation itself.
Good fits:
- summarize what happened for one intent id
- explain a provided log artifact
- run HDFS anomaly explanation through the existing profile
- answer structured BGL questions through the existing profile
Preferred path
- Prefer the HTTP API when available.
- Discover available profiles first with
GET /api/v1/catalog. - Submit a job with the smallest useful task and artifact set.
- Poll until completion.
- Return
result.contentto the caller, and useresult.metadata.traceonly when trace detail is needed.
Current profile mapping
Treat these as defaults from the current repo config, not as a permanent contract. Prefer discovery from /api/v1/catalog.
intent_demo: summarize one TM Forum style intent through GraphDBdefault: open-ended artifact inspection and explanationcontrolled: two-stage log explanation pipelineautonomous: planner mode with bounded delegationhdfs_eval: HDFS anomaly classification and explanationbgl_v2_eval: structured BGL v2 question answering
Job pattern
Use a direct job for one-off work.
Send:
run.task: the explanation requestrun.profile: chosen profilerun.artifacts: optional inline text artifactsrun.metadata: optional caller metadata
Then poll GET /api/v1/jobs/{job_id} until status is completed or failed.
Session pattern
Use sessions when multiple tasks share the same profile, overrides, or metadata.
Flow:
POST /api/v1/sessionsPOST /api/v1/sessions/{session_id}/tasks- poll the returned
job_id
CLI fallback
Use the CLI only when the agent runs on the same machine as iExplain.
Examples:
iexplain run "Explain what happened in session.log" --profile default --artifact /path/to/session.log
iexplain intent-summary If9587ca040be457d908d54e7aecc2ef6 --profile intent_demo
Important constraints
- Do not hardcode profile names if the API is reachable. Discover them.
- Do not use
source_pathover the API unless the file path exists on the API server. - Prefer small grounded artifacts over huge raw dumps.
- If the service exposes a benchmark-specific profile, prefer that over a generic profile.
See the API reference for request shapes and examples.