OpenFactory
Server Details
Build custom Linux OS images from recipes and test them in VMs with your OpenFactory account.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- openFactory-ai/openfactory-codex-plugin
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 189 tools
The set has many overlapping entry points: create_build, create_build_from_prompt, prepare_harness_build, build_image, retry_build, start_build_group_node; multiple status/evidence readers; and several app-testing paths (run_app_scenario, test_workflow, walk_app, walk_site, start_app_test). Individual descriptions are detailed, but an agent must understand many internal concepts before choosing correctly, and several tools could plausibly be selected for the same task.
Almost all tools use snake_case and most are verb_noun or clear noun-action names, e.g. create_app, get_app_build_status, delete_vm, list_labs. There are some deviations and mixed patterns such as platform_fix_start, walk_findings_to_tickets, and desktop_* convenience wrappers, but the overall convention remains readable.
189 tools is an extreme mismatch for a coherent MCP surface, spanning image builds, app deployment, VM control, browser automation, verification, labs, cloud, repositories, SMS, and phone calls. Even for a broad platform, this many tools creates a huge selection and maintenance burden and is far beyond a well-scoped set.
The surface covers an unusually large lifecycle: app creation/deployment/env/services, build recipes/images/verification, testing and walks, VMs, labs, cloud connections, repositories, and communications. There are some gaps such as no obvious delete_app or delete_build, but core workflows have clear tools and few dead ends.
Available Tools
189 toolsadd_app_bucketAInspect
Provision a managed MinIO bucket for an app + publish AWS_* credentials into the app's env automatically.
M1 behavior:
Verify caller owns the app
POST to libvirt :8001 /api/app-infra/buckets (stub mode by default — no real MinIO VM needed for M1)
PUT 5 env keys (OF_S3_ENDPOINT, OF_S3_BUCKET, OF_S3_ACCESS_KEY, OF_S3_SECRET_KEY, OF_S3_REGION) into the app's env via the producer API
Append bucket_id to App.bucket_refs
Return {bucket_id, status, env_keys, env_published}
When OPENFACTORY_STORAGE_PRODUCER_TOKEN is unset, step 3 is skipped
and the connection dict (INCLUDING secret_key — shown exactly once) is
returned in the response so the caller can manually publish via
set_app_env(app_id, set={...}). App code reads with explicit
kwargs: boto3.client('s3', endpoint_url=os.environ['OF_S3_ENDPOINT'], aws_access_key_id=os.environ['OF_S3_ACCESS_KEY'], aws_secret_access_key=os.environ['OF_S3_SECRET_KEY']).
Inputs: app_id (required), api_key, session_token. Returns: object
add_app_databaseAInspect
Provision a managed Postgres database for an app + publish
DATABASE_URL into the app's env automatically.
M1 behavior:
Verify caller owns the app
POST to libvirt :8001 /api/app-infra/databases to allocate the DB (stub mode by default — no real Postgres VM needed for M1)
PUT DATABASE_URL into the app's env via the producer API (the password never crosses MCP back to the caller)
Append db_id to App.db_refs
Return {db_id, status, env_keys, env_published}
When OPENFACTORY_DB_PRODUCER_TOKEN is unset, step 3 is skipped and
the connection URL is returned in the response — the caller must
publish it manually via set_app_env(app_id, set={'DATABASE_URL': ...}).
Inputs: app_id (required), engine, api_key, session_token. Returns: object
annotate_screenshotAInspect
Capture the desktop and draw labeled highlight boxes on it, then return the annotated screenshot URL.
Use this right after writing UI code to visually highlight the element you just added: call desktop_screenshot to read the new element's bbox, then annotate_screenshot with that box (and a label like "new: Submit button"). Coordinates are pixel-space — pass an element's bbox [x1,y1,x2,y2] directly, so the box lands exactly on the element. The annotated image is saved as evidence and returned as a fetchable URL.
Inputs: boxes (required), vm_name (required), api_key, include_perf, +1 more.
apply_fixAInspect
Apply a patch to a deployed app and restart its systemd unit. M1 is
local-vm only: writes the file via the guest agent, then systemctl restart of-app-<slug>. github-pr / provider-redeploy modes return 501
until M2.5 / M3.
Inputs: patch (required), vm_name (required), intent_id (required), target_file (required), +2 more. Returns: object
assign_app_scenarioAInspect
Assign a scenario to a project (and optionally an existing variant), or remove it.
This only sets metadata — it never touches the scenario's steps or hardened
element cache, and never triggers a build. Provide project_id (and an
optional existing build_id) to file the scenario under that project;
omit project_id to remove it from its project. Only scenarios you own.
Inputs: scenario_id (required), api_key, build_id, project_id, +1 more. Returns: object
attach_internal_repositoryBInspect
Clone and authorize an existing repository owned by this tenant.
Inputs: name (required). Returns: object
authenticate_testerAInspect
Log your tester browser into a login-walled OpenFactory platform site so you can reproduce and VERIFY authenticated UI. Call this BEFORE open_url / test_workflow / walk_app on console/build/direktor.openfactory.tech.
Injects a short-lived session for a scoped, NON-admin tester identity as the NextAuth session cookie (httpOnly — settable only via DevTools, not JS), so the next navigation to that site is already logged in. Only supports .openfactory.tech platform sites; managed apps (.apps.openfactory.tech) use their own app-auth secrets (enable_app_auth) instead.
Inputs: vm_name (required), target_url (required), api_key, include_perf, +1 more.
build_imageAInspect
Prepare, build, verify, and publish one OS image lifecycle.
This is the ONLY way the harness can produce an ISO — it has no root and must
not run build.sh directly. The worktree path and base image come from the
build record (never trusted from the caller), but it builds the config/ you
authored: from the recipe it writes only config/distribution, the
os.packages/os.services package list (Debian targets), the archive entries
for published os.custom_obs_packages and the installer manifest. Feature
packages and hooks, ENABLE_* gates, branding, users, the desktop session,
GRUB/Plymouth and wallpaper exist only if you wrote them, so a recipe alone
builds a stock image. Run check_image_inputs before every call.
Streams build output to the dashboard and returns the durable
lifecycle result. wait_seconds may keep an existing detached build in
this call for up to 300 seconds; otherwise re-call the same tool while
fleet build or finalization is in progress. Durable polling never
redispatches or takes ownership from the worker/finalizer.
It accepts edits from config/recipe.json before choosing a cached result.
A fleet-dispatched image's result is returned once: re-calling reads a
build still running, still finalizing, or finished but not yet answered,
and never redispatches it; after a call has returned its finished answer
(finalized, a terminal failure, or a v2 session handover), the next call
builds a fresh image only when the canonical inputs have changed. If the
finalized image has the same recorded inputs, the tool preserves it and
directs you to verification instead of consuming another attempt.
Read a returned result or
verdict with get_build_status or get_verification_session. Before building it checkpoints config, stages package archives and uploads,
refuses a second concurrent call for the same build
(in_progress: True), cleans stale live-build state/mounts left by a
prior attempt (deliberately NO git reset — an agent's between-retry fixes
are working-tree edits and must survive), and dispatches the authored config.
A successful image is finalized and tested in this same call. success
therefore means the full lifecycle is certified; image_built separates
a verification failure from an image compilation failure.
Only for builds your own MCP client drives: a free client-driven account gets five new image dispatches per UTC month, including failed compiles. A platform goal build has no per-build attempt cap. Polling, replay and verification-only checks consume none. This is separate from the one verified hosted-chat result. A quota refusal includes the paid-signup URL to relay to the owner.
Inputs: build_id (required), api_key, wait_seconds, session_token. Returns: object
call_phoneAInspect
Place a real-time AI voice phone call.
An AI voice agent conducts the conversation using the context and goal you provide. The agent speaks naturally, listens to the other person, and responds in real-time — like having an assistant make the call for you.
This tool blocks until the call completes (typically 1-5 minutes). Returns a full transcript and outcome summary.
The call uses speech-to-text for listening and text-to-speech for speaking, powered by Claude for natural conversation management.
Inputs: to (required), goal (required), context (required), api_key, +1 more. Returns: object
cancel_app_test_groupBInspect
Cancel a running group re-run. The in-flight scenario finishes; remaining ones are skipped.
Inputs: batch_id (required), api_key, session_token. Returns: object
check_image_inputsAInspect
Pre-flight the authored config/ against the recipe before build_image.
Read-only, seconds, no network. Returns EVERY gap it finds in one list:
effective-feature, os.packages and service packages missing from the
install lists; vendor sources and signing keys missing for third-party
packages (from the feature files' third_party_repo / repos);
desktop-session plumbing the build-knowledge store records for the
desktop in play; recipe users nothing under config/ creates; GNOME Shell
extensions built for another shell than base_image ships, or pinned
ones left unstaged; base-release settings that name another release than
base_image; and
hooks you wrote that download during the build (curl, wget, git clone,
pip/npm/cargo install, key servers, a package manager given a URL), each
named with the route that replaces the download.
If the build has no worktree_path, call build_image to restore preparation for this same build. Its authoring_required result returns before assembly; inspect and restore the accepted config/, then repeat this preflight.
It refuses nothing and changes nothing. Fix everything in problems
before calling build_image; notes name what it could not verify, and
features with no package mapping on this base, which install nothing
until you add their packages to os.packages or drop them. An empty list
covers these checks only; it is not proof the tree is complete.
Inputs: build_id (required), api_key, session_token. Returns: object
check_messagesAInspect
Check incoming SMS messages and recent call logs for your workspace.
Returns SMS messages received in the last 24 hours and recent call history. Use this to see replies to your SMS messages or missed calls.
Inputs: limit, api_key, session_token. Returns: object
check_walk_regressionAInspect
The agentic UX-regression gate. Diffs a candidate walk against the active SEALED baseline and returns a verdict FIRST:
pass — no UX path removed, no new finding at/above the threshold fail — a state disappeared, a new blocker/major appeared, or the sealed baseline failed hash verification (tampered) no_baseline — nothing sealed yet (walk + seal_walk_baseline first)
Call this after an agent changes the app's code to confirm the user
experience still holds. comparability_warnings flag budget/mode
mismatches that could cause false failures.
Inputs: app_name (required), api_key, walk_id, session_token, +4 more. Returns: object
clear_walk_baselineAInspect
Clear the baseline pin for an app. Idempotent (returns {cleared: false} if no baseline was set).
Inputs: app_name (required), api_key, session_token. Returns: object
close_findingAInspect
Mark a finding as resolved (fixed/wont_fix/duplicate/not_a_bug). Future run_fix_cycle calls skip already-resolved findings.
Inputs: finding_id (required), resolution (required), notes, api_key, +2 more. Returns: object
configure_lab_networkBInspect
Configure an isolated lab network, .test DNS and explicit node traffic.
rules: [{source: 'entry', target: 'workspace', protocol: 'tcp', port: 8080}]. dns: {'files.workshop.test': 'entry'}. Subnets and runtime names are assigned by the platform. Internet enables public HTTP/HTTPS only; management, metadata, private ranges and other labs remain inaccessible.
Inputs: lab_id (required), network_id (required), dns, rules, +3 more. Returns: object
connect_cloud_providerAInspect
Connect a cloud account. Credentials are encrypted at rest, validated live against the provider, and (for the default connection per provider) projected into your account env so deployed apps can use the cloud directly. Returns the masked connection plus the validation result.
Inputs: name (required), provider (required), credentials (required), region, +2 more. Returns: object
create_appAInspect
Register an app (a git repo to deploy) on OpenFactory.
This creates the App record (name, source, slug, visibility). Deploy it with deploy_app(app_id=…) to build a fresh immutable variant and get a URL at https://.apps.openfactory.tech (web-service apps). To test an app that's ALREADY hosted elsewhere (Vercel, etc.), you don't need this — just point a scenario at its URL with create_app_scenario.
Inputs: name (required), git_url (required), port, slug, +6 more. Returns: object
create_app_from_promptBInspect
Turn a one-sentence brief into a queued immutable app deployment.
The returned app_id can be passed to:
iterate_app(app_id, instruction='make the header green')to record an iteration (M2 will actually apply it)get_app_build_status(app_id)to check current stateset_app_env(app_id, set={KEY:val})to inject env varswalk_app(app_url=<url>, mode='hybrid')for self-test
Inputs: brief (required), template_git_url (required), name, wait, +7 more. Returns: object
create_app_scenarioAInspect
Create a reusable GUI test scenario stored on OpenFactory.
Tests any URL the tester VM can reach — a local dev server, a deployed app, or a public site — on a vanilla Ubuntu+Firefox tester VM. No build and no image are required. Define the flow once in plain language; run it later (and repeatedly) with run_app_scenario. The first run hardens it (caches where each element is) so re-runs are fast and self-healing.
Inputs: steps (required), app_name (required), scenario (required), api_key, +9 more. Returns: object
create_buildAInspect
Create a new build from a recipe.
The recipe defines the base OS, features, packages, and configuration for the Linux image. The build is queued and its worktree prepared; by default YOU drive it from there with your own model -- OpenFactory runs no LLM for it. Call build_image(build_id), then drive its verification session: get_verification_session(build_id=...) names the VM and the claims a platform judge grades. Pass platform_agent=True to hand the build to OpenFactory's goal agent instead (metered platform AI).
By default the build also gets a chat, seeded with prompt (if given) and a
recipe card, and linked so it shows up in the sidebar and opens the build panel.
Pass create_chat=False to suppress that.
Interactive build-terminal agents that need the worktree path use prepare_harness_build instead.
The response includes a session_token — pass it to all subsequent tool calls (list_builds, get_build_status, etc.) to maintain session continuity.
Example recipe: { "name": "My Custom Server", "base_image": "debian-bookworm", "description": "A minimal web server", "os": { "features": ["ssh", "nginx"], "packages": ["htop", "vim"], "services": [ {"name": "ssh", "config": {"port": 22}} ] } }
Inputs: recipe (required), theme, prompt, api_key, +4 more. Returns: object
create_build_from_promptAInspect
Start an OpenFactory build from a one-sentence description.
The prompt is delivered to a new conversation's goal session -- the same agent that serves the Build UI. It reads the request, writes the recipe, builds the image, verifies it, and repairs failures on its own. Nothing is authored by the caller.
This spends platform AI: the goal session runs on OpenFactory's model and
is metered against your plan's AI allowance. Use create_build instead
when you already hold a complete recipe and want to drive it with your own
model.
The goal owns the build, so there is no build id yet when this returns:
poll list_builds for the returned conversation_id and follow the
build with get_build_status(build_id). If the agent needs a decision
from you, it asks in the conversation, which you can open in the Build UI.
Inputs: prompt (required), theme, api_key, session_token, +1 more. Returns: object
create_checkpointAInspect
Capture a manual checkpoint (code SHA + VM snapshot + DB snapshot) for the app. Use BEFORE a risky agent iteration; rollback_app restores the full tuple.
Inputs: app_id (required), notes, pinned, api_key, +1 more. Returns: object
create_internal_repositoryCInspect
Create, seed, clone, and authorize an internal-only Git repository.
Inputs: name (required), description. Returns: object
create_labBInspect
Create a private, owner-only lab within your purchased plan allocation.
Retry with the same idempotency_key. No public DNS or gateway is created.
Inputs: name (required), idempotency_key (required), api_key, session_token. Returns: object
create_lab_nodeCInspect
Provision only an owned private-lab role from a pinned built artifact.
This mandatory lab scope lets a session goal provision roles without exposing unrestricted VM lifecycle tools to an image-build goal.
Inputs: lab_id (required), node_id (required), build_id (required), networks (required), +11 more. Returns: object
create_recipe_from_templateBInspect
Create a new recipe based on an existing template.
Start with a pre-built template and customize it for your needs. Returns the modified recipe ready to use with create_build.
Inputs: name (required), template_id (required), modifications, session_token. Returns: object
create_vmCInspect
Create a VM from a built image, using the ARM preview for a PinePhone build.
Creates and starts a new VM running the built image.
Inputs: build_id (required), name, vcpus, lab_id, +11 more. Returns: object
delete_app_scenarioAInspect
Delete a saved app test scenario (its definition + hardened element cache).
Only deletes scenarios you own. Past run reports/videos are NOT removed — they live under their run ids. Idempotent: a missing scenario returns success.
Inputs: scenario_id (required), api_key, session_token. Returns: object
delete_checkpointAInspect
Remove a checkpoint. Errors with 'pinned' if the checkpoint is pinned (unpin first via pin_checkpoint with pinned=False).
Inputs: app_id (required), checkpoint_id (required), api_key, session_token. Returns: object
delete_labAInspect
Delete owned lab resources and credentials. Explicit confirm=true is required.
Retained test evidence follows its existing retention policy. Does not delete unrelated VMs, networks, or other customers' resources.
Inputs: lab_id (required), api_key, confirm, session_token. Returns: object
delete_lab_networkCInspect
Remove an owned lab network only after its nodes are removed.
Inputs: lab_id (required), network_id (required), api_key, session_token. Returns: object
delete_lab_nodeBInspect
Remove one owned lab node and its disks; its immutable evidence remains.
Inputs: lab_id (required), node_id (required), api_key, session_token. Returns: object
delete_lab_secretBInspect
Delete all versions of a secret once no deployment references it.
Inputs: name (required), lab_id (required), api_key, session_token. Returns: object
delete_vmBInspect
Delete a VM.
Stops and removes the VM and its associated resources.
Inputs: vm_name (required), api_key, session_token. Returns: object
deliver_lab_secretBInspect
Deliver one owned secret version to a role's root-only guest file.
Returns its guest path, never plaintext. Use native OS/application tools reading that file for administrator bootstrap, rotation or recovery.
Inputs: lab_id (required), node_id (required), reference (required), api_key, +1 more. Returns: object
deploy_appAInspect
Build a fresh app-baked OpenFactory variant and deploy it blue-green.
The exact Git revision is resolved with your connected GitHub account, dependencies and the app are built through OBS or a live-build hook, and a new live VM boots only after the ISO is complete. The VM receives runtime env, starts the packaged service, passes health checks, and then atomically replaces the old gateway route. No install/build work runs in the live VM.
To test an app hosted elsewhere (Vercel, AWS, …) you do NOT need this — pass the hosted URL straight to create_app_scenario.
Inputs: port, wait, app_id, branch, +11 more. Returns: object
deploy_lab_servicesAInspect
Deploy an owned published Git commit's digest-pinned Compose services privately.
The prepared role must contain Docker Compose and systemd. Secrets are explicit {VARIABLE: 'SECRET_NAME:version'} references. No hosted application gateway route is registered. Uses the existing deployment reconciler.
Inputs: lab_id (required), node_id (required), revision (required), repository (required), +2 more. Returns: object
desktop_clickAInspect
Click at coordinates on your desktop, then return screenshot + elements.
Use desktop_screenshot first to find element coordinates, then click using the center coordinates from the elements array.
Inputs: x (required), y (required), vm_name (required), button, +6 more.
desktop_close_tabAInspect
Close the currently active browser tab, then return screenshot + elements.
This sends the normal human browser shortcut Ctrl+W to the desktop VM. Use it after extracting what you need from a page, unless that tab has an unsaved form, draft, active download, authentication flow, or pending user approval.
Inputs: vm_name (required), api_key, include_perf, response_mode, +2 more.
desktop_dragAInspect
Drag-and-drop on your desktop: press at (x, y), move to (end_x, end_y), release.
Use desktop_screenshot first to get the source element's center, then pick a drop point. Good for moving a graph/canvas node, reordering a list, dragging a slider, or dropping one item onto another.
PANNING: on an interactive canvas — a node graph (React Flow topology), a map (Google Maps), a diagram, an image viewer — drag across EMPTY canvas space (not on a node/marker) to PAN the view. If part of what you want is off-screen, pan toward it instead of assuming it isn't there. Pair with scroll-to-zoom (see desktop_interact's scroll action) to navigate large canvases: zoom out to get an overview, pan to the region of interest, zoom in to act.
Inputs: x (required), y (required), end_x (required), end_y (required), +6 more.
desktop_interactAInspect
Execute a sequence of actions on the VM's desktop, then return the screen.
The post-action screenshot comes back as an inline image (plus its URL and OmniParser elements), so you can see what your actions actually did.
On a build's of-test-* VM this is the ONLY way to click, type, press keys, scroll or drag — batch the steps of one interaction here (e.g. click a field, type text, press Enter). Keep batches short: the whole call shares a 25-second budget, which explicit wait actions extend.
An optional verification_capture (or motion_capture) action runs the native recorder concurrently with this sequence (delay_seconds counts from dispatch, not its position in the array). It requires the ready session's build_id and app_run_id plus a stable operation_id; the native recorder still enforces all guards. The response includes verification_capture metadata alongside the action frame (with display_motion for a motion_capture).
NAVIGATING CANVASES (node graphs, maps, diagrams, image viewers): you are not limited to what's currently on screen — you can zoom and pan. • scroll = ZOOM on a canvas. Scroll over EMPTY canvas space (not on a node or card, which may capture the wheel) with a meaningful amount (e.g. 6–10) — direction "up" zooms in, "down" zooms out. Small amounts may not move the view noticeably. • drag across EMPTY canvas space = PAN (use a drag action in this tool). Typical flow for a large graph/map: scroll down to zoom OUT for an overview → drag to pan to the area you want → scroll up to zoom IN before clicking. If something seems missing or cut off, zoom out / pan before concluding it's absent.
Inputs: actions (required), vm_name (required), api_key, include_perf, +3 more.
desktop_keyBInspect
Press a key or key combination on your desktop, then return screenshot + elements.
Common keys: Return, Tab, Escape, Backspace, Delete, Home, End, ctrl+l (focus URL bar), ctrl+w (close tab), ctrl+c (copy), ctrl+v (paste), alt+F4 (close window).
Inputs: key (required), vm_name (required), api_key, include_perf, +3 more.
desktop_listenAInspect
Listen to audio from a desktop VM and get transcriptions.
Captures system audio (PulseAudio monitor) from the desktop VM, sends it through the Whisper STT service, and returns transcribed text.
Use 'start' to begin continuous background listening, then 'transcript' to query what was said. Use 'snapshot' for a quick one-shot capture.
Inputs: action (required), vm_name (required), api_key, session_token. Returns: object
desktop_open_urlAInspect
Open a URL in Brave on the VM (falls back to Chromium or Firefox if Brave isn't installed on the VM).
REQUIRES the QEMU guest agent: the browser is launched inside the guest.
Without the agent, run the same steps as desktop_interact actions —
key "ctrl+l", type the URL, key "Return".
Do NOT use this to "prove" a kiosk, an autostarted browser, or a homepage: it opens a SECOND browser window, so what appears here says nothing about what the image starts on its own. Screenshot the untouched session instead.
Sends Ctrl+L (focus address bar) → types URL → Enter → waits for page load →
takes the screenshot and parses elements. This is a convenience tool; the
same sequence can be expressed as key/type actions in desktop_interact.
To prevent runaway tab accumulation in long-running agent sessions, the
tool keeps at most max_tabs browser tabs open and closes the oldest one
(FIFO) when a new URL would push past the cap. The cap is enforced via
Chromium DevTools on loopback inside the VM, so it applies to Brave /
Chromium / Edge but not Firefox. Set max_tabs=0 to opt out for one-off
sessions.
Inputs: url (required), vm_name (required), zoom, mobile, +6 more.
desktop_read_regionAInspect
Run a real vision-language OCR model on a region of the VM's display and return all its text.
Returns TEXT ONLY — there is no image in this response. Call
desktop_screenshot when you need to see the pixels.
UNLIKE desktop_screenshot (which returns OmniParser's filtered UI-element list — only button and icon labels), this runs a transformer-based OCR model on the raw pixels and returns ALL the text. Use this when you need to: • Read terminal output • Read browser page body content (articles, docs, error messages) • Read dialog body text • Verify exact text that OmniParser's UI filter drops
TWO MODES: • Default (include_coordinates=False): Nanonets OCR 2 returns structured markdown with preserved tables, code blocks, headings, and lists. Optimized for READING. • Opt-in (include_coordinates=True): EasyOCR returns per-line text + pixel centers. Optimized for CLICKING on something you read.
Region defaults to the full screen. Pass x/y/width/height to OCR a sub-region.
Coordinates in lines[] responses are always in full-screen pixel space, so the
center values can be fed directly to a desktop_interact click action.
Inputs: vm_name (required), x, y, width, +5 more.
desktop_screenshotAInspect
Take a screenshot of the VM's display and look at what is on screen.
Returns three things: the frame itself as an inline image (downscaled only
above 1280 px on the long edge — fleet VMs render 1280x800, so you normally
see native pixels), the full-resolution URL, and OmniParser's list of
detected UI elements with coordinates in the screenshot's NATIVE
resolution. Feed an element's center straight into a desktop_interact
click action.
Works on the run's of-test-* VM and needs no guest agent: the frame is captured from the hypervisor's framebuffer, so it also works on a greeter, an installer, or a system whose session is broken.
Look at the image before trusting the element list: OmniParser reports what it recognized, not what is on screen. Call this first to orient yourself.
Inputs: vm_name (required), api_key, include_perf, response_mode, +1 more.
desktop_speakAInspect
Speak text aloud on a desktop VM using text-to-speech.
Generates speech via the XTTS service and plays it through the VM's audio output. Supports 17 languages and voice cloning.
Inputs: text (required), vm_name (required), api_key, speaker, +2 more. Returns: object
desktop_start_recordingAInspect
Start recording a VM's screen to a video file.
Runs server-side on the libvirt capture path, so you can keep watching the VM's live VNC console and keep driving it with the desktop_* tools while it records. Returns a recording_id and a video_url (fetchable once stopped). Call desktop_stop_recording(recording_id) to finish.
Inputs: vm_name (required), fps, label, format, +2 more. Returns: object
desktop_stop_recordingBInspect
Stop a recording and finalize the video. Returns the fetchable video_url.
Inputs: recording_id (required), api_key, session_token. Returns: object
desktop_typeBInspect
Type text on your desktop, then return screenshot + elements.
The text is typed into whatever field currently has focus. Click on an input field first if needed.
Inputs: text (required), vm_name (required), api_key, press_enter, +4 more.
diff_walksAInspect
Compute a diff between two walks. Joins states by content-addressed state_id and findings by dedup_key. Returns added/removed/changed states plus new/resolved/persistent findings, sorted by severity. Cached on first call so subsequent reads are instant.
Inputs: new_walk_id (required), base_walk_id (required), api_key, use_cache, +1 more. Returns: object
disable_app_authAInspect
Disable per-app auth. Doesn't touch the OF_AUTH_* env vars automatically — the operator should call set_app_env(delete=[ 'OF_AUTH_ISSUER', ...]) separately to fully clean up.
Inputs: app_id (required), purge, api_key, session_token. Returns: object
disable_app_ideAInspect
Stop code-server + remove the ide- gateway route. Idempotent — calling on an already-disabled IDE is a no-op.
Inputs: app_id (required), api_key, session_token. Returns: object
disconnect_cloud_providerAInspect
Remove a cloud connection and every account env var it projected. Cloud resources themselves are never touched.
Inputs: connection_id (required), api_key, session_token. Returns: object
enable_app_authAInspect
Provision per-app OIDC auth + auto-publish OF_AUTH_* into env.
M1 flow:
Verify caller owns the app
Service.enable() creates realm + client (stub mode by default)
App.auth block persisted (NO client_secret — that's in env only)
Publish OF_AUTH_ISSUER + OF_AUTH_CLIENT_ID + OF_AUTH_CLIENT_SECRET + OF_AUTH_JWKS_URL via the producer API
Return {realm, client_id, issuer_url, jwks_url, env_published, env_keys}. When OPENFACTORY_AUTH_PRODUCER_TOKEN is unset, returns client_secret + env_payload inline (one-shot — discard after use).
Inputs: app_id (required), api_key, providers, session_token. Returns: object
enable_app_ideAInspect
Enable code-server (Web IDE) for the app. Returns the IDE URL
at https://ide-<slug>.apps.openfactory.tech. Always private +
owner-only by spec (gateway-side enforcement lands in M1.5).
Idempotent — calling on an already-running IDE returns the existing binding without re-provisioning.
Inputs: app_id (required), api_key, session_token. Returns: object
ensure_lab_testerBInspect
Provision an owned, lab-scoped browser VM from the platform's pinned tester.
The tester uses only the named lab network and consumes the same account allocation. It is ephemeral; remove its node after retaining evidence.
Inputs: lab_id (required), network_id (required), vcpus, api_key, +2 more. Returns: object
ensure_tester_vmAInspect
Get-or-create your desktop tester VM for an app (idempotent).
ONE reused VM per app: call with app='' and you always get the same of-tester-- VM (the same one the app's test-run pool uses). Reuses it if running, restarts it if stopped, creates it from the pinned tester ISO (XFCE
Firefox) if missing. Ordinary testers do not autostart after host reboots and can be reclaimed by idle retention when unleased and unreferenced. Explicitly pinned warm-pool testers retain autostart and pool protection. Delete a tester explicitly with delete_vm when you no longer want it. Ephemeral by default (no persistence disk) so a fresh tester comes up fast and agent-ready within a typical tool-call timeout; pass persistence_gb>0 to add a Zone-2 disk whose contents survive reboots.
Then drive it with desktop_open_url / desktop_screenshot / desktop_click etc., and record what you test with start_app_test.
Inputs: app, vcpus, lab_id, api_key, +6 more. Returns: object
enumerate_dom_linksAInspect
List every clickable / interactive element on the active page via DevTools.
Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Returns DOM-truth: every , ,
Pair with desktop_screenshot (vision-based, returns what LOOKS clickable) for cross-check: enumerate_dom_links returns what IS clickable. The walker treats DOM enumeration as ground truth and OmniParser bboxes as pixel-coordinate hints.
Inputs: vm_name (required), api_key, tab_filter, include_perf, +1 more.
finalize_build_planCInspect
Validate and launch one complete authored plan; no prior submissions or buffer.
Inputs: plan, queue, api_key, session_token. Returns: object
finish_app_testCInspect
Finalize an app test run with its verdict.
Inputs: run_id (required), status (required), notes, api_key, +2 more. Returns: object
finish_verification_sessionAInspect
Hand the current phase in. The platform seals its recording.
Hands in the phase get_verification_session named. This is irreversible: once finishing is requested the phase cannot be cancelled or reopened.
Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims.
If the build has an installed phase and you finish the LIVE phase with passed or failed, the platform installs the image to disk and boots it (status installing); poll get_verification_session until the installed phase is ready, show the claims again there, and finish it the same way. Finishing the live phase with error or skipped stops before installation. A failed phase still gets independent grading of its recording and native command facts; its valid checks stay passed, while the artifact cannot be certified. Otherwise the platform judges what was recorded: read the verdict with get_test_results and get_test_run_screenshot(run_id, "session-judge"); only a judged pass of every phase can certify the build.
Inputs: status (required), notes, api_key, build_id, +1 more. Returns: object
generate_lab_secretAInspect
Generate an encrypted, versioned lab credential; return only its reference.
Existing names stage a new version. Explicit deployment references activate it after the application's credential rotation procedure. The owner reveals credentials through the authenticated console, never this MCP response.
Inputs: name (required), lab_id (required), api_key, session_token. Returns: object
get_appAInspect
Get one app's full record (source, slug, status, deploy history).
Inputs: app_id (required), api_key, session_token. Returns: object
get_app_auth_statusAInspect
Return the current auth binding for the app. NEVER returns the client_secret — use reveal_app_env(name='OF_AUTH_CLIENT_SECRET') if you need it (audited).
Inputs: app_id (required), api_key, session_token. Returns: object
get_app_build_statusAInspect
Return the build/deploy status for an app plus live iteration-thread state — origin (brief + iterations), current URL, deploy history count, env version drift signal, and each in-flight change's status (queued/working/ done/failed) with the agent's result evidence.
For general app inspection, use list_apps() / get_app().
Inputs: app_id (required), api_key, session_token. Returns: object
get_app_deploy_statusCInspect
Poll an immutable app variant through build, boot, health, and cutover.
Inputs: app_id (required), api_key, deploy_id, session_token. Returns: object
get_app_ide_statusAInspect
Current IDE binding for the app: enabled flag, URL, status, timestamps. Returns a default off-binding when never enabled.
Inputs: app_id (required), api_key, session_token. Returns: object
get_app_scenarioBInspect
Get a scenario's full definition, hardened cache, and last run.
Inputs: scenario_id (required), api_key, session_token. Returns: object
get_app_templateBInspect
Full manifest for one template: source git URL, runtime defaults, env-variable spec, declared services, rendered README.
Inputs: template_id (required), api_key, session_token. Returns: object
get_app_test_groupAInspect
Live status of a group re-run: per-scenario status, which VM each ran on, and pass/fail counts. Poll this until status is completed/cancelled/error.
Inputs: batch_id (required), api_key, session_token. Returns: object
get_app_test_runAInspect
Get one app test run, including per-step verdicts and screenshot refs.
Inputs: run_id (required), api_key, include_steps, session_token. Returns: object
get_app_walkBInspect
Get the full walk record: status, totals, states, transitions, findings.
Inputs: walk_id (required), api_key, session_token, include_states, +3 more. Returns: object
get_browser_diagnosticsAInspect
Capture browser diagnostics — console errors, failed requests, page health.
Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Snapshot mode (collect_duration_ms=0) returns the current page's URL, title, viewport metrics, performance timing, document size, ready state, and the contents of window.__ofErrors if a page hook has populated it. Live-collect mode keeps the CDP session open and captures Log entries (>= warning), console.error/warn calls, uncaught exceptions, network loading failures, and 4xx/5xx responses that fire during the window.
Typical use from a walker: call right after a state transition with collect_duration_ms=2000 to capture errors triggered by the page settling.
Inputs: vm_name (required), api_key, tab_filter, include_perf, +2 more.
get_buildAInspect
Get full details of a specific build including its recipe.
Use this to see the complete configuration of a build, including
the recipe, packages, and all settings. Also returns the originating
chat pointer (conversation_id, conversation_title) and the
redacted user prompt (originating_request) when those were stored.
overall_status is this build's own outcome and build_goal_state its
goal's, as get_build_status describes.
Inputs: build_id (required), api_key, session_token. Returns: object
get_build_evidenceAInspect
Read a build's durable evidence: why it failed, or why it was certified.
Explicit file="source:fedora_build.sh" reads a bounded, allowlisted root
entrypoint from this authorized build's current worktree. This returns
source_scope="current_build_source", not a committed-source guarantee.
Omitted file never reads or includes build source.
Two things live here, and either may be empty.
goal_completion is the record of a goal's completion. When a goal agent
called complete_goal, this is the summary and the verbatim evidence it
attached — the test run id, the assertions it read, and what it checked by
hand. It is the audit trail for "this goal was declared finished", and
this tool is the only place it can be read in full: the owner's goal feed
stores a sanitized copy capped at 1200 characters. It stays when a later
recipe edit, rebuild or failed re-test withdraws the build's certificate;
certification_status is the certificate as the build row has it now.
evidence is the diagnostic output harvested off the build's worktree
before deletion. This is the evidence for a build-script result contract
failure — the
build produced an ISO, but something the recipe declared did not actually
happen inside it: a first-run application install that never completed, a
GNOME extension that could not be installed. Those failures set
certification_status to "uncertified" and write verification_error;
they do NOT produce a test run, so get_test_results has nothing for them
and their absence is not evidence of health.
What you get, when the build recorded it:
of-firstrun-gui-session.log— the only account of what the app actually did. The GUI autostart has no terminal, so without this the serial console shows a boot and a poweroff with a silent gap where the failure is. Carries $HOME, the app's own log tail, DNS and egress, surviving processes, any blocking dialog, and the launcher source.of-firstrun-vm-phase.log— the first-run phase as the VM saw it.of-nspawn-boot.log— the container boot around it.of-boot-session-results.txt— Debian/Fedora graphical-session contract results, including the precise rejected harvest or failed proof.
Each is the last 12 KB of that file, captured at build end. Empty
evidence means nothing was harvested for this build, which is the normal
case for a build whose contracts all passed. A failed image build carries
failed_hook and failure_excerpt. For an existing failed remote assembly,
this explicit evidence read recovers its bounded terminal log window using
the current build's own owner and attempt binding; it launches no work.
Status polling remains local. file
selects one of these by name; it does not apply to goal_completion,
which is always returned whole.
An unresolved execution's execution_failure.ownership_diagnostics is a
closed current-attempt recovery reason and observation-freshness boolean.
It discloses no process, worker or lease identity, clears no fence and
launches no recovery or image work.
native_diagnostics adds a read-only current-attempt summary of retained
native-remaster logs. Only fixed categories, boolean markers and bounded
counts are returned; private log text, commands, paths and values are never
disclosed. Unavailable or unclassified diagnostics establish no cause and
do not change build or certification outcomes.
admission_diagnostics probes transport for this build's saved pending
verification launch. It returns only fixed error classes and HTTP status
codes, never endpoints, credentials, response bodies or exception text.
It creates no run and changes no admission, budget or test outcome.
goal_hold reports a fixed classification and boolean observations for
this build's owner-bound goal. Unknown or unavailable observations never
authorize clearing a hold or retrying a refused operation. No private goal
context, instruction text or exception details are returned.
queue_diagnostics projects only the native queue reason/detail and job
status for this owner's current attempt. Unavailable or mismatched facts
remain unknown; no worker identity, capacity counts or queue message is
returned, and this read never dispatches or changes scheduling.
test_network_diagnostics reads closed native allocator/attachment counts
only for an exact owner-bound infrastructure-failed run and artifact. A
fresh completed native collector observation may accompany them. This read
performs no allocation or collection, and unknown ownership remains unknown.
Inputs: build_id (required), file, api_key, session_token. Returns: object
get_build_groupBInspect
Read a build group's per-node child statuses (fresh, merged).
Inputs: group_id (required), api_key, session_token. Returns: object
get_build_statusAInspect
Get the current status of a build.
Returns the build stage (e.g., preparing, building, testing) and any current progress information.
IMPORTANT: check test_status as well as status — a build can be
"built" (the ISO exists) while automated verification FAILED or ERRORED.
Treat test_status of "failed"/"error" as a problem to surface to the
user; test_detail carries the failure message.
diagnostic_next_tool="get_test_results" takes latest_test_run_id.
diagnostic_next_tool="get_build_evidence" takes build_id; rejected
admissions reserve a run id without creating a test result.
overall_status is this build's own outcome, read from its row, and is
what says whether the build is certified now: built_unverified means the
row records a certification other than certified, even when a run passed.
build_goal_state is the state of the goal that owns the build. An accepted
recipe or checklist change withdraws the old certificate and reopens a
completed hosted goal in its existing thread, preserving budgets and
historical verdicts.
A failed image build carries failed_hook (the hook that stopped it, when
one did) and failure_excerpt (that hook's output, else the current
terminal error or build log's causal summary). Read them before changing
config/ or building again.
A build-script contract failure (first-run app install, GNOME extensions)
does not produce a test run at all — it sets certification_status to
"uncertified" and leaves its harvested logs on the build. Call
get_build_evidence for those before concluding there is nothing to read.
Inputs: build_id (required), api_key, session_token. Returns: object
get_checkpointAInspect
Fetch a single checkpoint (pending or resolved) by id. Used by the walker / runner to poll for the verdict on a checkpoint it created.
Inputs: checkpoint_id (required), api_key, session_token. Returns: object
get_compute_allocationBInspect
Read your purchased hosted allowance, own usage and remaining budget.
Returns no physical host capacity or other customers. Allowance is not dedicated hardware availability. Free accounts can inspect this report.
Inputs: api_key, session_token. Returns: object
get_feature_referenceAInspect
Read the feature library: the JSON, the hook, and its companion files.
This is a READER. It returns facts and decides nothing -- no recommended
feature, no ranking, no "you probably want". You author config/ from
the recipe yourself; this is where you look up what a feature actually
installs before you do.
With no feature_ids it returns the index (id, display name, category) of
every packaged feature, optionally filtered by category.
With feature_ids it returns every requested reference together under
references. Use one call for the complete selected feature set. Each
reference contains:
feature-- the parsed feature JSON, andfeature_jsonits verbatim text. Package lists are per distro (packages.debian,.ubuntu,.fedora,.opensuse, optional.arch);env_varis theENABLE_<X>flag its hook gates on;third_party_repodeclares an APT repo and its keyring.hook-- the verbatim text ofapp/hooks/<category>/<feature>.shwhen the feature ships one, withhook_path. Most features ship none: a package list is the whole feature.companions--{filename: text}for the<stem>-*.sh/<stem>-*.pyfiles that are copied beside the hook. A hook read without them is incomplete. Place them differently from the hook: the hook is written toconfig/hooks/live/NNNN-<feature>.chroot, but a companion goes toconfig/hooks/live/<filename>UNNUMBERED, keeping the exact name returned here, and the mode follows the suffix --.shis 0755 because the hook sources or executes it,.pyis 0644 because the hook installs it into the image rather than running it in the chroot. Renaming, number-prefixing or 0755-ing a.pybreaks the hook, which refers to it by exact name.
There is no generator key and no Python escape hatch. A feature is its
package lists, its hook and the files that hook reads; where a hook reads a
staged manifest its own header names the packaged asset template and the
slots to fill in the installed openfactory-build skill references.
Copy a hook body verbatim when you use it. Paraphrasing a hook loses the distro workaround it was written for, and those workarounds are why the hook exists.
Inputs: api_key, category, feature_ids, session_token. Returns: object
get_fix_intentBInspect
Read one FixIntent (status, target_file, suggested_patch, apply_result).
Inputs: intent_id (required), api_key, session_token. Returns: object
get_harness_skillAInspect
Fetch a packaged OpenFactory harness skill (instructions + references).
Remote sessions have no filesystem access to this host, so the canonical
skill markdown is served in-band. Follow the returned skill exactly as if
it were installed locally; references carries its companion files.
Inputs: name (required), api_key, resource_path, session_token. Returns: object
get_iso_download_urlAInspect
Get artifact access details for a completed build.
Returns a browser download URL when the caller has export access, or a structured account/Builder action when they do not. The build must be in a terminal 'built' or 'completed' status.
Inputs: build_id (required), api_key, session_token. Returns: object
get_labBInspect
Read one owned lab's nodes, private networks, secret metadata and evidence lineage.
Inputs: lab_id (required), api_key, session_token. Returns: object
get_lab_deploymentCInspect
Read an owned lab role's private deployment status and pinned provenance.
Inputs: lab_id (required), node_id (required), api_key, session_token. Returns: object
get_obs_package_logAInspect
Return the tail of one package's OBS build log.
The default is a bounded current snapshot, never a stream. Set
last_completed=true to inspect the last finished native build even while
dependencies have scheduled another one. It is historical diagnostic output,
not proof that the current source is published. Counts describe
that retrieved window, not the complete historical log. To find a failure
outside the tail, supply repository, start_byte and literal search_text;
next_byte_offset advances one bounded window, and matches include context.
Preserve overlap when searching a string across adjacent byte windows.
The tail is where a build log says why it failed; the head is boilerplate
chroot setup. This returns lines only -- read them, decide what is wrong,
fix the source in your repository, publish_internal_repository, and
resubmit the same project at the new revision.
Inputs: package (required), project (required), arch, repository, +4 more. Returns: object
get_obs_package_statusAInspect
Read what OBS currently says about one package. One read, no waiting.
Returns the raw per-repository/per-architecture rows plus a single
collapsed status (queued, building, succeeded, failed,
unresolvable, broken) and whether the resulting APT repository is
actually servable.
succeeded and published are two different facts and this tool keeps
them apart. OBS reports a package as built well before the publisher has
written a signed index, and live-build's first apt-get update against a
repository with no Release/Packages/Release.key is fatal. Only
published: true means an ISO may pull from repo_url. When the
submission record carries the revision you asked for, published
additionally requires binaries stamped with that revision to be in the
index, so a stale prior build cannot look like your new one. Binary names
come from that exact source revision's Debian manifest; all of them must
be present with the expected revision, even when none shares its name.
RPM/APK publication instead requires the exact uploaded source marker and
clean, successful, published native results for every requested architecture,
in addition to a servable native index. Old dirty or pending jobs never
establish publication of a new submission.
This tool never tells you what to do next. "queued" does not mean wait, "failed" does not mean regenerate -- you have the recipe, the source and the log, and the decision is yours.
Inputs: package (required), project (required), include_repository_key_digest. Returns: object
get_pending_checkpointAInspect
Long-poll for the oldest pending harness checkpoint visible to the caller.
Returns {checkpoint: {...} | null, pending_count: int}. The checkpoint's
prompt + context (which includes proposed scenario_steps + finding +
screenshot_url for mining checkpoints, or step_index + step_description for
replay checkpoints) is what the harness should evaluate. Then call
submit_scenario_checkpoint(checkpoint_id, verdict, …) to resume the
paused walker / runner.
Common harness loop: while walking: r = get_pending_checkpoint(walk_id=walk_id, wait_seconds=25) cp = r.get("checkpoint") if not cp: continue # Read screenshot URL, inspect proposed scenario, etc. verdict = "pass" if scenario_looks_solid else "fail" submit_scenario_checkpoint(cp["checkpoint_id"], verdict=verdict, notes=…)
Inputs: run_id, api_key, walk_id, wait_seconds, +1 more. Returns: object
get_platform_fixBInspect
Read a platform fix record: status (running | implemented | staging | staged | landing | landed | failed | stage_failed | land_failed), commit, changed files, staging/prod URLs, error details.
Inputs: fix_id (required), api_key, session_token. Returns: object
get_recipeAInspect
Get full details of a specific recipe.
Returns the complete recipe including all packages, services, and configuration. Use this to understand what a recipe contains before using it as a template for a build.
Inputs: recipe_id (required), session_token. Returns: Full recipe details.
get_recordingAInspect
Get a recording's status + metadata (status, duration_ms, size_bytes, video_url).
Inputs: recording_id (required), api_key, session_token. Returns: object
get_test_evidenceBInspect
Read complete retained test evidence in bounded pages, even after VM expiry.
Inputs: run_id (required), limit, offset, api_key, +2 more. Returns: object
get_test_resultsAInspect
Get the results of a test run.
Returns bounded individual assertion evidence, a deterministic failure
classification, VM/snapshot information, and the exact next diagnostic
tools. A failed run with results populated has usable evidence even
when the optional legacy logs string is absent.
Inputs: run_id (required), limit, offset, api_key, +1 more. Returns: Full details of a test run.
get_test_run_screenshotAInspect
Return an assertion frame, recorded final display, or resumed live display.
This does not require a reachable guest agent. Use it to inspect visual evidence before deciding whether a failed assertion belongs to the image or to the verifier/platform.
Inputs: run_id (required), api_key, assertion_id, session_token.
get_verification_sessionAInspect
Read your goal's verification session: its state, its VM, and what it is graded on.
Your build is verified by ONE recorded session that you drive yourself, on
the of-test-* VM named here. That vm_name is the vm_name argument of
every desktop_screenshot, desktop_read_region, desktop_interact,
desktop_open_url and guest_command call you make for this build — there is no
other machine, and you do not create one. Driving your own build from an
outside MCP client, pass its build_id (and your account key) to all four
session tools; the platform judge grades your recording just the same.
status is provisioning (the platform is booting the image), ready (drive
it), installing (the platform is installing to disk; hands off), judging
(handed in), or the terminal verdict passed/failed/error.
admission_pending means the saved launch has no run record yet; retry
the diagnostic_next_tool on the same image. Failed artifact finalization
requires build_image before a verification launch can be admitted.
intent_items are the claims the platform judge will grade the recording
against: walk them one at a time and record a step for each, passing its
id in intent_item_ids. Each item's rule is how it is graded:
platform (decided by the platform's own root check; a bound terminal
frame is optional, shown beside the platform's result),
evidence (one clear frame of it, and no later frame contradicting it, so
the screen you finish on decides the no-dialog claim; a claim about how
the desktop looks counts only as the desktop renders it, never as
on-screen text naming the value), console (shown on the text console). A
feature item's assertion
is the check behind the claim -- its type and params name the package,
command or path to show. required false means the judge not seeing this
claim (insufficient) does not fail the run; a claim it sees contradicted
still fails it. seconds_remaining and the budget are the platform's, not
yours.
delivery is the platform's current evidence-based decision on policy 2:
verified, ready_with_limitations, or blocked. Ready with limitations can
finish through complete_goal after disclosing all limitations; it grants
no full certificate and never changes last_verdict. interpretations are
the audited finite readings of vague owner preferences.
last_verdict is None until the judge has graded the run; then it holds
overall, the termination reason, counts, and per item its outcome
(pass | fail | insufficient | infra), reason, what was missing and the
frames it was graded on.
sessions_left_on_this_artifact is how many more judged sessions these
exact bytes allow after this run (a run still open counts as one that will
be judged; one the platform ends as an error is not charged). At 0 only a
changed image can be verified again: start_verification_session refuses.
It is None for a build-group node, whose group keeps its own count.
status refused means the platform would not launch a session for this
artifact at all: refusal holds the reason, the exact refusal text and the
next step. Nothing will open until the image changes.
A failed run can have no session because provisioning stopped first.
error_message and diagnostic_next_tool then point to its evidence:
inspect that run before deciding whether the image or platform needs repair.
When its failure_kind is infrastructure the platform failed it, and
message says what to do instead.
phase is live or installed (installing between them). installed_phase
says whether this build's admitted intent includes the installed system;
when it is true the session has TWO phases on this one run: finish the live phase with finish_verification_session and the
platform installs the image to disk and boots the installed system (install
shows its progress; the VM refuses input meanwhile). Poll until status is
ready again with phase installed, then show every listed claim again on the
installed system -- the judge grades that recording separately -- and finish
once more. Both phases must pass to certify.
If installed_phase is false but the owner requires installation, use
revise_verification_checklist to add required phase: "installed_system"
checks with an enabled drivable installer. A textual installed claim with
the default live phase does not schedule installation. This is the supported
checklist revision path, and preserves existing checks and budgets.
status artifact_check means a phone image, which has no session at all:
artifact_checks are the sealed checks it is certified on, and run_id is
the run complete_goal certifies. status no_verification_run means a
Raspberry Pi image, which has neither: say so plainly in the chat and end
your turn.
Inputs: api_key, build_id, session_token. Returns: object
get_vm_console_urlBInspect
Get the VNC console URL for a VM.
Returns a URL that can be used to connect to the VM's graphical console.
Inputs: vm_name (required), api_key, session_token. Returns: object
get_vm_hardwareAInspect
Read an owner VM's memory, CPUs, disk, display, guest-agent state and plan caps.
Read-only. Use it before proposing a hardware change, and to explain to the owner what their VM has and what their plan allows.
Inputs: vm_name (required), api_key, session_token. Returns: object
get_vm_install_statusBInspect
Read progress for an install-to-disk VM deployment.
Inputs: install_job_id (required), api_key, session_token. Returns: object
get_walk_baselineAInspect
Get the current baseline walk for an app (your own pin). Returns {baseline: null} if none set.
Inputs: app_name (required), api_key, session_token. Returns: object
get_walk_summaryAInspect
Token-bounded digest of a walked website: status + coverage, the site
state tree (routes, titles, inbound actions, per-node finding counts),
a findings digest (top by severity), a capability inventory (forms,
inputs, internal/external links), a console/HTTP error rollup, the
structural tree_hash, and active-baseline status. Safe to call on any
walk without blowing context (unlike the raw get_app_walk dump).
Inputs: walk_id (required), api_key, max_findings, session_token, +1 more. Returns: object
guest_commandAInspect
Run commands and manage files on a VM via the QEMU guest agent.
This tool provides direct access to VMs without SSH — it uses the QEMU guest agent to execute commands, read/write files, and manage systemd services. The VM must be running and have the guest agent installed.
Use this for server administration, configuration, debugging, and automation tasks on VMs managed by OpenFactory.
Inputs: vm_name (required), path, type, action, +9 more. Returns: object
inspect_boot_sequenceAInspect
Return the saved boot contact sheet and selected GRUB/Plymouth frames.
Assertion-time evidence is a 0.5-second contact sheet of the native boot recording so the visual judge can see GRUB and Plymouth even when a single selected cell is firmware or a login TTY. Cells are large enough to read a GRUB menu, and the recorder follows guest GOP resizes instead of cropping to the 640x480 handshake. A recapture is diagnostic only: it adds frames and never revises the original assertion verdict. If the VM expired or now boots a different medium, rerun the same verification contract rather than substituting an unrelated VM.
Inputs: run_id (required), api_key, surface, recapture, +1 more.
inspect_installed_diskAInspect
Read the disk a test run installed, while its VM is shut off.
Use it when a run reports that the installed disk did not boot or that its guest agent never connected: the disk shows whether the installer wrote a bootable system (and whether that system then booted) or whether the fault is the platform's. It is read-only and never changes a verdict.
Operations: summary (filesystems, what inspection mounted,
/etc/os-release, /boot/efi/EFI, /boot/loader/entries); ls and cat
of a path under /boot, /etc, /var/log, /usr/lib/systemd or
/usr/lib/udev/rules.d (cat returns at most the last 64 KiB);
journal (the installed system's last 400 journal entries). A running
VM, or one the run no longer retains, is answered with a sentence. If a
finished failed run's VM is still running, set quiesce_failed=True to
stop that disposable test VM before inspection. Active tests are refused.
Inputs: run_id (required), path, vm_id, api_key, +3 more.
instantiate_app_templateAInspect
Create a new app from the template. Returns the new app_id + declared_services list. Caller chains add_app_database / add_app_bucket / enable_app_auth for any declared services, then deploy_app(app_id) to bake a fresh variant and bring the app live.
Inputs: template_id (required), env, name, api_key, +1 more. Returns: object
iterate_appAInspect
Dispatch a natural-language change to an app and have it applied for you.
A repair agent reproduces, applies the change to the app deployed in its
sandbox VM, redeploys, and verifies. Works on any app you own that has a git
source. Poll get_app_build_status(app_id) for the live thread status
(queued -> working -> done/failed). Persisting the change back to your git
repo (via a connected GitHub integration) is a follow-up capability.
Inputs: app_id (required), instruction (required), api_key, thread_id, +2 more. Returns: object
land_platform_fixAInspect
Land a staged fix to production: verifies the green-scenario gate and that every commit names the fix that produced it (Openfactory-Goal), then pushes via the blessed pipeline (monorepo: ai-deploy; openfactory.tech: fast-forward main + push). Returns immediately — poll get_platform_fix until 'landed', wait out the deploy, then re-run the scenario against the production URL.
Inputs: fix_id (required), scenario_id (required), scenario_run_id (required), api_key, +1 more. Returns: object
list_account_envAInspect
List account-level env vars (shared defaults across all your apps).
These flow into every app deploy BEFORE app-level vars (app overrides
on collision). Use for shared secrets like a personal API key that
multiple apps need. Returns {entries: [{name, value:"********", source, updated_at}]}.
Inputs: api_key, session_token. Returns: object
list_app_bucketsAInspect
List buckets provisioned for an app (metadata only — no secret_keys).
Inputs: app_id (required), api_key, session_token. Returns: object
list_app_databasesBInspect
List databases provisioned for an app (metadata only — no passwords).
Inputs: app_id (required), api_key, session_token. Returns: object
list_app_envAInspect
List the app's env vars (masked — values returned as ********).
Returns {entries: [{name, value:"********", source, producer, updated_at}], env_version, applied_env_version}. Use reveal_app_env to decrypt a
specific value (audited).
Inputs: app_id (required), api_key, session_token. Returns: object
list_app_scenariosCInspect
List your saved GUI test scenarios.
Inputs: limit, api_key, app_name, project_id, +1 more. Returns: object
list_app_templatesAInspect
Browse the app-templates gallery. No auth required — templates are public read. Returns summaries (id, name, description, category, tags, declared_services). Fetch full manifests via get_app_template.
Inputs: q, api_key, category, session_token. Returns: object
list_app_test_runsAInspect
List app test runs (newest first), or the per-scenario verdict rollup.
Use summary=True to compare results across runs/commits for each app_name + scenario pair.
Inputs: limit, status, api_key, summary, +4 more. Returns: object
list_app_walksBInspect
List walks visible to the caller (own walks; admins see all).
Inputs: limit, status, api_key, app_name, +2 more. Returns: object
list_buildsAInspect
List your OpenFactory builds.
Returns a list of your builds with basic information like name, status, and features. Use get_build for full details including the recipe.
Inputs: limit, api_key, session_token, status_filter. Returns: object
list_checkpointsBInspect
List checkpoints for an app (newest first) + per-app storage usage.
Inputs: app_id (required), api_key, session_token. Returns: object
list_cloud_instancesAInspect
List cloud instances (EC2 / Compute Engine / Azure VMs) for your connected providers, normalized to one schema.
Inputs: api_key, connection_id, session_token. Returns: object
list_cloud_providersAInspect
List your connected cloud providers (credentials always redacted).
Inputs: api_key, session_token. Returns: object
list_fix_intentsAInspect
List your FixIntents, newest first. Optional walk_id filter.
Inputs: api_key, walk_id, session_token. Returns: object
list_internal_repositoriesAInspect
List internal repositories owned by this harness tenant.
Inputs: no named parameters. Returns: object
list_labsBInspect
List only your private labs, with their retained versioned declarations.
Inputs: api_key, session_token. Returns: object
list_lab_secretsBInspect
List owned lab credential names and versions without plaintext values.
Inputs: lab_id (required), api_key, session_token. Returns: object
list_recipe_categoriesAInspect
List all available recipe categories.
Returns categories with labels and descriptions to help find the right type of recipe.
Inputs: session_token. Returns: result
list_recipesAInspect
List available pre-built recipes.
OpenFactory provides ready-to-use recipes for common use cases like healthcare systems, industrial automation, AI development, and more.
Use search/category to narrow the result, offset for the next page, and get_recipe to see full details of a specific recipe. This tool never emits the entire catalog in one response.
Inputs: limit, offset, search, category, +1 more. Returns: result
list_recordingsCInspect
List recordings for a VM, newest first.
Inputs: vm_name (required), api_key, session_token. Returns: object
list_test_runsBInspect
List test runs for your builds.
Returns test runs sorted by creation date (newest first).
Inputs: limit, offset, api_key, build_id, +1 more. Returns: result
list_vmsAInspect
List your running VMs.
Shows VMs created from your builds for testing. The response includes a session_token — pass it to subsequent tool calls.
Inputs: api_key, build_id, session_token. Returns: object
list_walk_baselinesAInspect
List every baseline pin you have across all your apps.
Inputs: api_key, session_token. Returns: object
pause_labBInspect
Gracefully stop lab roles, retain data and report its tier-based expiry.
Inputs: lab_id (required), api_key, session_token. Returns: object
pin_checkpointAInspect
Pin a checkpoint so the retention reconciler never deletes it.
Inputs: app_id (required), checkpoint_id (required), api_key, session_token. Returns: object
platform_fix_startAInspect
Start a host-side platform-website fix: an ad-hoc git branch/worktree plus a host coding session that implements + commits the change (never pushes). Returns immediately — poll get_platform_fix(fix_id) until status is 'implemented' (then stage_platform_fix) or 'failed'.
Inputs: site (required), instruction (required), api_key, thread_id, +1 more. Returns: object
prepare_harness_buildAInspect
Create a build + prepared worktree WITHOUT queueing the autonomous pipeline.
Create-without-queue primitive for the interactive build terminal: the
calling agent is the single driver and orchestrates the build itself, so
this must be used instead of create_build (which would queue a second,
autonomous pipeline over the same recipe). Pass platform_agent=True to
buy out of that and have OpenFactory's own goal agent drive instead; it is
the only way to get one here, and it needs a plan that includes it.
When a conversation is bound,
cancels that conversation's previous active interactive build first. It
never cancels another unbound caller's build. It creates and persists the
record, canonicalizes the recipe, prepares the primed worktree
(deterministic distro and package inputs), and marks
the build "building". No email notifications fire on this path — the user
is present in the terminal.
The returned agent_mode (author | report-only) governs authoring:
report-only is the worker-owned pipelines only (pi-gen, pmbootstrap), whose
configure() writes the config later, during build_image dispatch, so
their agent authors nothing (agent_mode_notice restates the rule). Every
other worker returns author, because the preparation path is actuators only
and the agent is the sole author of config/.
Returns: {build_id, worktree_path, branch_name, agent_mode, session_token}
Inputs: recipe (required), prompt, api_key, create_chat, +4 more. Returns: object
propose_fixBInspect
Create a FixIntent for a walker Finding. M1 does NOT auto-generate a patch; the returned intent carries the finding context and the caller supplies the actual patch via apply_fix(). M2 wires LLM patch generation via Context.sample().
Inputs: finding_id (required), mode, notes, api_key, +1 more. Returns: object
propose_vm_access_recoveryAInspect
Ask the owner to set a new password for an account in their own VM.
For an owner who has forgotten the password of the OS in their VM. The owner types the new password into the approval card, which sends it straight to the platform: it never reaches you, and you must never ask for it in the chat. Without a guest agent the VM restarts and the platform also installs the QEMU guest agent, so afterwards guest_command can run admin commands without the owner's password. The outcome arrives as your next input.
Inputs: reason (required), vm_name (required), username_hint. Returns: object
propose_vm_hardware_changeAInspect
Ask the owner to approve a hardware change to their VM; you never make it.
The platform checks the change first (plan, trial and capacity), then puts an approval card in this chat that says exactly what would change. The owner's answer arrives as your next input. A refusal comes back instead of a card: tell the owner once, with its manage_url when it has one, and do not retry it. Growing the disk does not grow the guest's partition or filesystem; do that with guest_command after it is applied.
Inputs: reason (required), vm_name (required), vcpus, disk_gb, +2 more. Returns: object
publish_internal_repositoryAInspect
Publish this repository's pending work to its approved main branch.
An external MCP client has no shell here: its writes land on work inside
the bare repository, and this fast-forwards main onto that tip with one
atomic compare-and-swap. If it pushed some other branch over HTTPS instead,
name that branch. A container agent instead has a real checkout, and for it
this stays the supported replacement for git push: it accepts only a
DB-authorized worktree/target pair, requires a clean checkout and a
fast-forward commit, disables client hooks and external Git protocols, and
never returns the host repository path.
Inputs: name (required), branch. Returns: object
query_build_knowledgeAInspect
Search the platform's proven build knowledge before inventing a fix.
Ask one focused query per recipe concept ("branding debian", "users autologin gdm", "installer calamares", ...) and one per new failure text. Make each a separate MCP invocation and read its result before the next; never batch queries in one shell call or concatenate their responses. A concept card comes back whole: every file that concept needs, with its template, slots and checks.
Tenant-scoped RAG over verified past fixes, feature/hook docs, and proven build documents, plus the verified learned-rule prose for the build's base image. Queries run as the BUILD OWNER, not the caller — guest builds run on system-owned harness keys, and querying as the system user would skip the owner's private knowledge tier. Read-only; the response is capped at 32KB.
For a recipe with a specific desktop, config_baseline is the certified
config baseline for this base image and desktop (a commit to read with
git show, or a line saying none exists): the same text
prepare_iso_workspace returns as prior_knowledge, for a goal that
was handed a Build ID and so never calls it. learned_rules and
config_baseline come with a session's first call for the build only,
unless include_learned_rules says otherwise; context_note says
whether they were sent earlier, none were found, the read failed or
learned_rules was truncated.
Inputs: query (required), build_id (required), k, api_key, +2 more. Returns: object
read_email_otpAInspect
Read a 2FA / one-time code from a Composio-connected Gmail.
Call this mid-test when a sign-in prompts for an emailed code: it polls the target user's recent Gmail (via Composio) for a matching message and returns {code}. Then type it with desktop_type. Requires an ACTIVE Composio Gmail connection for the target user.
Inputs: sender, api_key, for_user, code_pattern, +5 more. Returns: object
record_app_test_stepBInspect
Record one step of the running app test, with server-side screenshot.
A failed capture never loses the step — it is persisted with screenshot_error instead.
Inputs: run_id (required), description (required), notes, status, +3 more. Returns: object
record_verification_stepAInspect
Append one narrated step to the platform's ledger for this session.
The platform takes the screenshot, on the session's own VM, at this moment: you never supply the frame you are graded on. So put the subject on screen BEFORE you call this — close the menu you opened, raise the window, dismiss the dialog — because the judge samples the whole recording and an occluded frame proves nothing.
Bind every step to the claim(s) it shows with intent_item_ids. Without
them the judge has to guess which frame belongs to which claim from the
words on screen. An id that is not one of this session's intent items is
refused, with the valid ids.
Goes to the session get_verification_session named, on that session's VM — you never choose the run. Budget-checked: when the session wall clock or the step count is spent, this refuses and the platform judges what was recorded.
Inputs: description (required), notes, status, api_key, +6 more. Returns: object
remix_appAInspect
Fork a public+remixable app (or your own app regardless of flags). HARD security rule per spec: env values, secrets, DB contents, auth binding, checkpoints, and IDE state are NEVER copied — only the git_url + deployment_type + template lineage carry over. Set fresh secrets via set_app_env / provision fresh services via add_app_* after this returns.
Inputs: source_app_id (required), name, api_key, session_token. Returns: object
request_user_decisionAInspect
Escalate a genuine architectural fork or unsolvable problem to the user.
Reserve this for choices the user must make. Anything the owner cannot
act on is scope="platform": the installer driver could not click
through the installer, there is no trusted installer manifest, the
session VM never came up, or no engine will run. Those go to
OpenFactory operators: the severity is always destructive, the build and
the goal stop until an operator answers, and the owner is neither mailed
nor asked. Never ask the owner to waive a verification phase or to supply
a new build or build id.
The response tells you whether anyone is actually waiting, and there are only two cases:
status: auto_defaulted— ALREADY ANSWERED.answer.option_idis the option to build; keep working, and never sleep or poll on it. A minor decision that carries arecommendation_option_idcomes back this way immediately: your recommendation is the answer, so the build does not pause for it andtimeout_atis null because there is no window. A major decision still gets its window.status: pending— a person genuinely has to answer. Finish any deferrable work, then STOP cleanly WITHOUT reporting update_record failed; the platform parks the build as waiting for input.WHO RESUMES YOU DEPENDS ON WHO IS DRIVING. A session OpenFactory launched is woken with the answer, so stopping is all it has to do. If you are driving this build yourself from your own MCP client, nobody wakes you, because no platform agent was started for it: poll
get_build_statusuntildecision_answers[<decision_id>]appears, and resume from there. The response tells you which case you are in — it carriesrecommended_next_toolonly in the second. Either way, do not wait it out inside one call.
Inputs: options (required), build_id (required), question (required), kind, +6 more. Returns: object
resume_labCInspect
Resume owned lab roles after verifying remaining allocation and network policy.
Inputs: lab_id (required), api_key, session_token. Returns: object
resume_test_environmentAInspect
Resume the exact VM snapshot captured by a completed test run.
The returned vm_name is the of-test-* VM this run used, and it is the
vm_name argument for every probe: guest_command for functional
checks, desktop_screenshot and desktop_read_region to read the
display, desktop_interact to drive it.
Resuming does NOT extend the retention window in retained_until. Once
that passes, the VM is gone — rerun the same test contract rather than
standing up an unrelated VM whose state proves nothing about this run.
A judged VM can go sooner, a day after its verdict or last use, unless a
goal is still working on it.
Inputs: run_id (required), api_key, session_token. Returns: object
retry_buildAInspect
Retry a failed build.
Re-queues the build with the same recipe. Use this if a build failed due to a transient error.
Inputs: build_id (required), api_key, session_token. Returns: object
reveal_account_envBInspect
Decrypt and return a single account env var. Writes an audit entry.
Inputs: name (required), api_key, session_token. Returns: object
reveal_app_envAInspect
Decrypt and return a single app env var's plaintext value. Writes an audit entry recording the actor, app_id, name, and timestamp.
Inputs: name (required), app_id (required), api_key, session_token. Returns: object
revise_verification_checklistAInspect
Revise your goal's verification checklist, with a reason the owner sees.
The checklist the judge grades (the intent items get_verification_session lists) is fixed when the build is admitted. When it holds checks for an application or game you added that the owner never asked for, take it out of the recipe and the image's package lists first, then call this with the reason. You may also add read-only checks for what you built; the judge reads them as yours.
For inherited mistakes or superseded requirements, cite owner_message_id from describe_openfactory_workspace. The platform verifies the latest authentic owner input and uses its complete request history to judge every corrected check independently. This allows obsolete custom, desktop and non-security feature checks to be corrected; it never removes core, installer, compliance or owner-supplied reference checks. A recipe-generated wallpaper guess can be corrected with bound owner history only if the owner never named that asset; its required check and replacement image reference remain. A new owner amendment has a bounded correction budget. To correct an agent-chosen visual reference source, pair its removal with add_visual_references carrying the exact same claim and kind. Required status and phase coverage are retained; the replacement must resolve to an image before the revision is recorded.
For an explicit whole-recipe replacement ("Forget the previous recipe."), accept the new recipe and its package lists first. Pass only the latest owner_message_id and a reason. The platform reconciles the package and scenario checks from the accepted recipe before build or verification.
When the owner asked AGAINST a feature that still has checks ("Do NOT install: GNOME"), pass their exact words as owner_quote: a feature named only inside that quote is not one they asked for.
Without owner_message_id, refused with the reason per item: removing a check whose feature is not an application or extra (the desktop session, branding, security, compliance, installer, services and the like), whose feature is still installed, or whose feature the owner named in any chat message or selection; the owner's own request, platform, hygiene, installer, base image, compliance, custom-test or reference-image items; an account the recipe still creates or the owner named; a check a revision added. Refused too for a goal with no owner conversation, or a build-group node. Nothing is changed unless every requested change is allowed. A refusal only the owner's word can resolve -- the revision limit, no owner message to cite, a check the owner wrote or named -- is put to the owner in the chat if you then stop blocked, and their reply resumes the goal.
Each revision is recorded beside the admitted checklist, posted to the owner's chat and shown in the test report. It applies from the NEXT verification session, and only while the removed features stay out of the build: a session already open is graded on the checklist it was opened with. At most three revisions that remove or replace checks for an authenticated owner request; additions and firmware tags are free. A new owner amendment receives its own bounded correction allowance.
Inputs: reason (required), api_key, build_id, owner_quote, +8 more. Returns: object
rollback_appAInspect
Bi-directional rollback. The service captures a pre-rollback safety checkpoint FIRST, then applies the rollback (stop unit → revert VM disk → restore DB → start → health check). Returns the safety cp's id so you can roll forward again if the rollback was a mistake.
M1 stub mode: no real disk reverts (M1.5 wires real libvirt snapshots). Schema + state transitions are real — App.deploy_history gets a synthetic 'rolled-back to ' entry.
Inputs: app_id (required), checkpoint_id (required), api_key, session_token. Returns: object
rotate_app_auth_secretBInspect
Generate a new client_secret + republish via producer API. M1 ships the rotation; old-secret grace window lands in M1.5 once the real provider adapter is wired.
Inputs: app_id (required), api_key, session_token. Returns: object
run_all_app_scenariosAInspect
Kick off a batch run of every saved scenario for this app. Thin wrapper over the existing run_app_test_group(scope='app', app_name=...) primitive. Returns a batch_id pollable via get_app_test_group(batch_id).
Inputs: app_name (required), api_key, vm_name, project_id, +1 more. Returns: object
run_app_scenarioAInspect
Run a saved scenario in a VM and record the result as an app test run.
First run = hardening (resolves each element via OmniParser, slow). Later
runs replay from cache (fast) and only re-resolve steps whose UI changed.
The response reports, per step, whether it was served from cache or parsed.
Secrets (password, 2FA TOTP seed) are normally stored when the scenario is
created and pulled from the key store automatically; pass variables only to
override a value for this single run (substituted into ${VAR}/${totp:VAR},
never persisted).
Inputs: scenario_id (required), api_key, vm_name, variables, +4 more. Returns: object
run_app_test_groupAInspect
Re-run a whole group of saved app-test scenarios in the background.
Returns immediately with a batch_id; the scenarios replay on the app's tester-VM pool (multiple in parallel, one per free pool VM), each isolated with a fresh browser tab. Poll get_app_test_group(batch_id) for live progress, or cancel_app_test_group(batch_id). One batch per user at a time.
Pass delay_hours (0-72) to defer the re-run up to 3 days: the call returns a 'scheduled' batch right away and the run fires automatically when its time arrives (durable across restarts). A scheduled batch does not block running other tests now, and cancel_app_test_group cancels it before it fires.
Starting a batch requires a registered OpenFactory user authenticated with an MCP API key. Anonymous guest sessions may not schedule batch work.
Inputs: scope (required), api_key, app_name, project_id, +3 more. Returns: object
run_fix_cycleAInspect
Propose a fix cycle: create FixIntents for every blocker/major finding (or NEW since baseline if supplied), up to max_findings. M1 STUB — returns the plan without executing. Caller drives apply_fix() per intent. M2 auto-executes via LLM patch generation.
Inputs: walk_id (required), api_key, max_findings, session_token, +1 more. Returns: object
scale_tester_poolAInspect
Set how many tester VMs an app keeps (explicit performance opt-in).
The default is ONE VM per app. Raise instances to run more tests at the
same time. Eagerly creates new instance VMs and deletes idle surplus ones to
match; leased (in-use) instances are kept until they free up. Returns the
resulting pool status.
Inputs: app (required), instances (required), api_key, app_url, +1 more. Returns: object
seal_walk_baselineAInspect
Seal a completed walk into an IMMUTABLE golden state tree and pin it as the active baseline for (you, app_name).
Computes a structural tree_hash (comparable across walks) and a
tamper-evidence content_hash, then freezes the walk: its states,
transitions, findings, and screenshots can no longer be modified or
deleted, and the baseline history is append-only. This is the anchor
check_walk_regression compares future walks against so agentic code
changes can't silently break UX.
Inputs: walk_id (required), notes, api_key, app_name, +1 more. Returns: object
send_smsAInspect
Send an SMS text message to a phone number.
The platform automatically assigns a phone number from the shared pool. Use this for outreach, follow-ups, appointment reminders, or quick messages.
The recipient will see the message from an OpenFactory-managed phone number and can reply — check replies with check_messages().
Inputs: to (required), message (required), api_key, session_token. Returns: object
set_account_envAInspect
Upsert/delete account-level env vars in a single transaction. These propagate into every subsequent app deploy you own (account vars are merged in BEFORE app vars, so app-level keys override account-level).
Inputs: set, delete, api_key, session_token. Returns: object
set_app_envAInspect
Upsert and/or delete env vars on an app in a single transaction.
Bumps app.env_version if any var actually changed; deploy_app picks
up the new version on the next run (compare env_version to
applied_env_version to see drift). At least one of set / delete
required. Returns {env_version, redeploy_hint}.
Inputs: app_id (required), set, delete, api_key, +1 more. Returns: object
set_app_remixableAInspect
Toggle the remixable flag on your own app. Combined with visibility='public' (set via create_app or deploy_app), this opens your app up to forks from other users.
Inputs: app_id (required), remixable (required), api_key, session_token. Returns: object
set_app_test_report_visibilityCInspect
Toggle whether a standalone app test report is publicly viewable.
Inputs: run_id (required), public_report (required), api_key, session_token. Returns: object
set_lab_secretCInspect
Store a supplied credential encrypted at rest; return its versioned reference.
Inputs: name (required), value (required), lab_id (required), api_key, +1 more. Returns: object
set_vm_keep_runningAInspect
Keep the owner's Live VM running while no one uses it, or turn that off.
Use it only when the owner asks for a VM to stay on unattended (a server, a long job), or asks to turn that off; never on your own initiative. It takes effect at once.
Inputs: reason (required), vm_name (required), keep_running (required), api_key, +1 more. Returns: object
set_walk_baselineBInspect
Pin a walk as the current baseline for an app. Subsequent walks can be diffed against this baseline. One baseline per (user, app_name).
Inputs: walk_id (required), notes, api_key, app_name, +1 more. Returns: object
ssh_test_identityAInspect
Prove key-only SSH login on a session VM with a session-scoped identity the platform provisions.
The owner's requirement is sshd's policy -- public keys accepted, passwords
and root refused -- not one particular key, and a verification cannot wait
for the owner's own key: headless-pentest-debian (ae4fb901, 2026-10-20)
parked for it with 41 of 45 checks passing. This is the one sanctioned change
to a session VM: the platform generates an ed25519 key in the VM's tmpfs,
authorizes it for user, and probes over loopback -- key login (a shell as
the user), password login with keys disabled (refused), root login (refused)
-- and reads sshd's effective settings. The key never enters the image; the
disposable VM is the only place it exists. Record the returned facts in a
verification step bound to the owner's SSH checks, with the same probes shown
in a terminal frame when a claim's rule is evidence.
Inputs: user (required), vm_name (required), api_key, session_token. Returns: object
stage_platform_fixAInspect
Stage an implemented fix onto the local dev servers (the tester VM can reach the returned staging_url). Returns immediately — poll get_platform_fix until 'staged', then verify the repro + run the regression scenario against the staging URL.
Inputs: fix_id (required), api_key, session_token. Returns: object
start_app_testAInspect
Start recording an app test run (one scenario execution).
Drive the app with desktop_* tools yourself; after each meaningful step call record_app_test_step — the server captures the VM screen at that moment as evidence. Close with finish_app_test.
Inputs: app_name (required), scenario (required), api_key, app_url, +10 more. Returns: object
start_build_group_nodeAInspect
Start ONE node's build in a conductor-driven build group (ordered fan-out).
A multi-node conductor calls this per node, in dependency order, to start each node's autonomous build. Other nodes are untouched, so you control the order (e.g. bring up a router/switch or a shared base image before the nodes that depend on it). Monitor with get_build_group / get_build_status.
Inputs: node_id (required), group_id (required), api_key, session_token. Returns: object
start_cloud_instanceAInspect
Start a stopped cloud instance. Starting an instance incurs cloud charges on the connected account.
Inputs: instance_id (required), connection_id (required), api_key, session_token. Returns: object
start_verification_sessionAInspect
Open a NEW verification session on the artifact you already built.
Call this when build_image hands back an image and recommends starting its saved verification launch. The platform reserves that launch without a VM or session clock; this authenticated agent call proves someone can drive it. A build-group node opens once every node is built, one node at a time, on the whole topology. You can also call this when that artifact is unchanged and the session itself was poor — the platform hung up on a cap, or you lost the machine before you had looked at anything. Inspect a failed verdict's exact proof first: if an independent read-only probe confirms the image is correct and the recorded command/binding was defective, correct the evidence and re-present all claims within the existing session budget. Actual image defects require repair and a rebuild, which opens its own session. Never repeat unchanged evidence merely to seek a different grade.
Refused while your goal is parked for its owner, while any run of this build is still in flight, and once three sessions (build_image's included) have judged these exact bytes; a session that ended as an error is not counted. When the verdict that used up those three failed nothing and left only claims insufficient, one more session is allowed on the same bytes and owner scope, once per artifact (not for an installation case or a build-group node). An authenticated system operator may authorize one extra recovery session after a platform evidence defect, without resetting the judged count. One session covers both phases -- live and, when the build has one, installed -- so the installed phase is never a second launch. A recorded owner scope correction has its own three-session allowance on the same bytes; ordinary agent revisions cannot reset it. Poll get_verification_session until the new one is ready; it names the VM and the intent items.
A check that needs a firmware the last session did not boot (Legacy BIOS
with a DOS/MBR install, or UEFI) is a reason for a new session on
unchanged bytes: pass boot_firmware. Each session boots one firmware
and is judged on the untagged checks plus those tagged for its firmware.
When the owner needs both, tag the firmware-specific checks first
(revise_verification_checklist firmware_tags), then run one session per
tagged firmware; the build certifies when the latest of each passed.
A check that needs an existing Windows on the disk ("install alongside
Windows") is a reason for a new session too: pass
disk_fixture="windows-uefi".
A recipe whose boot menus wait for a choice (os.boot.manual_menu) still fails as not booting unattended unless a check the owner sealed requires it; only the owner, through the platform operator, can seal one.
A claim about slow boot media takes disk_read_mb_per_s; a live session
whose lock screen or privileged prompt needs a password the image never
gave you takes live_credential='platform'. Both are platform facts the
judge reads, never the image's own behaviour.
Inputs: api_key, build_id, disk_fixture, boot_firmware, +4 more. Returns: object
start_vmBInspect
Start a stopped VM.
Inputs: vm_name (required), api_key, session_token. Returns: object
stop_app_walkCInspect
Request cooperative cancellation. The explorer polls between actions.
Inputs: walk_id (required), api_key, session_token. Returns: object
stop_cloud_instanceCInspect
Stop a running cloud instance.
Inputs: instance_id (required), connection_id (required), api_key, session_token. Returns: object
stop_vmAInspect
Stop a running VM.
By default performs a graceful shutdown. Use force=True for immediate power off.
Inputs: vm_name (required), force, api_key, session_token. Returns: object
submit_obs_packageAInspect
Submit an attached internal repository to OBS as a package build.
build_dependencies optionally names source packages already submitted
for this same authorized build. Their matching target repositories are
and their declared transitive dependencies are searched before the base
distro archive, with explicit providers first. Every transitive provider
keeps the same owner/build/revision/target checks. Repeat the dependency list on each
submission; omitting it restores base-only dependency search. It accepts no project paths or
URLs, refuses self/cyclic dependencies, and preserves native version checks.
build_preferences selects at most 16 positive binary-package providers
when native dependency resolution is ambiguous. Literal names only; version
floors, repositories, targets and native tests remain unchanged. Repeat the
list on each submission; omission clears this tool's previous preferences.
rebuild_policy="local" opts an immutable Debian source with archive-only
build dependencies out of automatic external dependency rebuilds. Every
source submission still compiles/tests natively; publication and exact-source
checks remain required. Omission leaves existing native policy unchanged. Custom source
dependency graphs cannot use this fixed-source policy.
This is the "build on OBS" hop of the goal: you generate software, keep it
in its own git repository, build it here, and then point the live-build
archives at the resulting OBS repository (via
os.custom_obs_packages in config/recipe.json + build_image
-- never by hand-writing config/archives/*).
This tool returns as soon as OBS has accepted the source. It does not
wait for the build. That is on purpose, and it is not a limitation you
should work around: wait_for_app_build can block for up to 1800 s of compile plus
3600 s of publish, which would pin an MCP worker for over an hour and lose
the call outright across a deploy swap. More importantly, waiting is your
decision, not the platform's -- while OBS compiles you can keep authoring
config/, run validation, or prepare the next package. Poll
get_obs_package_status when you want the fact, and read
get_obs_package_log when that fact is a failure. (The short local step
inside this call -- packing your tree into a Debian source package and
uploading it -- stays inline with a bounded source-only deadline (large
offline payloads can take longer than ten minutes), because until it finishes
there is nothing for OBS to report on.)
The revision is resolved against the published bare repository, not your working checkout, so uncommitted or unpublished work is refused: OBS clones what your tenant has published, and a build of code nobody can fetch is not reproducible. The host path of that repository is never accepted from you and never returned to you -- it comes from the authorization record for the repositories attached to this harness session.
Inputs: package (required), repository (required), targets, build_id, +6 more. Returns: object
submit_scenario_checkpointAInspect
Submit a verdict for a paused checkpoint. The waiting walker / runner's next poll picks it up and resumes. Returns the resolved checkpoint record.
Inputs: verdict (required), checkpoint_id (required), notes, api_key, +2 more. Returns: object
terminate_cloud_instanceAInspect
PERMANENTLY terminate a cloud instance. Irreversible; requires confirm=true.
Inputs: instance_id (required), connection_id (required), api_key, confirm, +1 more. Returns: object
test_cloud_providerBInspect
Re-validate a cloud connection against the live provider API and refresh its status.
Inputs: connection_id (required), api_key, session_token. Returns: object
test_workflowAInspect
Autonomously TEST a GUI workflow and report whether it works.
OpenFactory's AI drives the tester VM (sees the screen, clicks/types) toward your goal, recording each step to the app-test harness with video. This spends platform AI and is metered against your plan's AI allowance; it is refused once that allowance is used. To use your own model instead, drive the VM yourself with desktop_screenshot / desktop_interact.
ASYNC BY DEFAULT: this returns right away with a run_id while the AI keeps driving the VM in the background, so your MCP client's call never blocks/times out. Poll get_app_test_run(run_id) — when status flips to passed/failed/error the run.verdict_notes holds the verdict and run.video has the recording. Pass wait=true to block for the verdict inline instead (short workflows only).
Run ensure_tester_vm first, and make sure the app is reachable from the VM.
Inputs: app_name (required), scenario (required), instructions (required), wait, +5 more. Returns: object
update_build_recipeAInspect
Replace a build's canonical recipe and graph.
Validates and canonicalizes the complete recipe. The resulting immutable recipe revision is also the console graph's source, so graph changes are visible immediately without a second write.
Topology and test edits do NOT rebuild the image; changes to os.features /
packages / services take effect on the next build_image attempt.
The response reports recipe_hash_before/recipe_hash_after and
changed. changed: false means this call stored the same document
that was already there — it is not a repair, and rebuilding from it
produces the same image.
Inputs: recipe (required), build_id (required), api_key, version_note, +1 more. Returns: object
validate_recipeBInspect
Validate a recipe without creating a build.
Inputs: recipe (required), session_token. Returns: object
walk_appAInspect
Autonomously walk a web dashboard and record what's there + what breaks.
Opens app_url in the tester VM's browser, then BFS-walks every
interactive control it finds (clicks each in turn), deduping UI states by
fingerprint (route_template + dom_signature). For each visited state it
captures a screenshot, the DOM-truth interactive-element list, and any
console / network errors that fire during the post-action settle window.
Findings are persisted with severity (blocker/major/minor/info) and
deduped by message — repeat errors collapse to one record.
Returns IMMEDIATELY with the walk_id; the actual walk runs in a background
asyncio task. Poll get_app_walk(walk_id) to watch progress, or
stop_app_walk(walk_id) to cancel.
M2 scope: mechanical BFS only — no AI mode, no auth flow, no checkpoints, no scenario emission (those come in M3/M4/M4.5/M2.D). The tester VM browser MUST be Chromium-class (Brave/Chromium/Chrome/Edge) — Firefox does not expose CDP at :9222 and the walker hard-fails on snapshot.
Inputs: app_url (required), vm_name (required), app_name (required), auth, +21 more. Returns: object
walk_findings_to_ticketsAInspect
Serialize a walk's findings into ticket payloads ready to POST to Linear / Jira / GitHub. Returns the JSON body each system expects; the operator (or a follow-up MCP webhook in M2) handles the actual POST.
Inputs: walk_id (required), format, api_key, team_id, +6 more. Returns: object
walk_recursive_reportBInspect
Recursive BFS-tree view of a walk's UI state graph. Each node carries route_template, depth, finding counts, and (if a baseline is provided) its NEW/UNCHANGED/REMOVED/CHANGED status.
Inputs: walk_id (required), api_key, session_token, baseline_walk_id. Returns: object
walk_siteAInspect
Autonomously walk a website and bring back a structured map of it.
BFS-walks every interactive control from url on a Chromium tester VM,
deduping UI states by fingerprint, recording a content-addressed state
tree plus per-state screenshots, DOM-truth elements, and any console /
network errors. Runs in mechanical mode so the resulting tree is
deterministic and comparable across runs (the basis of the regression
gate).
vm_name is optional — omit it and a Chromium tester is leased (and
cold-booted if needed) automatically. With wait_seconds > 0 the tool
blocks up to that long and returns the walk summary inline if it finishes;
otherwise it returns the walk_id to poll with get_walk_summary.
Workflow: walk_site → get_walk_summary → seal_walk_baseline → (after code changes) walk_site again → check_walk_regression.
Inputs: url (required), auth, mobile, api_key, +10 more. Returns: object
write_internal_repositoryAInspect
Commit files into an attached internal repository over MCP.
This is the write path for a caller with no shell on this host. Commits land
on the repository's work branch and NEVER on main: main is what
OBS builds and what an ISO installs, and it only moves when you call
publish_internal_repository. Each call adds ONE commit on top of the
current work tip and amends no earlier commit. That commit overwrites
each path in files and removes each path in delete, so send only
the files that change.
base_revision is how you reconcile with a main that moved: pass
'main' to restart work from the published tip, discarding work
commits that were never published, and re-apply these files on top of it.
Pass a SHA to make the write conditional on work still being where you
last saw it.
Inputs: name (required), files (required), message (required), delete, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Deploy open-source services and your own apps on Open Source Cloud (OSC, osaas.io).
Cloud Linux VMs for your agent: run code, Docker, files and HTTPS previews in a Sandboxer microVM.
Cloud desktops for AI agents: create a Linux computer, see its screen, click, type and run tasks.
Run, build, and validate firmware on virtual hardware from your AI agent. Hardware knowledge corpus.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceGives an AI agent its own fleet of disposable Linux microVMs on hardware you control, with tools to spawn, execute commands in, fork from identical disk states, list, and destroy them. Enables safe parallel exploration and cleanup all within an isolated VM boundary.1MIT- FlicenseNot gradedqualityDmaintenanceEnables autonomous desktop automation by delegating tasks to vision-based agents operating within cloud-based virtual machine sandboxes. It allows users to manage VMs, execute complex computer tasks, and receive text-based screen summaries across Linux, Windows, and macOS environments.2-
- AlicenseAqualityCmaintenanceEnables MCP clients to manage disposable cloud Linux machines by creating and controlling them, executing commands, reading and writing files, creating snapshots, publishing ports, and issuing SSH tokens.305MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to operate a persistent Linux sandbox in the cloud, running commands, managing files, using Git, and publishing artifacts through a Streamable HTTP MCP endpoint.-
Glama MCP Gateway
Add one secure layer between your agents and this server.