Skip to main content
Version: 2026.10

Agent 102: Run jobs with open modules

In this tutorial you install an agent on a Windows, Linux, or macOS machine, add the three open-source modules — Open Spreadsheet, Open PDF, and Open CAD — and run one extraction with each from the Istari Digital web app. None of them needs a commercial license, so this is the quickest way to get a working agent for spreadsheets, PDFs, and neutral CAD files.

An agent is the program that runs jobs for the Istari Digital Platform. Each module installed on it adds a tool that users can select when they create a job. Pick your operating system in any tab below; every other tab on the page follows your choice.

Time: ~30 minutes.

Prerequisites​

  • A Tenant Administrator account (or organization administrator) in the Istari Digital web app. You need it to generate the agent's key and grant tool access.
  • A machine for the agent, with administrator rights on it:
    • Windows: Windows 10, Windows 11, Windows Server 2019, or Windows Server 2022.
    • Linux: RHEL 9 or Ubuntu 22.04 LTS.
    • macOS: Apple Silicon, macOS 14 or later.
  • Access to the Customer Portal, where you download the agent, the modules, and the CLI.

Download the three sample files you will test with:


Step 1 — Generate the agent's key​

The agent signs in to the Istari Digital Platform with its own key. Generating the key also registers the agent.

  1. In the web app, open Agents and click Generate Key.
  2. Optionally enter an Agent name, then click Generate. This name only labels the key; you set the name the agent shows in the web app in Step 3.
  3. Click Download credentials. The browser saves agent-credentials-<key id>.json.
  4. Copy your API URL from Settings → Developer Settings → Endpoints.
warning

The credentials file holds the agent's private key and is shown only once. Keep it as safe as a password.

Step 2 — Install the agent​

Download the agent installer for your OS from the Istari agent category of the Customer Portal — see Download installers — then install it. X.Y.Z stands for the agent version you downloaded.

Double-click istari-agent_X.Y.Z_windows-amd64.msi and accept the defaults. Leave Run on startup ticked so the agent starts each time you sign in.

Step 3 — Connect the agent to the platform​

Move the credentials file from Step 1 into a folder your account owns, then create the agent's configuration file. Do both as the account that will run the agent — the agent only reads configuration from that account's profile.

FileLocation
Credentials%USERPROFILE%\istari_digital\agent-credentials-<key id>.json
Configuration%LOCALAPPDATA%\istari_digital\istari_digital_config.yaml

Put this in the configuration file. Replace the API URL with the one you copied in Step 1, and the credentials path with the full path to your file. Replace <your initials> in the display name too: that is the name you look for in the web app in Step 9, and initials keep it apart from other people's tutorial agents.

default: {}
agent:
istari_digital_agent_digital_api_url: "https://api.example.istari.app"
istari_digital_agent_identity_service_secret_file: "<full path to agent-credentials-<key id>.json>"
istari_digital_agent_identity_service_enabled: true
istari_digital_agent_display_name: "tutorial-agent-<your initials>"

On Windows, double the backslashes in the path (C:\\Users\\...) or use forward slashes.

Step 4 — Start the agent​

Launch Istari Agent from the Start menu. An Istari Digital icon appears in the system tray once it is running.

Within a minute, the agent log confirms it reached the platform with a line like this:

INFO - Got display name 'tutorial-agent-rb' from server

On Linux and macOS the log prints in the terminal where you started the agent. On Windows, right-click the tray icon to open it. If the line does not appear, see the log locations and common errors in your OS's install guide.

Step 5 — Install FreeCAD​

Open Spreadsheet and Open PDF bring everything they need. Open CAD drives FreeCAD 1.0 or later, a free, open-source CAD application, which must be installed on the same machine.

Download and run the Windows installer from freecad.org. Keep the default location, C:\Program Files\FreeCAD 1.0\.

The module finds FreeCAD on its own. If you installed it somewhere else, set open_cad_freecad_installation_dir as described on the Open CAD page.

Step 6 — Add the three modules​

Download the Open Spreadsheet, Open PDF, and Open CAD packages for your OS from the Integrations category of the Customer Portal, the same way you downloaded the agent. Unpack each one into the agent's istari_modules folder.

Extract each .zip into %LOCALAPPDATA%\istari_agent\istari_modules.

Each module should now be a folder containing a module_manifest.json. The running agent loads new folders on its own — no restart needed — and logs a line such as Adding module @istari:open_pdf 1.8.4 for each one.

Step 7 — Install the Istari Digital CLI​

You publish modules with the Istari Digital CLI, stari. Skip to Step 8 if stari --version already works on the agent machine.

In the Customer Portal, open Assets → Utilities → Istari Digital CLI and download the archive for your OS. Unpack it and add stari to your PATH. The executable inside keeps its platform name, for example stari_macos-arm64, so replace <archive>, <folder>, and <executable> with the names you see.

Expand-Archive -Path <archive>.zip -DestinationPath .
cd <folder>
.\<executable>.exe path add --yes

Run this as your own account, not with sudo. Open a new terminal and check that stari --version works.

Next, sign the CLI in to the platform with a key of your own — a User key, not the agent's key:

  1. In the web app, click your avatar → Developer → Generate Key, then Download credentials. Store the file next to the agent's credentials from Step 3.

  2. Run these commands with the API URL from Step 1 and the path to your user credentials file:

    stari client init https://api.example.istari.app --identity-service --credentials-file <path to istari-credentials-<key id>.json> --yes
    stari client ping

For more detail, see Get started with the CLI.

Step 8 — Publish the modules and grant access​

Users see a module's functions only after its manifest is published to the Istari Digital Platform and they have tool access. Do this once per module version.

On the agent machine, list the folders in istari_modules to see the three module folders from Step 6, then publish each module's manifest. Run the publish command once per module, replacing <module folder> with its folder name.

dir $env:LOCALAPPDATA\istari_agent\istari_modules
stari client publish $env:LOCALAPPDATA\istari_agent\istari_modules\<module folder>\module_manifest.json

Then grant yourself access to the three tools:

  1. In the web app's list of people, click Edit user (pencil) on your own row and open the Tool access tab.
  2. Use Add tool to add Open Spreadsheet, Open PDF, and FreeCAD. Each starts with every function selected.
  3. Click Save, and repeat for anyone else who will run these jobs.

Step 9 — Check the agent in the web app​

Confirm the platform sees your agent with all three modules before you run jobs.

  1. In the web app, open Agents → All Agents. Set Search by to Name and type the display name you set in Step 3, for example tutorial-agent-rb.
  2. Check that its Status badge is green, for example Idle, and its Host OS matches your machine.
  3. Check that Installed Modules shows a chip for each of Open Spreadsheet, Open PDF, and Open CAD. Hover a chip to see the module's name and version, or use +N more if the list is cut off.
  4. Click the agent's row. In the panel that opens, the Modules & Functions tab lists each module with its functions, such as @istari:extract. A module without functions has not been published yet — go back to Step 8.

If a module is missing from Installed Modules, check that its folder in istari_modules contains a module_manifest.json, then restart the agent. New module folders normally load without a restart. A restart is needed when you replace the files of a module the agent has already loaded.

Step 10 — Run a job with each module​

  1. In the web app, open Resources and upload the three sample files.
  2. Select a file, click Create Job, and pick the tool and function from the table below.
  3. Click Execute Function and wait for the status to reach Completed, then refresh the page.
Sample fileToolFunctionWhat you get
Group3-UAS-Requirements.xlsxopen_spreadsheet@istari:extractOne CSV per worksheet, named cells as JSON, and HTML and PDF renderings
example_document.pdfopen_pdf@istari:extractThe document's text and metadata
cube_sphere.FCStdfreecad@istari:extractGeometry, properties, parameters, and rendered views

Expand each file in the tree to open the resources the job produced.

If a job stays Pending, no online agent has a matching module for that OS. Repeat the checks in Step 9. See How agents match jobs and Troubleshooting for more.


What you learned​

ConceptWhat happened
AgentYou installed the program that runs jobs and connected it to your tenant with its own key.
ModulesEach module you unpacked added a tool to the agent, with no restart.
Publish and accessPublishing a manifest made a tool's functions visible; tool access let you run them.
Vendor-neutral outputsEach extraction turned a spreadsheet, PDF, or CAD file into open resources anyone can read.

What's next​

  • Build a digital thread. Your agent is ready for Web app 101, which uses Open Spreadsheet to register, extract, revise, and compare a design.
  • Go deeper on the agent. The full install guides for Windows, Linux, and macOS cover per-machine installs, services, proxies, and upgrades.
  • Add more tools. Module deployment covers modules that drive licensed tools such as Cameo or Creo.