Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>IT4I WorkflowsNew to Visual Studio Code? Get it now.
IT4I Workflows

IT4I Workflows

Lukdrasil

|
4 installs
| (0) | Free
Browse your projects, computing resources, workflows, and datasets, manage EXA4MIND AI inference models, and submit the current workspace to HPC workflows.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

IT4I Workflows for VS Code

The IT4I Workflows extension brings your day-to-day work with IT4I Workflows into VS Code:

  • sign in with LEXIS, MyAccessID, or B2ACCESS through OAuth2 device authorization;
  • browse each project assigned to you, with its computing resources, workflows, datasets, and AI models in one place;
  • create projects, request computing resources from providers, ask to join projects, and follow your requests;
  • inspect assigned HPC, cloud, Kubernetes, and quantum resources, allocations, and available partitions;
  • find public workflows and datasets of other projects under the Public filter of the Workflows and Datasets pages;
  • browse workflow runs and dataset metadata;
  • upload local files and folders as datasets, browse dataset contents, open or download files, folders, and whole datasets, and change dataset access;
  • set up projects for the EXA4MIND AI Inference Service, register and load models, watch whether they are queued, loading, or running, inspect their registration parameters, and get the OpenAI-compatible endpoint and access token;
  • chat with your EXA4MIND models — and use them in agent mode — directly from VS Code's Chat and Agents views;
  • write workflow definitions (LWD, YAML) with live validation, deploy and update them, pull existing ones for editing, run and delete workflows;
  • turn a local script into a job-script workflow that runs it on an HPC cluster;
  • package the current VS Code workspace, upload it as a project dataset, and submit a workflow to an HPC resource;
  • follow what needs you, your newest runs and your data transfers on Home, and open the runs, workflows, datasets, AI models and requests of a project as pages in the editor.

The extension works through the lexis CLI, which calls the production REST APIs documented at docs.lexis.tech. The CLI holds the sign-in; the extension never holds a token. The CLI keeps the access and refresh tokens in credentials.json in its configuration folder (~/.config/lexis on Linux and macOS, %APPDATA%\lexis on Windows), readable by your user account; it does not use the system keyring yet.

Installation

The extension is not in a marketplace yet; it is installed from a .vsix package. It works in VS Code and in editors built on it (Cursor, Antigravity), which need version 1.104 or newer of the VS Code engine.

The extension needs the lexis CLI. To build both and install them on your computer, use lexis in a terminal, connect AI agents, or run against the mock server, follow INSTALL.md. FEATURES.md explains in plain words what the CLI, the MCP tools and the extension do.

In short: build the CLI into bin/lexis, then

npm ci            # once
npm run package   # lexis-platform-<version>.vsix, with bin/lexis inside
code --install-extension lexis-platform-<version>.vsix --force

and run Developer: Reload Window. By hand: in the editor open Extensions, choose ⋯ → Install from VSIX…, select the file, and reload the window. To replace an installed copy, uninstall it, quit the editor completely, then install again.

macOS, all editors. npm run install:local packages the extension and installs it into every supported editor found in /Applications (Antigravity IDE, Cursor, VS Code); scripts/install-local.sh antigravity|cursor|code installs into the named editors only. It does not build the CLI, so build bin/lexis first, and on Linux it finds no editor. The package version in package.json is the one installed, and raising it avoids an editor keeping an older copy.

The sign-in belongs to the lexis CLI, so one sign-in serves every editor and lexis in the terminal.

What works where. Home, its pages, run logs, and the Workflows Chat panel work in every editor above. The EXA4MIND models in the editor's own chat model picker need VS Code's language model API, and the IT4I Workflows tools for agents its MCP API, which Cursor and Antigravity may not offer; use Workflows: Open Chat there, or the local OpenAI proxy to connect their own model settings (or any OpenAI-compatible tool) to your EXA4MIND models.

First use

  1. Open the Workflows icon in the Activity Bar.
  2. Select Sign In on the welcome screen. The browser opens the IT4I Workflows sign-in page with the code already filled in; confirm it there. The notification shows the code until you are signed in and copies it to the clipboard, in case the page asks for it.
  3. Paste the code and complete the identity-provider login.
  4. Select Switch Project… on the card and choose a project.
  5. Run Workflows: Configure Workspace Submission… once for the current workspace (or choose Submit Workspace with This Workflow… on a workflow page).
  6. Run Workflows: Submit Current Workspace…, or choose Run Workflow… on the card or beside a workflow on the Workflows page and turn on Upload workspace folder in the run form.

With no project assigned, the view offers Create a Project… and Ask to Join a Project…. When the session ends, commands and the view say Your IT4I Workflows session has ended. with a way to sign in again, and the view shows the sign-in screen. Until you sign in again, commands that need LEXIS stop in the extension without calling it, and every window on the same lexis server learns that the session ended. A background refresh that LEXIS refuses (403) tells you once, then runs less and less often, and after three refusals in a row pauses for an hour. Retry Now or a manual refresh resumes it.

The Get Started with Workflows walkthrough (Help → Welcome, or Welcome: Open Walkthrough…) takes you through signing in, choosing a project, checking the setup, data and workflows, models and chat, and runs.

IT4I Workflows and EFP Workflows

The extension serves two services: IT4I Workflows (lexis --instance core) and EFP Workflows (lexis --instance efp). Home in the Workflows sidebar has a card for each, and you can be signed in to both at once. A signed-out service shows its own sign-in button, Sign in to IT4I Workflows or Sign in to EFP Workflows. Each service has its own entry in VS Code's Accounts menu.

Each card and each page shows only its own service, with the project you chose for it. An action on a card or a page acts on that service. Commands from the Command Palette, search, and the status bar act on the active service: the one whose card or page you last used, or signed in to last. Workflows: Switch Service in the Command Palette switches it by hand. Sign Out signs out of the active service. The ⋯ in Home's title has a submenu for each service with its own Sign Out.

Each section offers what its service's lexis CLI reports as available (features/list), read after sign-in. EFP Workflows has no dataset upload or download and no workspace submission yet, so its section does not offer them; they appear once the CLI enables them. AI models stay in the IT4I Workflows section. An EFP Workflows sign-in made in a terminal (lexis login --instance efp) is recognised too. Chat, the chat model picker, and the local OpenAI proxy always use your IT4I Workflows models, whichever service is active. Copilot in VS Code gets an MCP server for each service you are signed in to, so agents can use the EFP Workflows tools while you chat with IT4I Workflows models.

Walkthrough: from a prompt to an output dataset

The whole flow in one place: a model writes a script, the script runs as an HPC job, and you download what it produced. Each step links to the section with the details.

You need: a project with an HPC resource that has GPUs, an iRODS storage, and EXA4MIND inference enabled for the project. Workflows: Check Setup for the AI-to-HPC Flow… tells you which of these is missing (Setup check).

  1. Open a folder. Open an empty folder as the workspace; generated scripts are saved into it.
  2. Sign in. Open the Workflows icon in the Activity Bar and select Sign In; in the page that opens, confirm the code and complete the MyAccessID login.
  3. Choose the project. Select Choose project in the Home view, or the IT4I Workflows item in the status bar. The choice is stored for this folder, and lexis in the terminal and AI agents use it too.
  4. Start a model. Open AI Models on the project card and choose Load Model and Chat beside a stopped model. No model yet? Run Set Up Project for AI Inference… once, then Register AI Model… (AI models). Loading starts an HPC job on the project's allocation.
  5. Wait until it is Ready. The chat panel opens at once and shows the model as starting; Send is enabled when the model is Ready. This takes minutes: the job waits in the queue, then the model loads.
  6. Show the model your data (optional). In the chat, Attach file… → choose a dataset → choose a text file. The start of the file goes with your next message, and the model is told where the file will be inside the job (./input/<dataset name>/…).
  7. Ask for the code. For example: "Write a Python script that reads this graph, computes betweenness centrality, and saves a picture of it to ./output/centrality.png." The model is already told to write a batch script that reads from ./input/ and writes to ./output/.
  8. Review and edit. On the code block choose New file (or Insert) to read and change the code first, or go straight to the next step: it saves the script and opens it in the editor too.
  9. Run on HPC… on the code block. Enter a file name, then answer the questions of Create Job Script Workflow… (Job-script workflows): project, cluster and node type, command template, workflow ID, cores, walltime, storage, input datasets (the ones you attached are preselected), and the output folder (keep output) with the title of the dataset it becomes. Choose Create, or Review JSON First to see the request. If you edited the script, save it before you confirm: the saved file is what is uploaded.
  10. Submit. When the workflow is ready in IT4I Workflows (a few seconds up to a few minutes), choose Run Workflow… in the notification.
  11. Watch it. The run appears among the newest runs on the card. Its page shows the state of each step, and Show Logs of Run opens the task states, the HPC job's stdout and stderr, and the Airflow task logs in one document; open it again to see newer output (Run logs and output datasets).
  12. If it fails. Choose Ask the Model to Fix This Run… beside the failed run. The chat opens with the logs in the message box; send it, take the corrected script, and repeat from step 9.
  13. Download the result. When the run ends, a notification offers Download Output Dataset… (also on the run's page as Download Output Dataset of Run…). Choose the dataset with the title you gave in step 9 and the folder to download it into.

Good to know:

  • A script can only use the Python packages installed on the cluster. A # requires: … line the model adds is a note for you; nothing installs those packages.
  • Attach file… shows the model the first 12 000 bytes of a text file (lexis.chat.attachBytes), not the whole dataset, and not binary files.
  • The list in step 13 is a match by time and title, so it can hold datasets of other runs; pick by the title you chose.
  • The finished-run notification appears while Home is visible.

Current project

Switch Project… (on the card, the status bar item, or the Command Palette) sets the project this folder works in. The card and its pages then show that project. The choice is the one lexis project use stores for the folder, so lexis in the terminal and AI agents use the same project. A folder without one starts with the project you chose last. The picker lists your recent projects first. Show All Projects (⊟ on the card) shows all of them again. The current project is the default project for submission.

What belongs to a project:

  • Workflows belong to a project when they are tagged project__<short name> or with the bare short name of one of your projects. Tags listed in lexis.explorer.publicWorkflowTags (default public, access__public) mark a workflow as public. Workflows tagged user__<name>/owner__<name>, or whose Airflow owner is you, are yours: the Mine filter of the Workflows page shows them.
  • Datasets belong to the project in their DDI metadata. DDI is queried once per access level (user, project, public), so each level gets its own lexis.explorer.datasetLimit.
  • AI Models — an EXA4MIND inference project is linked to a project when its accounting string equals the name or HPC account of one of the project's computing resources.

Search

Workflows: Search… (the search icon in Home's title, or ⌘⌥L / Ctrl+Alt+L) finds projects, workflows, workflow runs, datasets, computing resources, and AI models in one list. Type to search all of them, or start with a prefix to search one kind:

Prefix Searches Where the search runs
p: projects (short name, name, description) in the editor (the list is small)
w: workflows (ID, description, tags) in the editor, over the workflows lexis lists
r: workflow runs of the last 30 days (workflow and run ID); add failed, running, queued, or success to filter by state Airflow, through lexis run/list with the state and start date
d: datasets (title and metadata) DDI, through lexis data/list with the text
c: computing resources (name, cluster, type, HPC account) in the editor
m: AI models (ID, inference project, engine, state) in the editor

For example r: failed ows lists failed runs of workflows with ows in their ID. Without a prefix each kind shows its first few matches and a Show all … entry. Choosing a result offers its actions: run a workflow or show its runs, show a run's logs, download its output dataset or ask the model to fix it, download a dataset or change its access, chat with a model, show a project only, open any of them in the portal, or copy its ID. A result also has the icons its row has on a page, such as Run Workflow… on a workflow or Ask the Model to Fix This Run… and Show Logs of Run on a failed run.

Search with r: or the Command Palette command Workflows: Find Workflow Run… searches runs, and a workflow's page lists its runs. DDI searches letters, digits, and spaces; other characters are ignored.

Forms

Run Workflow, Rerun with Edited Parameters, Create Job Script Workflow, Register AI Model, New Project, Request Computing Resources, and Request Access open a form: every field on one page, with pickers filled from IT4I Workflows (clusters, node types, command templates, datasets, storages, providers) and checks as you type, such as the walltime against the node type's maximum. Errors show under the field; the primary button sends only a valid form. The run and model forms have a JSON tab that edits the same request. Use the Wizard closes the form and asks one question at a time instead. Set lexis.forms.default to wizard to make the wizards the default.

The run form shows simple parameters as text, number, or switch fields, and each HPC job parameter as its cluster · node type · resource, command template and its parameters, cores, walltime (h:mm), policy, input datasets, and outputs. It edits the first task of a job; edit further tasks and new outputs in the JSON tab. The model form does not apply vLLM Recipes; use the wizard or Apply vLLM Recipe… for that.

Projects and computing resources

  • New Project… — in the service's submenu of Home's title ⋯, or the Command Palette. Enter the name, short name (the project's identifier: letters, digits, _ or -, up to 50 characters), description, contact e-mail, scientific domain, and start and end dates, then confirm. Afterwards you can request computing resources for it straight away.
  • Request Computing Resources… — on the Project page. Choose the provider (computing centre, as listed by IT4I Workflows), enter the name of the computational resource at that provider — for example your HPC project ID — and a contact e-mail. The provider's administrators accept or reject the request; once accepted, the allocation appears on the Project page.
  • Request Access to a Project… — in the same submenu: ask to join an existing project by its short name. The project's managers decide.
  • Requests that wait for your decision — requests to every project you manage (UserOrg lists those of projects where you are a manager) that wait for a manager: someone asking to join (Pending), or a computing resource waiting for the PI. They are in To decide in the Home view, on Overview and on the Requests tab, each with ✓ Accept and Reject…; the confirmation repeats what the request asks for, who asked, and, when the resource is already known to your projects, its description, PI, validity, and allocations. IT4I Workflows names a requested resource only while the request's e-mail links are valid; a request whose links expired can only be rejected. Accepting an access request makes the person a project member; accepting a resource request assigns the resource, or — if the computing centre has not created it yet — passes the request on to the centre. IT4I Workflows e-mails the requester the outcome. You do not need the e-mail links; they are meant for computing-centre contacts without an IT4I Workflows decision role. Resource requests whose e-mail links have expired are listed here too, marked stale: resource requests that still wait for a manager but whose e-mail links have expired, so IT4I Workflows no longer names the requested resource. Only Reject is offered; to grant the resource, ask the requester to send a new request. They count towards the badge like every item in Needs you.
  • Requests of the current project are on its Project page: requests to decide, with Accept and Reject, and requests that wait for someone else, such as the computing centre. UserOrg lists the requests of projects where you are a manager.
  • Requests You Sent — a page linked from each card and the Project page: the requests you sent to that service, across all projects, each with a ⋯ holding Show Details (JSON) and Copy ID. Its refresh reloads runs and requests.

Creating workflows

Workflow Definitions (LWD)

  • New Workflow… — on the Workflows page (or from the Command Palette). Choose the workflow ID and description; the extension then offers the project's real clusters, node types, allocations, and command templates (from IT4I Workflows) and writes .lexis/workflows/<id>.lwd.yaml with one job filled in. Without a workspace folder the definition opens in an untitled editor.
  • Live validation — while you edit a workflow file (*.lwd.yaml, or YAML in .lexis/workflows/), problems appear as squiggles and in the Problems panel: missing id/project_shortname, invalid IDs, more than 20 jobs, missing requirements or walltime, unknown data sources, job:// references to undefined jobs or outputs, unknown depends_on entries, dependency cycles, and public outputs without DataCite. With the Red Hat YAML extension you also get completions and hover help from the bundled schema.
  • Deploy Workflow — the upload icon in the editor title. Creates the workflow (stored in Airflow as <project>_<id> unless the ID already starts with the project name), waits until Airflow has loaded it, and offers Run Workflow…. If the workflow exists, you are asked before its definition is replaced; its custom tags are kept.
  • Edit Definition — on a workflow page, downloads its stored definition into .lexis/workflows/; edit and deploy to update it. Only workflows created from a definition have one.

The format is described in the LWD user guide.

Job-script workflows

Right-click a script in the VS Code Explorer (or run Create Job Script Workflow… from the Command Palette) and choose:

  1. the project, the machine (cluster · node type · computing resource), and the start command, the command template that runs the script (templates with a script or file parameter are listed first);
  2. which template parameter receives the script's file name (in the form it is under Advanced when the extension can suggest it);
  3. the workflow ID, description, cores (defaults to the node's cores), and walltime (capped at the node type's maximum).
  4. the storage for the job script, the input datasets (optional; they appear in the job directory under input/<name>), and the output folder to keep as a dataset (optional), with its title and access level.

When you create the workflow, the script is uploaded as a jobscript dataset and the workflow is created, exactly like the portal's custom HPC jobs: the dataset is staged into the job directory (/) and the command template gets the script's file name. If creating fails, choosing Create Workflow again in the same form reuses the uploaded dataset as long as the script, project, and storage are unchanged. Choose Review JSON First (or Save as JSON… in the form) to inspect or edit the request in .lexis/jobscripts/<id>.json, then create it with the upload icon in the editor title. Nothing is uploaded for the review: the request's dataset_id is local:<path of the script> until you create the workflow, which uploads the script first.

When Airflow has not loaded the new workflow after a few minutes, the message offers Run When Ready (waits again, then opens the run form) and Open Home.

Running and deleting

  • Run Workflow… — starts a run with the workflow's default parameters, which you can edit first in the form (or as JSON with the wizard). With a folder open, the form's Upload workspace folder switch packages and uploads the folder first and passes the dataset to the parameter you choose (Workspace submission); off, the run starts without it. Submit Workspace with This Workflow… (a button on the workflow page, and first in a workflow row's ⋯) opens the same form with the switch on. Show Runs… on the workflow page opens the runs of that workflow, and the ✕ on its filter chip shows the runs of all workflows.
  • Delete Workflow… — IT4I Workflows archives the workflow's files and run history, then removes it from Airflow. Datasets it produced are kept.

Creating, updating, and deleting workflows needs the corresponding workflow permission in the project (typically a project manager role); otherwise IT4I Workflows refuses and the extension says so.

Home view

The Home view has one card for each service you are signed in to, named after it. Each card says where you are in that service: Working in and the project's name, short name and end date, or Showing All projects with how many projects you have. A click on the project's name (Switch ▾, or Choose ▾ in All projects) picks that service's project of this folder, and ⊟ All projects (Show All Projects) shows all of them again. A click on a card's name folds it to one line with the project and how many items need you, and a second click unfolds it; the view remembers which cards are folded.

Under the project, ▶ Run Workflow…, whose ▶ has the theme's accent colour, sits next to + New (New Workflow…), ⇪ Upload (Upload as Dataset…) and, where the service takes submissions, ⋯ with Submit Current Workspace…. They stay on every tab. In a project, Run Workflow… offers only the project's workflows. Every other action button is tinted with the text colour. A link to a page or a tab is quiet text with ›. Each tab and Overview section ends with Show all … ›, which opens the page with every item and its filter. The tabs below them are ⌂ Overview, Workflows, Data, Models (IT4I Workflows only, with ● while a model is ready and ◷ while one loads) and Requests (counting the requests you can decide, or else those you wait for). Each card remembers its tab. Working in a project, the card shows only that project. All projects has no tabs: it shows Overview, with the loading and ready AI models of every project, then the pages of the service: Projects, AI Models (IT4I Workflows only), Public Datasets, Requests You Sent and Data Transfers.

Overview starts with To decide: requests to projects you manage that wait for your decision, each with ✓ Accept and Reject…, and one row for the requests whose e-mail links expired, whose Review… opens the Requests tab. Needs you lists the rest of what waits on you, three at a time; + N more lists the rest:

  1. Your runs that failed in the last lexis.activity.recentHours hours (Why? opens the log of the first failed task, and ✦ (Ask AI About This Run…) lets you pick where to chat about it: an installed agent such as Claude Code or GitHub Copilot Chat, which opens with a prompt naming the run and telling it to read the failed tasks' logs with the lexis tools, Fix the Script with an EXA4MIND Model, which sends the logs to a model of the service, or Copy Prompt for Another Agent), then your runs that look stuck (Cancel Run…).
  2. Setup gaps of the project: what the setup check finds missing, such as an HPC resource or a storage. The check runs once per project and session, and again after Refresh or when you sign in.
  3. The project ends within 30 days (Open in Portal).

While an AI model of the project loads or is ready, Overview shows it under AI model: a ready model has ✦ Chat and a ⋯ with Copy OpenAI Base URL, Show OpenAI Connection Details and Stop Model…, a loading one has Cancel… (Stop Model…). Waiting for results lists the runs you started from this editor, also after a restart, in the project's workflows when you work in one. A live run shows its running task, how many tasks are done and when it started, with Logs. A finished run stays until you open it, its Open Outputs or Why?, or Dismiss it. A failed one also has ✦. Overview then lists the three newest of your other runs (✓ succeeded, ✕ failed, ● running), then Show all runs ›, and the transfers running in this window.

The other tabs list five rows each and link the full page:

  • Workflows: running and failed workflows first, then the others by their latest run, each with its last run and ▶ Run, at most five. Show all N workflows › opens the Workflows page.
  • Data: running transfers and the five newest datasets of the project with ⇣ (Download…), and ✦ (Analyze Outputs with EXA4MIND…) while a model is ready. A click on a dataset opens it, and Show all N datasets › opens the Datasets page.
  • Models: the models of each EXA4MIND inference project linked to the project. A stopped model has ▶ Load Model and Chat, a loading one Cancel…, a ready one ✦ Chat (Chat with This Model) and ⋯. Each inference project has Register AI Model…, and Set Up Project for AI Inference… until it is set up. With no inference project linked, the tab says to ask the EXA4MIND administrators and offers Check Setup… (Check Setup for the AI-to-HPC Flow…). The local OpenAI proxy line starts or stops the proxy.
  • Requests: To decide, Expired links and the requests you sent to the project that still wait (Sent, waiting). Show all requests you sent › opens Requests You Sent.

Workflows: Open Page… in the Command Palette and the card's links open the pages of the project (Runs, Workflows, Datasets, Project, and AI Models in IT4I Workflows) while you work in one, and the pages of the service (Projects, AI Models in IT4I Workflows, Public Datasets, Requests You Sent, Data Transfers) in All projects. The Open … commands in the Command Palette open their page in either case. Each opens as a tab in the editor:

  • Run: its steps (a click opens the step's log, and ⇣ on a running step follows its live log) as Phases, Timeline or Graph, the last lines of the failed step's log, its datasets with Download, its parameters, and Rerun, Rerun with changes…, Stop run… and Show logs. A running run shows an estimate of how far it is, from the last three successful runs, and updates every 10 seconds.
  • Workflow: its tags, parameters with type and default, and runs, with Run workflow… and Edit definition.
  • Workflows: the project's workflows. The filter Mine keeps the workflows you own, Public shows public and shared workflows of none of your projects. Runs has Mine (the runs you started) and Project, Datasets has Mine (only you can see them), Project and Public (public datasets of other projects). Each page opens on Project.
  • Project: Submit Current Workspace…, Upload as Dataset…, Request Computing Resources… and Open Requests You Sent, then core hours left across its resources, requests to decide (✓ Accept Request, ✕ Reject Request…, and a ⋯ with Show Details (JSON) and Copy ID), its computing resources (each with a ⋯ holding Request Computing Resources…, Show Details (JSON) and Copy ID, and a quantum one with Open in QaaS or Install the QaaS Extension), and links to its datasets, runs and workflows. Show next to Waiting for others opens it.
  • Projects: every project of the service, also expired ones, each with Work in This Project, and New Project… and Request Access to a Project…. A project's crumbs lead back to it.
  • Datasets: the project's datasets, browsed folder by folder. A dataset has Download… and Analyze Outputs with EXA4MIND…, and the list has Upload as Dataset… above it.
  • Runs and Workflows of the project, Public Workflows (the Workflows page on its Public filter), Public datasets of the service with a filter, and Data Transfers: Upload as Dataset… and Download Dataset…, the uploads and downloads of this window, updated when one starts or ends, each finished one with its local path and Show in Folder, and the copies and replications on the servers.

The editor title of each page has its refresh (Refresh, Refresh Runs and Requests or Refresh Datasets) and a ⋯ with the page's other actions that fit its item now. A run: Show Workflow Diagram, Download Output Dataset of Run… after a failure, the reruns while it runs, Analyze Outputs with EXA4MIND… and Analyze with AI (Copy Prompt) once it ended. A workflow: Configure Workspace Submission…, Show Parameters and Delete Workflow…. A project: Configure Workspace Submission… and Work in This Project. A dataset: Rename…, Change Access…, Analyze with AI (Copy Prompt), Copy DDI Path and Delete…. Runs, workflows, projects and datasets also have Open in Portal, Show Details (JSON) and Copy ID.

Each row of runs or workflows has at most two icons for what its item needs now, and a ⋯ with its other actions. A failed run: Ask the Model to Fix This Run… and Show Logs of Run. A running run: Watch Run in Status Bar and Show Logs of Run, with Cancel Run… last in its ⋯. A finished run: Show Logs of Run. A workflow: Run Workflow…, with Submit Workspace with This Workflow… first in its ⋯. A dataset in the list on the Datasets page: Download…, and Rename…, Change Access…, Analyze Outputs with EXA4MIND…, Analyze with AI (Copy Prompt), Copy DDI Path, Open in Portal, Show Details (JSON), Copy ID and Delete… in its ⋯. A file or folder of a dataset: Download…, and Open, Copy DDI Path, Show Details (JSON), Copy ID and Delete… in its ⋯. The Runs page has Run Workflow…, the Workflows page Run Workflow…, New Workflow…, Create Job Script Workflow… and Submit Current Workspace…, and the Datasets page Upload as Dataset…. Below the actions, a filter bar has a field that filters the list as you type (/ moves the focus to it) and segments such as Mine, Project and Public with the number of rows each one shows. Find Workflow Run…, Search Workflows… and Search Datasets… stay in the Command Palette. The AI Models link on an IT4I Workflows project card opens the models of the project's AI inference projects: Load Model, Open Chat and Register AI Model… at the top, Chat with This Model and Stop Model… on a serving model, Load Model and Load Model and Chat on a stopped one, and Copy OpenAI Base URL on each inference project. Every button and icon is labelled with the title of the command it runs.

The ⋯ beside an item that has more actions offers them. For a failed run: Rerun, Rerun with Edited Parameters…, Ask the Model to Fix This Run…, Copy Prompt for an AI Agent, and Dismiss, which hides failures of that workflow until it fails again, in every folder you open.

In one project, Needs you lists that project's items, and Elsewhere counts decisions waiting in your other projects. Waiting for others counts requests you sent that someone else still has to decide. With nothing to do the view says Nothing needs you and when it checked. The badge on the Workflows icon counts the items in Needs you. It is kept current with every refresh, when you switch project, after each decision, and every five minutes while the view is hidden.

Runs

The card lists the three newest runs of the project, and Show all runs › opens the Runs page. Runs reload every lexis.activity.refreshSeconds seconds (default 15) while Home is visible, and after actions such as uploads, submissions, or model loads.

  • Stuck runs — a run that Airflow still reports as active but whose scheduler state has not changed for lexis.activity.staleRunHours hours (default 6) is marked Stuck and listed in Needs you. Its page offers Mark Run as Failed… to close it in Airflow. If Airflow cannot change a run (runs of removed workflows), the extension says so and IT4I Workflows support has to remove it.
  • Cancel Run… — IT4I Workflows has no call that stops a run's HPC job, so it marks the run failed in Airflow (no further tasks start), and a job already submitted may keep running until its walltime ends. The dialog offers Open in Portal to check it.
  • Steps — the run page counts the steps that ran, did not run and failed, and shows them three ways. Phases (the default) groups the steps by their group prefix (<job>.<task>, such as train.select_operator, belongs to train) in the order they run, marks the first failed step and folds the steps that did not run. Timeline draws each step that started as a bar on the run's clock. Graph puts each step in a column by how many steps come before it, with arrows to the steps after it, and Open Diagram opens the full diagram. The page remembers the last view. A click on a step opens its log.
  • Run finished notifications — when one of your runs ends, a notification says so with Show Logs of Run and Download Output Dataset… (for a failed run: Ask the Model to Fix This Run…). It works while Home is visible, once per run. lexis.activity.notifyFinished turns it off.
  • Data transfers — uploads and downloads started in this VS Code window are on the card with live progress. The Data Transfers page also lists your copies and replications on the servers.

Run logs and output datasets

A run's page and the icons beside a run offer:

  • Show Logs of Run opens one document with the state of every task, then:

    • the HPC job output the way the portal shows it — for each task group that submitted a job, the HEAppE job's output files (stdout, stderr and other changed files). The job id comes from the heappe_submitted_job_context value of the heappe_submit_job task, the resource from the run's requirements, and the files from GET /userorg/api/Heappe/ListChangedFilesForJob/{project}/{resource}/{jobId}; if the job was not submitted, the document says so and why;
    • the Airflow logs of every task that ran, failed tasks first, with the values the tasks left in XCom.

    Tokens and sessions are removed from the text. A task that never ran (upstream failed, skipped) has no log; selecting one explains that and offers the logs of the tasks that ran.

  • Show Workflow Diagram (in the ⋯ of the run page's editor title) draws the run the way the IT4I Workflows portal does: one box per HPC job, coloured by its state, with arrows from each job to the jobs that follow it. The technical tasks ref_token_keeper and lexis_aai_stop_task are left out and lexis_aai_task is shown as start. Top to bottom / Left to right turns the diagram. Click a box to see its tasks with their states, and for a job the cluster, resource and command template from the run's configuration; Log beside a task opens its log next to the diagram. While the run is queued or running, the diagram updates every 15 seconds. The arrows come from the workflow definition; when IT4I Workflows no longer has it (a removed workflow), the jobs are drawn without arrows.

  • Download Output Dataset of Run… lists the datasets changed since the run started — those titled like the outputs named in the run's configuration first — and downloads the one you choose. The link between a run and its datasets is a match by time and title, not an id, so the list may hold more than the run's own outputs.

Working with datasets

  • Upload — right-click files or folders in the VS Code Explorer and choose Workflows: Upload as Dataset…, or Upload as Dataset… on the Datasets page (which preselects its project). Choose the project, storage, title, access level (user, project, or public), and dataset type, then confirm. When the upload finishes, Show Dataset finds the new dataset in Search and Copy Dataset ID copies its ID. A single folder's contents become the dataset root; several selected items are each stored at the root under their own name; a single file is uploaded unchanged (for a .zip file you choose whether IT4I Workflows extracts it). lexis.upload.exclude and .lexisignore apply to folders. Public datasets need DataCite metadata, so the extension asks for the creator and publisher.
  • Browse — the Datasets page opens a dataset folder by folder. Open in a file's ⋯ downloads a local copy and opens it; files larger than lexis.download.previewLimitMB ask first. Changes to that copy are not uploaded back.
  • Download — Download… on a dataset's page, ⤓ beside a folder or file, or Download Dataset… on the Data Transfers page, which asks for the project and the dataset. Download… from the Command Palette asks the same way. Files go to the location you choose. Datasets and folders arrive from IT4I Workflows as ZIP archives and are extracted into a new folder named after them (with a numeric suffix if it already exists); turn off lexis.download.extractArchives to keep the ZIP instead. Symbolic links inside archives are skipped, and entries that would land outside the target folder are rejected.
  • Change access — open the dataset and choose Change Access… in the ⋯ of the editor title. Making a dataset public adds DataCite metadata first if it has none. IT4I Workflows applies the change asynchronously; the extension waits up to 90 seconds and then refreshes the datasets.

AI models (EXA4MIND inference)

The AI Models page (linked from an IT4I Workflows project card, and from All projects, where it lists the inference projects of all your projects under the names of the projects they are linked to) uses the EXA4MIND AI Inference Service, which accepts the IT4I Workflows session of the lexis CLI as a Bearer token. Inference projects are identified by their HPC project accounting string.

  • Set up a project — Set Up Project for AI Inference… (on the page when no inference project is set up) selects the cluster and node type on which the project's inference jobs run.

  • Register a model — Register AI Model… on the page asks for the Hugging Face model ID, inference engine, and GPU count. Choose Edit all parameters first to open .lexis/models/<project>--<model>.json with every registration parameter (walltime, idle timeout, autoscaling, vLLM options, …); the file is validated by a bundled JSON schema. Run Register AI Model from JSON File (upload icon in the editor title) to send it. Re-registering an existing model ID updates it.

  • Settings from vLLM Recipes — for the vLLM engine, the model is looked up in vLLM Recipes (lexis.models.recipes.enabled). If there is a recipe, you choose:

    • a variant — each is listed with its precision, minimum GPU memory, and how many of the project's GPUs it needs; variants whose precision the GPUs do not support (NVFP4 needs Blackwell, FP8 is not native on A100) are marked;
    • features — tool calling and reasoning are on as on the recipe page; optional ones such as speculative decoding are off;
    • the GPU count — estimated from the variant's minimum memory and the project's GPUs (known for Karolina, Leonardo, MeluXina, Barbora, and LUMI; otherwise you are asked for GPU memory, or can skip the estimate).

    A summary then lists every suggested field with its reason — for example tool_parser: gemma4, reasoning_parser: gemma4, max_model_length: 65536 (the model supports 256K; 64K suits Copilot agents) — and what the registration cannot express, as hints: the recipe's chat template file, --enable-auto-tool-choice, the minimum vLLM version, and features that need flags EXA4MIND has no field for (those are not half-applied). Register, edit all parameters first, or open the recipe page. Without a recipe, registration asks only for the GPU count, as before.

  • Apply vLLM Recipe… — in a registered model's ⋯, runs the same steps and opens the registration file with the suggestions merged in, for review before you send it.

  • Status — each model shows its state (queued, loading, ready, busy, not loaded), engine and GPU count, and a line for each of its jobs: its state, its start-up step, the requests it serves, its KV cache use, how long it has run, and why it ended. The refresh in the editor title re-reads them, and the page re-reads them every lexis.models.autoRefreshSeconds seconds (default 15, 0 turns it off) while a model starts or serves.

  • Registration parameters — Edit Registration… in a model's ⋯ shows and changes the parameters it was registered with. Show Details (JSON) in the same ⋯ shows the model's raw record.

  • Load / cancel / unregister — Load Model beside a stopped model submits an inference job. Stop Model… beside a running or starting model cancels its jobs, which use the project's HPC allocation until they stop or the idle timeout ends. Unregister Model…, last in its ⋯, removes it after confirmation.

  • OpenAI endpoint — Copy OpenAI Base URL beside each inference project copies the local proxy's OpenAI-compatible base URL, http://127.0.0.1:<port>/v1 (see Local OpenAI proxy). Show OpenAI Connection Details in a model's ⋯ opens connection details with curl and Python snippets. The page's Local OpenAI proxy section shows the proxy's address with Copy Local Proxy Key and Stop Local OpenAI Proxy while it runs, and Start Local OpenAI Proxy while it is stopped. The ⋯ in the page's editor title has Register AI Model from JSON File and Show Local OpenAI Proxy Address. AI inference projects linked to none of your projects are folded under Other AI inference projects. Workflows: Copy Local Proxy Key starts the proxy if it is stopped and copies its key for use as the API key; the key is valid while the proxy runs. From another computer, call the gateway address shown in the connection details with Workflows: Copy Session Token for Remote Use (Temporary); that token is short-lived, so copy a fresh one when requests return HTTP 401.

EXA4MIND models in VS Code Chat and Agents

Every model registered in your EXA4MIND inference projects is offered in VS Code's chat model picker under EXA4MIND (with the extension's logo). Open the Chat or Agents view, click the model picker, and choose a model; if the EXA4MIND models are not listed yet, open Manage Models… in the picker and enable them.

  • Always current — the list is re-read after model actions on the AI Models page (register, load, cancel, unregister, refresh) and every lexis.models.chatProvider.refreshSeconds seconds (default 120), so models registered elsewhere (for example in the IT4I Workflows portal) appear on their own.
  • Grouped by endpoint — each inference project is its own OpenAI endpoint, and a model's name starts with it, so the models of one endpoint are listed together: DD-24-1 › Llama-3.1-8B-Instruct — Ready · 128K context. Models that cannot answer yet carry a status icon (clock while queued or loading, slash when not loaded). VS Code groups the picker by provider only, so the endpoint is part of the name.
  • Same endpoint, no token in the editor — requests go through the lexis CLI, which streams them from the project's OpenAI-compatible endpoint (/p/<accounting string>/openai/v1/chat/completions) with your IT4I Workflows session. Nothing needs to be copied or configured.
  • Agent mode — agents need tool calling. A model is offered with tool calling when it was registered with a vLLM tool_parser (for example llama3_json, hermes); lexis.models.chatProvider.toolCalling can force this on (always) or off (never).
  • Model must be running; chatting never starts one — EXA4MIND starts a model that is not loaded as soon as a chat request reaches it, which costs HPC allocation. The extension therefore checks the model's state before every request and sends nothing unless it is Ready or Busy. For a model that is not loaded you get a notification with Load Model (once per minute, however often Copilot retries); a queued or loading model returns a message to try again when it is ready.
  • Chat models only — embedding, reranking, and speech models (for example BAAI/bge-m3, *-e5-*, *-Embedding-*, *-reranker-*, whisper-*) are not offered in the picker. A running model whose server turns out to have no chat endpoint is explained and removed from the picker.
  • Context length — the token limits VS Code and Copilot work with come from the running endpoint (vLLM's max_model_len in /openai/v1/models), else from the registration's max_model_length, else from lexis.models.chatProvider.defaultContextLength (64K). The answer budget is taken out of the context, as vLLM counts prompt and answer together. When the endpoint rejects a request as too long, the limit it names is used from then on.
  • Agent sessions need about 60K tokens of context — Copilot's agent sessions spend 33–45K tokens on their own instructions and tool definitions before your message. With a smaller model, Copilot does not send the request and reports “No response was returned”; such models show a warning when you hover them in the picker. Use them in Ask mode, or register them with a larger max_model_length.
  • Gemma 4 reasoning — Gemma 4 marks its reasoning with <|channel>thought … <channel|>. vLLM separates it when the model is registered with reasoning_parser: gemma4; without that, the markers arrive as answer text. The extension removes these blocks from answers either way.
  • Troubleshooting — the Workflows output channel (View → Output) logs each request's size, the answer's shape (chunks, characters, tool calls, finish_reason) and errors, without message contents. An empty streamed answer is retried once without streaming; if the model still returns nothing, the error says why (for example the answer budget was spent on reasoning).
  • Turn the integration off with lexis.models.chatProvider.enabled.

Workflows Chat panel

Workflows: Open Chat (or Open Chat on the AI Models page, or Chat with This Model beside a model) opens a chat with your EXA4MIND models in an editor tab. It does not depend on the editor's own chat, so it works in VS Code, Cursor, and Antigravity alike, and uses the same endpoint, CLI session, running-model check and error handling as the model picker.

  • Models — all registered chat models are listed; running ones can answer. Choosing one that is not running shows its state and a Load model button (an explicit click: loading starts an HPC job on the project's allocation; chatting never does). A running or starting model shows Stop model, which cancels its jobs after confirmation. The list refreshes every 8 seconds while the panel is visible, and Send is enabled as soon as the model is Ready.
  • Your IT4I Workflows context — every request carries a short summary of your projects, the current project, runs of the last 7 days and dataset names, so the model can answer questions about them. A part that cannot be loaded is left out.
  • IT4I Workflows tools — a model with tool calling (see Agent mode above) also gets the CLI's IT4I Workflows tools and can look things up itself; each call is shown in the conversation. Tools that change or delete something run only after you approve them in a dialog; lexis.chat.allowWriteTools turns them off.
  • Analyze Outputs with EXA4MIND… — in the ⋯ of a finished run's page or a dataset's page: the chat opens with the run's logs, its output datasets and the start of the files you pick, ready to send.
  • Code — the model is asked for complete, batch-ready scripts (no interactive input, results written to files). Each code block has Copy, Insert (into the active editor), New file, and Run on HPC….
  • How the code sees its files — the model is told that input datasets appear under ./input/<dataset name>/ and that everything written to ./output/ is stored as a dataset, which is what the job-script flow above sets up. Attaching a file tells the model the dataset's path inside the job.
  • Run on HPC… saves the code as a script in the workspace and opens Create Job Script Workflow… (project, cluster and node type, command template, walltime, and a confirmation), then offers Run Workflow…. Nothing is sent to IT4I Workflows before you confirm.
  • Attach file… adds the start of a text file from a dataset (by default up to 12 000 bytes; lexis.chat.attachBytes, at most 60 000) to your next message, so the model can see the data's structure before it writes code for it. Binary files are refused; tokens in the text are removed.
  • Long conversations — when a conversation no longer fits the model's context, the oldest turns are left out of the next request (the panel says so); a quarter of the context is kept for the answer.
  • Answers are shown with headings, lists, bold, and inline code; code blocks keep their buttons.
  • Ask the Model to Fix This Run… — beside a failed run: opens the chat with the run's task states, HPC job output, and logs already in the message box (shortened to 8 000 characters; credentials removed). Review it and press Send; the model is asked for the corrected script.
  • Load Model and Chat — beside a model that is not loaded on the AI Models page: opens the chat with that model, shows it as starting, and loads it (an HPC job on the project's allocation). Send is enabled when the model is Ready.
  • A loaded model in the status bar — after Load Model the model shows in the status bar as starting, then with the minutes it has served. A notification says when it is ready, with Chat with This Model and Copy OpenAI Base URL. A click on it offers Open Chat, Copy OpenAI Base URL, Show OpenAI Connection Details and Stop Model…. It leaves the status bar when the model stops.
  • New chat clears the conversation. The conversation lives in the panel only and is not stored.

AI agents (MCP)

The IT4I Workflows tools for agents come from lexis mcp, the MCP server of the lexis CLI. It uses the CLI sign-in, so sign in to IT4I Workflows first.

  • Copilot in VS Code gets the server automatically: the extension registers it as IT4I Workflows (MCP: List Servers) with the CLI from lexis.cli.path and the environment from lexis.cli.environment. Nothing to set up. Signed out, the server does not start and offers Sign In.
  • Claude Code, Codex, and Copilot CLI — Workflows: Connect AI Agents… (also in the IT4I Workflows submenu of Home's ⋯): choose the agents, then this workspace or all your projects (your home folder). The CLI writes the lexis skill and the agent's MCP entry (for Copilot in this workspace that is .vscode/mcp.json, which VS Code's Copilot reads; Copilot CLI reads ~/.copilot/mcp-config.json, written when you choose your home folder), and the message lists the files with buttons to open them.
  • From Chat with AI — the picker says for Claude Code and Codex whether they have the tools. A connected one opens. One whose tools need an update after an extension update is repaired, then opens. One that is not connected first shows where the files go and what is written, with Connect and Open Chat and Open Without Tools.
  • On Home's Models tab — AI agents lists Claude Code, Codex, Copilot CLI and GitHub Copilot Chat with what each has, and ✦ Chat, Repair or Connect….
  • Updates do not break agents — the MCP entries and the skill run a copy of lexis in the CLI's state folder (~/.local/state/lexis/bin/lexis, on Windows %LOCALAPPDATA%\lexis\state\bin\lexis.exe), which an extension update leaves in place. Each connect refreshes the copy.
  • Changes need your approval — read tools (projects, runs, datasets, logs) run directly. Before every tool that changes or deletes something, lexis mcp asks you in the agent's own dialog (MCP elicitation) and runs it only when you approve. An agent whose client cannot show that dialog gets the read tools only. Agents never sign in or out.
  • Switching changes off — set agent_write = false under [policy] in the CLI's config.toml (lexis config path); agents then get read tools only. The chat panel has its own switch, lexis.chat.allowWriteTools.
  • Your data leaves the editor — the tools give the agent your IT4I Workflows data (projects, runs, datasets, logs), and the agent sends it to its own model provider. The connect command asks before it writes anything.

Local OpenAI proxy

For tools that cannot list the extension's models themselves — the built-in chats of Cursor and Antigravity, Continue, Aider, scripts — Workflows: Start Local OpenAI Proxy starts an OpenAI-compatible endpoint on your computer in front of one EXA4MIND inference project. The lexis CLI runs it (lexis model proxy runs the same proxy in a terminal):

  1. Run the command and choose the inference project (a project with a single endpoint is chosen for you).
  2. A message shows the address (http://127.0.0.1:11435/v1; lexis.proxy.port, a free port is used when it is taken) with Copy Base URL and Copy API Key. The status bar shows Proxy :<port> while it runs; click it to see the address again.
  3. In the other tool, set that base URL and API key, and use a model's name from the AI Models page (for example Qwen/Qwen3-4B-Instruct-2507) as the model.
  • No token to copy — the proxy adds your IT4I Workflows session to each request; the extension never holds the token.
  • Only this computer — it listens on 127.0.0.1 and needs the random API key, which exists only while the proxy runs (Workflows: Stop Local OpenAI Proxy, or closing the editor, ends it).
  • Only what is needed — it passes on GET /v1/models, POST /v1/chat/completions, /v1/completions, and /v1/embeddings; every other path is refused.
  • Never starts a model — like the chat panel, it sends a chat request only to a model that is Ready or Busy; otherwise it answers HTTP 503 with an explanation, because EXA4MIND starts a model that receives a request, which costs HPC allocation.

Setup check

Workflows: Check Setup for the AI-to-HPC Flow… (Command Palette, or the IT4I Workflows submenu of Home's ⋯) looks at one project and lists what the flow needs: an HPC resource, clusters with command templates (and GPU node types), an iRODS storage for the job script and the output dataset, EXA4MIND inference projects that are set up, and registered and running models. Each line is [ok], [warn], or [FAIL], followed by what to do about the problems. The Home view runs the check for the project you work in and lists each [FAIL] as a setup gap, except a service that did not answer.

Diagnostics

Workflows: Export Diagnostics writes lexis doctor (keyring, TLS, proxy, service reachability and versions) and the raw service records (lexis project|workflow|run show --raw) of a chosen project, workflow and run, with the run's task logs, into .lexis/diagnostics/diagnostics-<time>.json in the workspace folder. It only reads through the lexis CLI, which redacts tokens, and shortens long texts. Add .lexis/diagnostics/ to your .gitignore, and review the file before sharing it.

Computing resources

The Project page lists the computing resources assigned to the project, each with its location or cluster, resource type and allocation, and how many core hours are left across them according to IT4I Workflows accounting.

These values describe allocations and consumption. They do not represent live free-node counts, queue waiting times, or current cluster utilisation.

Quantum computing with QaaS

The QaaS extension (quantum-as-a-service-vscode.qaas-vscode) runs OpenQASM 3 and Qiskit circuits on the VLQ quantum computer. It is a separate extension. This extension notices when it is installed:

  • A quantum computing resource on the Project page has Open in QaaS, which sets QaaS's project and resource (qaas.lexisProject, qaas.lexisResource), switches QaaS to your IT4I Workflows sign-in, opens its views and synchronizes its jobs. Without QaaS installed the row offers to install it.

QaaS uses only the IT4I Workflows sign-in when opened from here. QaaS opened on its own keeps its own py4lexis sign-in. Opening it from here turns on qaas.workflowsIntegration in the workspace settings (the user settings when no folder is open), so other windows keep py4lexis, and allows QaaS to ask this extension for a token. QaaS then gets a short-lived access token of the signed-in service (IT4I or EFP) from the lexis CLI (identity/token) each time it needs one, never one set in LEXIS_ACCESS_TOKEN. The refresh token never leaves the CLI's secret store, nothing is stored by QaaS, and no MCP tool or terminal command returns the token. The exported API (apiVersion 1: getAccessToken, isSignedIn, signIn, onDidChangeSession) is meant for QaaS, but VS Code does not tell it which extension calls, so it answers only in a workspace where QaaS was opened from here and only while QaaS is installed. A program running under your account can reach the token anyway, as it can reach the CLI's socket and secret store.

The submit command opens the run form with the workflow defaults and Upload workspace folder on; choose the parameter that receives the workspace there. With lexis.forms.default set to wizard, it asks for the parameter and shows the parameters as a JSON object instead. The selected workspace parameter gets ${absolutePath} by default; it is replaced with the uploaded dataset's DDI absolute path just before the workflow starts. The run is then followed in the status bar like any other run.

Workspace submission

Configuration is stored in .lexis/submit.json and validated by the bundled JSON schema:

{
  "project": "demo_project",
  "workflowId": "my-hpc-workflow",
  "storageName": "it4i_irods",
  "storageResource": "project-storage",
  "workspaceParameter": "job1_input_dataset_path",
  "workspaceValueMode": "absolutePath",
  "parameterOverrides": {
    "computation_project": "my-hpc-allocation",
    "job1_max_cores": 24
  }
}

Supported placeholders in workspaceValueTemplate and workflow parameter values are:

  • ${datasetId} — UUID returned by DDI;
  • ${absolutePath} — indexed iRODS/DDI absolute path;
  • ${workspaceName} — VS Code workspace folder name;
  • ${project} — project short name;
  • ${workspaceValue} — value selected by workspaceValueMode.

The extension uploads one ZIP archive with expand=true, so its contents become files and folders in the new dataset. The dataset has project visibility and the jobscript dataset type. After upload, the temporary local ZIP is removed.

Excluding files

Default exclusions cover .git, dependency environments, and common build output. Add gitignore-style patterns to .lexisignore:

secrets/
*.large-result
data/raw/

The lexis.upload.exclude setting and an optional exclude array in .lexis/submit.json are also applied. Symlinks are archived as symlinks and are never followed outside the workspace.

Colours and status

Colour Meaning
Green Model ready or busy serving; job running and serving requests; task, run, or transfer succeeded
Blue Workflow run, task, or data transfer in progress
Yellow Model submitted, queued, or loading; job, run, or task queued or waiting to retry; workflow paused; inference project not set up
Red Job, task, run, or transfer failed
Grey Finished job; skipped or not-yet-started task; cancelled transfer
No colour Model not loaded (slash icon)

Status items colour both the icon and the label and use distinct icon shapes (check, clock, spinner, slash), so states stay distinguishable without colour. Icons for kinds of items (projects, computing resources, workflows, datasets, AI models, public items) use the theme's icon colour by default, so colour stands out only for status. All colours are theme colours (lexis.stateReady, lexis.stateRunning, lexis.statePending, lexis.stateStopped, lexis.stateFinished, lexis.projectIcon, lexis.resourceIcon, lexis.workflowIcon, lexis.datasetIcon, lexis.modelIcon, lexis.sharedIcon) and can be changed with workbench.colorCustomizations, for example:

"workbench.colorCustomizations": { "lexis.statePending": "#ffcc00", "lexis.projectIcon": "#3794ff" }

Actions by item

Each item's actions are its row icons, its ⋯, and the buttons and editor title ⋯ of its page.

Item Actions
Project Run workflow · Request computing resources · Configure workspace submission · Work in this project · Open in Portal · Copy ID · Show details. On the card: Submit current workspace · Switch project · Show all projects
Workflow Run workflow · Submit workspace with this workflow · Configure workspace submission · Edit definition · Show parameters · Open in Portal · Copy ID · Show details · Delete workflow
Workflow run Rerun with same or edited parameters · Show logs of run · Follow live log · Show workflow diagram · Download output dataset of run · Ask the model to fix this run (failed runs) · Analyze outputs with EXA4MIND · Analyze with AI (copy prompt) · Watch run in status bar · Open in Portal · Copy ID · Show details · Cancel run (queued and running runs) · Mark run as failed (stale runs)
Dataset Download · Rename · Change access · Analyze outputs with EXA4MIND · Open in Portal · Copy DDI path · Copy ID · Show details · Delete
Dataset file / folder Open (files) · Download · Copy DDI path · Show details · Copy ID · Delete
AI model Chat with this model · Load model and chat · Load model · Stop model · Edit registration (inline or as JSON file) · Apply vLLM recipe · Show OpenAI connection details · Copy OpenAI base URL · Unregister
Pages Datasets: Upload as dataset · Workflows: New workflow · AI Models: Load model, Open chat, Register AI model, Set up project for AI inference

Copy DDI path copies the dataset's (or file's) absolute iRODS path, which workflows accept as input. Delete and Unregister ask for confirmation; deleting removes the data from IT4I Workflows storage and cannot be undone.

Commands

All commands are in the Command Palette under the Workflows category. Commands that act on a specific item are on Home and its pages (Actions by item).

Command Purpose
Workflows: Sign In to IT4I Workflows / Sign In to EFP Workflows / Sign Out Sign in to a service through the lexis CLI with OAuth2 device authorization / end the session of the active service and remove the CLI's stored tokens.
Workflows: Switch Service Make the other service active for the Command Palette, search and the status bar (IT4I Workflows and EFP Workflows).
Workflows: Refresh Reload Home.
Workflows: Search… Search projects, workflows, runs, datasets, resources, and models (Search).
Workflows: Find Workflow Run… Search workflow runs by workflow, ID, and state.
Workflows: Switch Project… / Show All Projects Set the project of this folder, or list all projects again.
Workflows: Configure Workspace Submission… Select project, storage, workflow, and workspace parameter.
Workflows: Submit Current Workspace… Package, upload, and execute.
Workflows: Open Portal Open the IT4I Workflows web portal.
Workflows: Open Page… Open a page of Home: Runs, Workflows, Datasets, Project and AI Models of the current project, or, with all projects, Projects, AI Models (IT4I Workflows), Public Datasets, Requests You Sent and Data Transfers of the service.
Workflows: Open Home, Open Runs, Open Workflows, Open Datasets, Open Project, Open AI Models, Open Projects, Open Requests You Sent, Open Data Transfers Open Home, or that page of the service shown in the status bar. A page of one project asks you to choose a project first. Open AI Models with all projects lists the models of all your projects.
Workflows: Upload as Dataset… Create a dataset from local files or folders.
Workflows: Refresh Datasets Reload datasets only.
Workflows: Set Up Project for AI Inference… Select the cluster and node type for a project's inference jobs.
Workflows: Register AI Model… Register a Hugging Face model in an inference project.
Workflows: Edit Registration… / Edit Registration as JSON File Change a model's registration parameters.
Workflows: Register AI Model from JSON File Register or update a model from the active JSON file.
Workflows: Load Model / Stop Model… / Unregister Model… Start, stop, or remove a model.
Workflows: Show OpenAI Connection Details Show base URL, model name, and client snippets.
Workflows: Copy OpenAI Base URL Copy a project's OpenAI-compatible base URL.
Workflows: Copy Local Proxy Key Copy the local OpenAI proxy key (the API key for http://127.0.0.1:<port>/v1), starting the proxy if it is stopped.
Workflows: Copy Session Token for Remote Use (Temporary) Copy the IT4I Workflows session token, for calling the gateway's OpenAI endpoint from another computer.
Workflows: Refresh Runs and Requests Reload runs and requests on Home and its pages now.
Workflows: New Project… Create a project.
Workflows: Request Computing Resources… Ask a provider to assign a computational resource to a project.
Workflows: Accept Request / Workflows: Reject Request… Decide a request to a project you manage (To decide in the Home view).
Workflows: Request Access to a Project… Ask to join an existing project.
Workflows: New Workflow… Scaffold a workflow definition with a real cluster and command template.
Workflows: Deploy Workflow Create or update the workflow defined in the active YAML file.
Workflows: Run Workflow… / Edit Definition / Delete Workflow… Run, edit, or delete a workflow (on a workflow page, or pick one).
Workflows: Create Job Script Workflow… Turn a local script into a workflow that runs it on HPC.
Workflows: Create Job Script Workflow from JSON Create a job-script workflow from a reviewed request file.
Workflows: Open Chat Open the Workflows Chat panel (EXA4MIND models, code blocks, Run on HPC).
Workflows: Chat with This Model Open the chat panel with a model preselected (icon beside a model on the AI Models page).
Workflows: Load Model and Chat Choose a model, open the chat with it, and load it.
Workflows: Chat with AI… Open a chat in an installed AI extension (Claude Code, Copilot Chat, or another AI extension's view), the Workflows Chat, Connect AI Agents, or the Marketplace's AI extensions (✦ in Home's title bar).
Workflows: Connect AI Agents… Give Claude Code, Codex, or Copilot CLI the IT4I Workflows tools (skill and MCP entry), in this workspace or all your projects (AI agents).
Workflows: Start Local OpenAI Proxy / Show Local OpenAI Proxy Address / Stop Local OpenAI Proxy Run a local OpenAI-compatible endpoint in front of an EXA4MIND project, for tools that cannot use the editor's model list.
Workflows: Check Setup for the AI-to-HPC Flow… List what a project still needs for generating code, running it on HPC, and getting the output dataset.
Workflows: Export Diagnostics Write lexis doctor and the raw records of a project, workflow and run into .lexis/diagnostics/.

Settings

The lexis CLI has the production addresses built in, matching the current Py4Lexis client:

  • REST API: https://api.lexis.tech
  • AAI: https://aai.lexis.tech
  • realm: LEXIS_AAI_v2
  • public device-flow client: LEXIS_PY4LEXIS
  • AI inference service: https://chat.exa4mind.eu
  • VS Code 1.104 or newer (for the chat model provider API)
  • web portal (for Open in Portal): https://portal.lexis.tech (lexis.portal.url)

The REST, AAI, and OAuth values cannot be changed from VS Code. Only the AI inference and vLLM Recipes addresses can: lexis.models.baseUrl and lexis.models.recipes.url (LEXIS_MODELS_URL and LEXIS_RECIPES_URL for the CLI). lexis.cli.path chooses the CLI binary and lexis.cli.environment its target; this build has only the production target.

Development

Requirements: Node.js 20 or newer, VS Code 1.104 or newer, and the .NET SDK for the lexis CLI (see INSTALL.md).

npm install
npm test
npm run package          # builds lexis-platform-<version>.vsix
npm run install:local    # macOS: builds and installs into Antigravity, Cursor, and VS Code

Reload the window of each editor after installing. Press F5 in VS Code to launch an Extension Development Host. Network integration requires a real IT4I Workflows account with an assigned project, iRODS storage, an HPC allocation, and permission to execute the selected workflow.

API behavior

The lexis CLI calls the current IT4I Workflows services:

  • UserOrg: GET /userorg/api/Project
  • UserOrg resources: GET /userorg/api/Project/ExtendedProjectInfo
  • HEAppE partitions: GET /userorg/api/Heappe/Partitions/{project}/{resource}
  • Airflow: GET /airflow/api/v1/dags and POST /airflow/api/v1/dags/{dag_id}/dagRuns; Mark Run as Failed and Cancel Run use PATCH …/dagRuns/{run}, run logs read …/taskInstances/{task}/xcomEntries; My Work uses GET …/dagRuns/{run} for the runs you started, GET …/dagRuns/{run}/taskInstances, and GET …/taskInstances/{task}/logs/{try}?full_content=true
  • DDI staging status: GET /api/ddiapi/v2/staging/status (your recent data requests)
  • LEXIS Airflow plugin: POST/PUT /airflow/api/lexis/lwd-workflows/v1/create-lwd-workflow|update-lwd-workflow (base64 YAML), GET …/get-lwd-workflow/{project}/{id}, POST /airflow/api/lexis/custom-job-scripts/v1/create-custom-job-script-application, DELETE /airflow/api/lexis/dags/v1/{project}/{dag_id}
  • UserOrg command templates: GET /userorg/api/Project/TemplatesInfo/{project}
  • UserOrg projects and requests: POST /userorg/api/Project, GET /userorg/api/Provider, POST /userorg/api/Requests (ProjectResourceAssignment, SelfOnboarding), PUT /userorg/api/Requests/{id}/Accept|Reject, GET /userorg/api/Requests/SentRequests, GET /userorg/api/Enums/RequestStates|RequestTypes
  • DDI Metadata: POST /api/ddiapi/v2/meta/search?access={project|user|public}
  • DDI Transfer: POST {transfer_api_url}/upload with base64 JSON in Upload-Metadata; GET {transfer_api_url}/zip?dataset_id=…&path=… for downloads, using the transfer API of the dataset's location
  • DDI Staging: POST /api/ddiapi/v2/staging/listing, POST /api/ddiapi/v2/staging/access, DELETE /api/ddiapi/v2/staging/delete, GET /api/ddiapi/v2/staging/status/{request_id}
  • DDI Metadata updates: PUT /api/ddiapi/v2/meta/dataset, GET /api/ddiapi/v2/meta/info/datasettypes
  • EXA4MIND inference: GET/POST /p, GET/PUT/POST/DELETE /p/{projectAccountingString}/models, POST /p/{projectAccountingString}/models/cancel-jobs, OpenAI-compatible routes under /p/{projectAccountingString}/openai/v1

Workflow parameter names are template-specific. The extension therefore asks which parameter should receive the uploaded workspace and lets you edit the complete JSON parameter object before submission.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft