/iblai-vibe:iblai-api-inferencefrom ibl.ai vibe
Runs inference against an ibl.ai deployment via its OpenAI-compatible API. Lists models, then POSTs OpenAI-format messages for single or streamed completions with Api-Token auth.
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.
None: SKILL.md is the whole skill.
Call ibl.ai's OpenAI-compatible chat endpoint: identical request/response shape
to OpenAI's /v1/chat/completions, but served by your deployment and routed to
whichever provider/model you name. Use it for raw completions, streamed tokens,
or tool calls directly — no MCP server, no agent needed. To configure which model
an agent runs on use /iblai-api-agent-llm; to converse with a deployed agent
(RAG, memory, history) use /iblai-api-agent-chat.
Header: Authorization: Api-Token $IBLAI_API_KEY on every request.
Path var: {org} = $IBLAI_ORG (no username in the path).
Model: always provider/model form, e.g. openai/gpt-5,
anthropic/claude-sonnet-4. A bare name is rejected 400 invalid_request.
Two hosts — every completion is ASGI-only:
https://asgi.data.iblai.app/api/ai-mentor/orgs/{org}/v1/chat/completionshttps://api.iblai.app/dm/api/ai-mentor/orgs/{org}/v1/modelsThe sync WSGI gateway (api.iblai.app) can't drive the inference generator at
all, so no completion — streamed or not — goes through it; it serves the
model list only.
Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG and
IBLAI_API_KEY.
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/v1/models — OpenAI-style model list for the deployment;
each id is a provider/model you can pass as model. A model is listed only
when some gateway can serve it for the org (its own key, or ibl.ai's key if the
org may borrow it); iblai-pro / iblai-fast appear only where servable. When
ibl.ai's key pays, the org's model allow-list also hides models.https://asgi.data.iblai.app/api/ai-mentor/orgs/{org}/v1/chat/completions — run a completion (an inference
call, not a state mutation; POST per the OpenAI wire format). Standard OpenAI
chat body:
{
"model": "openai/gpt-5",
"messages": [{ "role": "user", "content": "Hello" }],
"stream": false,
"tools": [],
"stream_options": { "include_usage": true }
}
stream:true returns Server-Sent Events (data: {chunk} … data: [DONE]);
omit it (or false) for one JSON completion.Non-streaming completion:
curl -X POST \
"https://asgi.data.iblai.app/api/ai-mentor/orgs/$IBLAI_ORG/v1/chat/completions" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5","messages":[{"role":"user","content":"Say hi"}]}'
Streaming (SSE):
curl -N -X POST \
"https://asgi.data.iblai.app/api/ai-mentor/orgs/$IBLAI_ORG/v1/chat/completions" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-d '{"model":"openai/gpt-5","stream":true,"stream_options":{"include_usage":true},"messages":[{"role":"user","content":"Stream a haiku"}]}'
List available models:
curl "https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/v1/models" \
-H "Authorization: Api-Token $IBLAI_API_KEY"
base_url at
https://asgi.data.iblai.app/api/ai-mentor/orgs/{org}/v1. Auth is
Api-Token (not Bearer), so pass it via the SDK's default headers
({"Authorization": "Api-Token <key>"}), not the plain api_key field.
That base URL serves completions only — client.models.list() will not
resolve against it; fetch
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/v1/models directly.asgi.data.iblai.app),
streaming or not — the WSGI gateway can't run inference in either mode.
api.iblai.app serves only
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/v1/models.model must be provider/model and resolve to a provider the deployment has
configured — list it via
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/v1/models; unknown/bad
model → 400 invalid_request. A model the org's allow-list refuses →
403 with an OpenAI-style {"error": {"type": "permission_error", …}}./iblai-api-integration.tools / tool_calls); streamed
tool-call deltas carry dense, 0-based index values, matching the OpenAI wire
format that clients index directly.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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