/iblai-vibe:iblai-api-agent-evalfrom ibl.ai vibe
Measures and improves agent quality via the iblai API: manages evaluation datasets, runs experiments with LLM-as-Judge and human scoring, and exports results to CSV.
Ships in ibl.ai vibe. 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.
Read when SKILL.md points to them.
Measure and improve an agent's quality from the API: build evaluation
datasets, run experiments that send each question to the agent, then grade the
results with LLM-as-Judge and/or human scores and export to CSV. Use to test an
agent against a dataset and grade the results. The UI twin is
/iblai-vibe-agent-evals,
which calls datasets "benchmarks" and runs "evaluations".
https://api.iblai.appAuthorization: Api-Token $IBLAI_API_KEY on every request.
(The dev docs phrase this as Authorization: Token <key> — it is the same
platform key; use Api-Token.){org} = $IBLAI_ORG, {username} = $IBLAI_USERNAME.…/dm/api/ai-mentor/orgs/{org}/users/{username}/evaluations/.
Below, …/evals = that root. (ai-mentor is the canonical mount; the ai-agent
spelling is an accept-only alias for the same routes.)/iblai-api-login first to populate IBLAI_ORG,
IBLAI_USERNAME, and IBLAI_API_KEY.evaluations/datasets/
hold graded test cases (input + expected output) for measuring agent quality.
They are unrelated to an agent's knowledge/training datasets in
/iblai-api-agent-dataset (RAG documents) — do not cross-wire the two.$IBLAI_ORG alone — no other org can read them or
grade against them.POST …/runs/) or
an LLM-as-Judge (POST …/evaluate/) dispatches a background task and returns
202 immediately with a task record that moves pending → in_progress → completed (or failed). Poll for status; a run must reach completed before
you judge or export it.…/evaluate/) scores every item in a
run automatically from a free-text criteria rubric. Scores (…/scores/)
are individual human/numeric/boolean/categorical annotations on a trace.
Score configs (…/score-configs/) are reusable rubrics a score references
via config_id.?page= (1-indexed) and ?limit=
(default 50, max 200) and return {count, next, previous, results}.users/{user_id}; its value is
$IBLAI_USERNAME.https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/evaluations/datasets/ — list. Filters: ?name= (substring), ?user_email= (creator, exact).Every dataset, run, score and judge-record read identifies its creator with
username, user_email and user_full_name (the display name). All three are
read-only and empty for rows written before the convention, or where the user
no longer exists. ?user_email= filters on the same fact it returns.
…/evaluations/datasets/{dataset_name}/ — get one.…/datasets/{dataset_name}/items/ — list items. Filters: ?status=ACTIVE|ARCHIVED, ?include_trace=true (attach trace_input/trace_output for items linked to a source trace).…/datasets/{dataset_name}/items/{item_id}/ — get one item (includes trace_input/trace_output when it has a source_trace_id).…/datasets/{dataset_name}/runs/ — list runs (merges completed runs with in-flight pending records). Filters: ?name= (substring), ?user_email=.…/datasets/{dataset_name}/runs/{run_name}/ — run details: header + dataset_run_items (each with input, expected_output, actual_output, error, scores[]) + pending_judges[].…/datasets/{dataset_name}/runs/{run_name}/export/ — export results as CSV (columns: item_id, input, expected_output, actual_output, trace_id, plus one score_<name> column per score).…/datasets/{dataset_name}/runs/{run_name}/evaluate/ — list judge task records for this run (all statuses). Filters: ?status=pending|in_progress|completed|failed, ?user_email=.…/evaluations/judges/ — list judge task records across every dataset/run in the org. Filters: ?status=, ?user_email=, ?dataset_name=.…/evaluations/scores/ — list scores (human annotations + LLM-judge results). Filters: ?dataset_run_id= (scope to a run), ?trace_id= (scope to one turn), ?name= (exact), ?user_email=.…/evaluations/score-configs/ — list reusable scoring rubrics.…/evaluations/datasets/ — create.…/datasets/{dataset_name}/items/ — add items. Provide either an
items array ({input, expected_output}) or a trace_ids array (seeds
items from existing chat traces — input + agent response copied from each
trace). Exactly one of the two.…/datasets/{dataset_name}/items/upload/ — bulk-create from a CSV (multipart file field).…/datasets/{dataset_name}/items/{item_id}/ — update an item (input, expected_output, metadata, status).…/datasets/{dataset_name}/items/{item_id}/ — delete an item (async, returns 202 queued). Destructive — confirm with the user first.…/datasets/{dataset_name}/runs/ — start an experiment (async; runs the agent — mentor_unique_id — against every dataset item, records responses). Returns 202 with a task record.…/datasets/{dataset_name}/runs/{run_name}/ — delete a run (async, 202 queued). Destructive — confirm with the user first.…/datasets/{dataset_name}/runs/{run_name}/evaluate/ — start an LLM-as-Judge pass (async; a separate LLM scores each item's actual output against its input + expected output using your criteria). Writes one score per item named score_name, with the judge's reasoning in each score's comment. Run must be completed first. Returns 202 with a judge task record.…/evaluations/scores/ — create a score (human/numeric/boolean/categorical annotation on a trace).…/evaluations/scores/{score_id}/ — delete a score (async, 202 queued). Destructive — confirm with the user first.…/evaluations/score-configs/ — create a reusable scoring rubric.Start an experiment run against a dataset (runs async in the background):
curl -X POST \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/evaluations/datasets/support-qa/runs/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"run_name": "baseline-2026-06", "mentor_unique_id": "d17dc729-60fd-4363-81a0-f67d9318b03e"}'
completed → grade (LLM-as-Judge and/or human scores) → export CSV.202 before results
exist; poll the run-list or run-details endpoint until status is
completed before calling evaluate/ or export/.criteria rubric,
writing one score per item (score_name) plus reasoning in each score's
comment. Per-item human scores go through …/evaluations/scores/ and can
reference a reusable rubric from …/evaluations/score-configs/ via
config_id.items), a CSV upload, or existing
chat traces (trace_ids — input + agent response pulled from each trace).202), not immediate. A dataset
has no delete endpoint and no update endpoint; the next note is the only
way one changes.POST …/datasets/ with a name that already exists does not fail: it
answers 201, as for a new dataset, and overwrites that dataset's
description (with an empty one when none is sent) and its creator; items
added next land in it. Before creating, look the name up with
GET …/datasets/?name=<name>&limit=200 and follow next through every
page: ?name= is a case-insensitive substring match, so the exact name can
sit on a later page, and only an exact comparison of names settles it.POST …/items/ and …/items/upload/ save
rows one at a time, so retrying after a timeout or partial failure adds the
same pairs again. List the items before you retry.run_name lists the old reviews in …/evaluate/. Use a fresh run_name.completed and
writes 0 with the comment LLM judge call failed for each item. Check
comments before trusting low scores.Request bodies. All JSON except the CSV upload (multipart). Fields are optional unless marked required.
Create dataset — POST …/datasets/
name required (≤255) · description · metadata (object)Add items — POST …/datasets/{dataset_name}/items/ (exactly one of)
items: array of {input required, expected_output}trace_ids: array of strings (seed from existing traces)Update item — PUT …/items/{item_id}/
input · expected_output · metadata (object) · status (ACTIVE|ARCHIVED)CSV upload — POST …/items/upload/ (multipart form)
file required — CSV with an input column and optional expected_output; empty-input rows are skippedStart run — POST …/runs/
mentor_unique_id required — the agent's unique idrun_name (≤255; auto run-<hex> if omitted) · metadata (object)LLM-as-Judge — POST …/runs/{run_name}/evaluate/
criteria required — the rubric the judge grades againstscore_name required (≤255) — name given to the judge's scorellm_provider (default openai) · llm_name (default gpt-4o-mini)max_concurrency (int, default 4, range 1–20)Create score — POST …/scores/
trace_id required · name required (≤255) · value required (number)data_type (NUMERIC|BOOLEAN|CATEGORICAL, default NUMERIC)comment · observation_id · config_id (score-config to validate against) · dataset_run_idCreate score config — POST …/score-configs/
name required (≤255) · data_type (NUMERIC|BOOLEAN|CATEGORICAL) requiredcategories: array of {value (number), label (string)} — for CATEGORICALmin_value / max_value (numbers — for NUMERIC) · descriptionreferences/guide.md — the eval pipeline as ordered steps, judge-rubric guidance, and CSV upload/export limits and columns.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iblai/base --plugin iblai-vibe166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.Other plugins' skills for the same job