/iblai-vibe:iblai-vibe-virtual-machinefrom ibl.ai vibe
Manages organization-wide network allowlists and environment variable secrets for agents running in ephemeral virtual machines. Use when configuring which addresses a VM can reach and which keys it can use.
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.
Agents with the Ephemeral Virtual Machine sandbox type (called Virtual
Machine Shell before @iblai/web-containers 2.0.0) run code in a private
Linux computer with no network access by default. Two organization-wide
records open it up, and both live in the organization settings'
Integrations group:
ACME_API_KEY) but never read. Inside the machine the variable holds a
placeholder; the real key is substituted only on TLS requests to the
variable's allowed hosts.Both are shared by every agent in the organization. Turning them on for one
agent happens on its Sandbox tab — see /iblai-vibe-agent-virtual-machine.




Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
/iblai-vibe-agent-virtual-machine — the agent's Sandbox →
Network Access section that consumes these records. Its Add
Network and Add Environment Variable buttons open the same dialogs
in place, and Manage Networks opens the Network page in a popup./iblai-vibe-agent-sandbox — the Sandbox Type card that turns
Ephemeral Virtual Machine on in the first place./iblai-vibe-account — the settings page that hosts both, with the
rest of Secrets (LLMs, Services) and the API page./iblai-vibe-credential — the RBAC that lets a token list and
unmask the Services keys (integration credentials) an environment
variable can read its value from./iblai-vibe-auth)@iblai/mcp in .mcp.json)@iblai/iblai-js@^3.6.0. Releases before 2.68.0 kept both records on one
Virtual Machine tab with Network Policies / Secrets sub-tabs.Ibl.Mentor/VirtualMachineNetworkPolicies/{list,write,delete} and
Ibl.Mentor/VirtualMachineSecrets/{list,write,delete}. Organization
admins hold them by default; they are not in the learner baseline.
The Network page shows a permission notice on its list 403; the
Environment Variables tab hides on its own.Before proceeding, check for an iblai.env in the project root. Look for
PLATFORM, DOMAIN, and TOKEN variables. If the file does not exist or
is missing these variables, tell the user:
"You need an iblai.env with your platform configuration. Download the
template and fill in your values:
curl -o iblai.env https://raw.githubusercontent.com/iblai/vibe/refs/heads/main/iblai.env"
In the settings page. Account lists both under Integrations: the
Network page is the tab with id virtualMachine, and Environment Variables
is the third sub-tab of secrets (Secrets opens on LLMs). In vibe-starter,
give each its own admin route with AccountPanel, the way the other admin
pages do — app/(app)/admin/network/page.tsx:
// app/(app)/admin/network/page.tsx
"use client";
import { AccountPanel } from "@/components/admin/account-panel";
export default function AdminNetworkPage() {
return <AccountPanel tab="virtualMachine" />;
}
<AccountPanel tab="secrets" /> is the Secrets page the same way. Outside
vibe-starter, pass targetTab="virtualMachine" or targetTab="secrets" to
Account (see /iblai-vibe-account Step 3 for its wiring).
On their own, without the settings rail — how the ibl.ai OS opens them from its sidebar. Both are exported:
"use client";
import { SecretsTab, VirtualMachineAdminTab } from "@iblai/iblai-js/web-containers";
export function NetworkPage({ tenantKey, username }: { tenantKey: string; username: string }) {
return <VirtualMachineAdminTab tenantKey={tenantKey} username={username} />;
}
export function SecretsPage({ tenantKey, username }: { tenantKey: string; username: string }) {
return <SecretsTab tenantKey={tenantKey} username={username} />;
}
get_component_info("VirtualMachineAdminTab")
get_component_info("SecretsTab")
get_component_info("HostPortChipInput")
get_hook_info("useListVirtualMachineSecretsQuery")
All from @iblai/iblai-js/web-containers.
| Component | Prop | Type | Description |
|---|---|---|---|
VirtualMachineAdminTab | tenantKey | string | Organization key whose networks are managed |
username | string? | Signed-in admin. When present, a delete refused because agents still use the network lists them by name instead of by id | |
defaultTab | — | Deprecated and ignored; the page holds networks only | |
SecretsTab | tenantKey | string | Organization key |
username | string? | Signed-in admin; the LLMs tab's Azure model picker needs it |
username
resolves them, else by id) and hides Delete until they move off it.STRIPE_KEY that reads the Stripe key).***) is refused.MAPS_API_KEY, with _2 added when the name is taken). Typing your
own stops that; emptying the box starts it again. Read-only once
created: delete and add again to rename.For custom UI. Both records live under
${dmUrl}/api/ai-account/orgs/{org}/ where dmUrl is
NEXT_PUBLIC_API_BASE_URL. Auth: Authorization: Token <token>.
Records are keyed in the body, never in the URL.
virtual-machine-network-policy/| Method | Body / notes |
|---|---|
| GET | [{ id, name, allowed_hosts, description, created_at, updated_at }] |
| POST | { "name": "Acme APIs", "allowed_hosts": ["api.acme.com:443"], "description": "" } → 201 |
| PATCH | { "id": 12, … } — any of name, allowed_hosts (replaces the whole list), description |
| DELETE | { "id": 12 } → 204; 400 while an agent still uses it, and the message names the agents |
virtual-machine-secret/| Method | Body / notes |
|---|---|
| GET | [{ id, name, env_var, allow_hosts, source_credential_id, source_field, created_at, updated_at }] — never a value |
| POST | { "name", "env_var": "ACME_API_KEY", "allow_hosts": ["api.acme.com:443"], "value": "…" } or { …, "source_credential_id": 7, "source_field": "key" } to read a Services key — exactly one form |
| PATCH | keyed by { "env_var": "ACME_API_KEY" }; send only what changes. env_var itself cannot change |
| DELETE | { "env_var": "ACME_API_KEY" } → 204; also turns it off for every agent |
The Services keys for the second form are GET /api/ai-account/orgs/{org}/integration-credential/ — [{ id, name, value }],
masked for an admin. Only the ids, names and the keys of value are
used. The field to read is the service's one sensitive field (key for
Stripe, ElevenLabs and HeyGen); a service signed in with client_id /
client_secret has none, and only ibl.ai can use its key. The rest of the
Services REST surface is in /iblai-api-integration.
| Rule | From @iblai/iblai-js/data-layer |
|---|---|
An address typed without a port gets :443; a pasted URL keeps its host and the port its scheme implies (https://api.acme.com/v1 → api.acme.com:443). Stored as host:port, shown without :443 | normalizeHostInput, VIRTUAL_MACHINE_DEFAULT_HOST_PORT |
host:port, no wildcard; port 1–65535 | validateHostPort, VIRTUAL_MACHINE_HOST_PORT_PATTERN |
localhost, metadata*, instance-data* and .local / .internal / .localhost hosts refused; reserved IP ranges refused | VIRTUAL_MACHINE_REJECTED_HOSTS, VIRTUAL_MACHINE_REJECTED_HOST_SUFFIXES |
| Networks accept IP addresses, environment variables do not | HostPortChipInput's allowIpAddresses |
| ≤ 100 addresses per network | VIRTUAL_MACHINE_MAX_POLICY_HOSTS |
| ≤ 20 environment variables per agent | VIRTUAL_MACHINE_MAX_SECRETS_PER_MENTOR |
| Variable name: letters, digits and underscores, not starting with a digit, ≤ 128 characters, unused in the organization | validateSecretEnvVar, VIRTUAL_MACHINE_ENV_VAR_PATTERN, VIRTUAL_MACHINE_ENV_VAR_MAX_LENGTH |
Not a name the VM relies on (PATH, HOME, LD_PRELOAD, the proxy variables, …) and not starting MSB_ or IBLAI_ | isReservedEnvVar, VIRTUAL_MACHINE_RESERVED_ENV_VARS, VIRTUAL_MACHINE_RESERVED_ENV_VAR_PREFIXES |
Every 400 comes back as { error } — either a plain message or
{ field: ["…"] }; the dialogs show it under the field it names.
From @iblai/iblai-js/web-containers:
VirtualMachineAdminTab, VirtualMachineAdminTabProps — the Network page.SecretsTab, SecretsTabProps — the Secrets page.HostPortChipInput, HostPortChipInputProps — the address chip input
(defaultPort, allowIpAddresses, maxEntries), reusable for any
allowlist field.VirtualMachineNetworkSection — the agent's Network Access section
(/iblai-vibe-agent-virtual-machine).From @iblai/iblai-js/web-containers/next: Account — the settings page
hosting both (targetTab="virtualMachine", targetTab="secrets").
From @iblai/iblai-js/data-layer:
useListVirtualMachineNetworkPoliciesQuery,
useCreateVirtualMachineNetworkPolicyMutation,
useUpdateVirtualMachineNetworkPolicyMutation,
useDeleteVirtualMachineNetworkPolicyMutationuseListVirtualMachineSecretsQuery,
useCreateVirtualMachineSecretMutation,
useUpdateVirtualMachineSecretMutation,
useDeleteVirtualMachineSecretMutationuseGetIntegrationCredentialsQuery,
useGetIntegrationCredentialsSchemaQuerynormalizeHostInput, splitHostPortInput, formatHostPort,
validateHostPort, deriveSecretEnvVar, validateSecretEnvVar,
isReservedEnvVar, getVirtualMachineApiError,
getVirtualMachineErrorStatus, extractBoundMentorIdsVIRTUAL_MACHINE_ENDPOINTS,
VIRTUAL_MACHINE_PERMISSIONS, the limits above,
VirtualMachineNetworkPolicy, VirtualMachineSecret,
SecretEnvVarIssueSDK source: packages/web-containers/src/components/profile/virtual-machine-admin/
(Network), components/profile/secrets/ (Secrets),
components/virtual-machine/ (both dialogs, the chip input), and
packages/data-layer/src/features/virtual-machine/.
Run /iblai-vibe-ops-test before telling the user the work is ready, and give
every page, control and state this skill added its own checkpoint — one Playwright
test titled <ID> · … in e2e/journeys/, listed in e2e/coverage.json;
pnpm e2e:coverage must pass:
pnpm build -- must pass with zero errorspnpm test -- vitest must pass/admin/network and the Secrets page's Environment Variables
tab in the browser as /iblai-vibe-ops-test says: open them, use every
control this skill added, read the console, check the phone width.mentorReducer and mentorMiddleware
— they register virtualMachineApiSlice, which these hooks live on.initializeDataLayer(): 5 args (v1.2+)@reduxjs/toolkit: Deduplicated via webpack aliases in next.config.tssonner and @iblai/iblai-web-mentor must be installed
(pnpm add sonner @iblai/iblai-web-mentor)env_var is immutable. Deleting and adding again is the rename
path — and the delete turns the variable off for every agent first.$1 per 10 minutes by default, prorated per second and
overridable per organization. The agent-side section states this
next to the controls.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