iblai-api-agent-llm
Skill222 starsChanged 11 days agoMITView on GitHub
Set an ibl.ai agent's LLM provider and model via the platform API — list available provider/model cards and write the selection through the agent settings endpoint. Use when changing which model an agent runs on.
- Reads credentials
- Sends data out
1 other project uses a version of this.
Adopted by
Most recently taken up by
- iblai/vibeword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- iblai/vibe★ 222100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository166 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- iblai-vibe-pr-reviewSkill
- iblai-api-agent-accessSkill
- iblai-api-agent-auditSkill
- iblai-api-agent-chatSkill
- iblai-api-agent-createSkill
- iblai-api-agent-datasetSkill
- iblai-api-agent-disclaimerSkill
- iblai-api-agent-embedSkill
- iblai-api-agent-evalSkill
- iblai-api-agent-historySkill
- iblai-api-agent-mcpSkill
- iblai-api-agent-memorySkill
- iblai-api-agent-privacySkill
- iblai-api-agent-promptSkill
- iblai-api-agent-safetySkill
- iblai-api-agent-sandboxSkill
- iblai-api-agent-sessionSkill
- iblai-api-agent-settingSkill
- iblai-api-agent-skillSkill
- iblai-api-agent-supportSkill
- iblai-api-agent-toolSkill
- iblai-api-agent-voiceSkill
- iblai-api-inferenceSkill
- iblai-api-searchSkill
- iblai-vibe-agent-accessSkill
- iblai-vibe-agent-analyticsSkill
- iblai-vibe-agent-apiSkill
- iblai-vibe-agent-assistantSkill
- iblai-vibe-agent-auditSkill
- iblai-vibe-agent-billingSkill
- iblai-vibe-agent-chat-sidebarSkill
- iblai-vibe-agent-chatSkill
- iblai-vibe-agent-createSkill
- iblai-vibe-agent-datasetSkill
- iblai-vibe-agent-disclaimerSkill
- iblai-vibe-agent-embedSkill
- iblai-vibe-agent-evalsSkill
- iblai-vibe-agent-graderSkill
- iblai-vibe-agent-historySkill
- iblai-vibe-agent-llmSkill
- iblai-vibe-agent-ltiSkill
- iblai-vibe-agent-mcpSkill
- iblai-vibe-agent-memorySkill
- iblai-vibe-agent-privacySkill
- iblai-vibe-agent-promptSkill
- iblai-vibe-agent-safetySkill
- iblai-vibe-agent-sandboxSkill
- iblai-vibe-agent-screenshareSkill
- iblai-vibe-agent-searchSkill
- iblai-vibe-agent-settingSkill
- iblai-vibe-agentSkill
- iblai-vibe-agent-skillsSkill
- iblai-vibe-agent-supportSkill
- iblai-vibe-agent-taskSkill
- iblai-vibe-agent-toolSkill
- iblai-vibe-agent-virtual-machineSkill
- iblai-vibe-agent-voiceSkill
- iblai-vibe-incognitoSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iblai-api-agent-llm
Set an agent's LLM provider and model: list the available provider/model cards
and write the chosen provider + model through the same settings/ endpoint that
backs the rest of the agent configuration. Use when changing which model an agent
runs on.
Auth & conventions
- Base URL:
https://api.iblai.app - Header:
Authorization: Api-Token $IBLAI_API_KEYon every request. - Path vars:
{org}=$IBLAI_ORG,{username}=$IBLAI_USERNAME,{mentor}= the agent's unique id (e.g.d17dc729-60fd-4363-81a0-f67d9318b03e). - Provider/model selection saves through the same
settings/endpoint — PUT…/users/{username}/mentors/{mentor}/settings/. - Not connected yet? Run
/iblai-api-loginfirst to populateIBLAI_ORG,IBLAI_USERNAME, andIBLAI_API_KEY.
Reads
- GET
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/settings/— current provider/model. - GET
https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentor-llms/?mentor_unique_id={mentor}— provider/model cards.mentor_unique_idruns the permission check in the agent's context (mentor_idis only a legacy filter). Each provider row carriesname(thellm_providervalue),logo, andchat_models[]; each model'sllm_nameis thellm_namevalue. Rows also report whether the organization holds a usable key (has_credentials,can_use_main_keys,main_has_credentials); a provider without one cannot be selected. Optional filters:provider,search,is_multimodal,supports_function_calling,min_context_window.
Writes
- PUT
…/users/{username}/mentors/{mentor}/settings/— set provider/model:{ "llm_provider": "string (required)", "llm_name": "string (required)" } - PUT
…/users/{username}/mentors/{mentor}/settings/— let users switch the model in their own chat session (Allow In-Chat Model Change; it resets to the agent's model on a new chat):{ "enable_in_chat_llm_change": "boolean" }
Example
Switch an agent to OpenAI's GPT-4o:
curl -X PUT \
"https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mentors/$MENTOR/settings/" \
-H "Authorization: Api-Token $IBLAI_API_KEY" \
-F "llm_provider=openai" \
-F "llm_name=gpt-4o"Notes
- Pull the provider/model cards first, then send exactly one
llm_provider+llm_namepair that appears in that list — values must match a real card. - Each card carries an
availabilitystatus:byok_configured(the org's own key pays, on whichever gateway that key opens, e.g. its Vertex key serving Claude),byok_main_fallback(ibl.ai's key pays),gateway_credits(served on ibl.ai credits, including an org-heldiblaikey),byok_missing(add a key first). Onlybyok_missingsetsrequires_credential. - Each card also carries
gateway/gateway_label(e.g."vertex"/"Google Vertex AI"): the gateway that will serve the model by the org's gateway priority, set only when the org's own key pays;nullon ibl.ai credits. The status comes from the same gateway resolver chat uses, so the picker and runtime agree. The org's model allow-list hides models only when a key ibl.ai lends would pay, never when the org's own key does. It is a different list from User Models (/iblai-api-rbacllm-access), which limits the models users who are not admins can pick in the chat. - Gateway rule: of the gateways that serve the model, the org's own key first,
then ibl.ai's key if the org may borrow it. Credential names are in
/iblai-api-integration. - Selection persists through the shared
settings/endpoint, so it sits alongside the other configuration fields on the same agent. - Which models users may pick when in-chat model change is on is an
organization-wide list, not an agent setting:
GET/POST/api/core/rbac/llm-access/…in/iblai-api-rbac. The LLM tab's User Models dialog (/iblai-vibe-agent-llm) edits it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

