Technical Reference / Iru (formerly Kandji)
Iru (formerly Kandji)
Deploy the device agent with Iru (formerly Kandji) and connect the tenant to the dashboard for agent coverage across the managed fleet.
Iru (Kandji until its late-2025 rebrand) supports both halves of an MDM rollout: deploying the agent’s managed configuration to your Apple fleet, and verifying the rollout by connecting the tenant to the dashboard so agent coverage is computed from the real inventory. Shared concepts (the configuration schema, delivery channels, and coverage states) are on the MDM installations page.
Install the agent package
Section titled “Install the agent package”Download speakeasy-agent_<version>.pkg from Organization Settings → Secure → Device Agent in the dashboard, or from https://ai.speakeasy.com/rpc/install/device-agent-macos.pkg, which always redirects to the newest signed pkg. To pin a version, use the release bucket at https://storage.googleapis.com/speakeasy-device-agent-releases-prod/v<version>/speakeasy-agent_<version>.pkg. It’s a single Developer ID signed, notarized, universal pkg that installs the daemon, CLI, menu-bar UI, and privileged helper together, and registers its own launchd jobs. No script needed.
Add it in the Iru library as Library → Add New → Custom App.
Set the install enforcement to “Install once,” not “Continuously Enforce.” Iru’s default enforcement audits whether the app is present by looking for a bundle in /Applications. This agent installs machine-wide to /Library/Application Support/Speakeasy/, with the daemon and UI registered as LaunchAgents from /Library/LaunchAgents/ and the root helper as a LaunchDaemon, so the default audit never finds it, decides the install “didn’t take,” and loops the item in installing forever even though it’s already running. “Install once” installs the pkg and stops policing its location. The agent’s own auto-update keeps it current. If you must use Continuously Enforce, give it a custom audit script that checks what the pkg actually creates instead: exit 0 when pkgutil --pkg-info com.speakeasy.agent.pkg succeeds.
Deploy with a Custom Profile (preferred)
Section titled “Deploy with a Custom Profile (preferred)”- Download the sample macOS configuration profile. It carries the managed configuration, the Managed Login Items lock, and notification permissions in one file.
- Fill in
org_tokenandorg_slug, and generate fresh UUIDs. Keep$EMAILas is: Iru fills it in with each device’s assigned user, so one profile serves the fleet. - In the Iru library, add a Custom Profile, upload the file, and assign it to the target Blueprints.
Deploy with a Custom Script (fallback)
Section titled “Deploy with a Custom Script (fallback)”For the managed.json file path:
- Library → Add New → Custom Script (not a Custom Profile: profiles deliver plists, not arbitrary JSON files).
- Have the script write
/Library/Application Support/Speakeasy/managed.jsonasroot:wheel/0644, then restart the daemon. - Set the execution frequency to a recurring schedule (for example every 15 minutes), not “run once.” Otherwise a rotated token never reaches devices.
Connect Iru to the dashboard
Section titled “Connect Iru to the dashboard”- In the Iru console, go to Settings → Access → API Token and create a token with only the Device list permission enabled. Copy the token and the tenant’s API URL shown on the same page (
https://yourtenant.api.iru.com; the legacyhttps://yourtenant.api.kandji.ioform also works). - In the dashboard, open Device Agent → MDM Integrations, then Connect on the Iru row.
- Enter the API URL and the token. Credentials are stored encrypted and are never shown again after saving.
- Save, then Test connection. The test runs a real request against your tenant using the saved credentials.
- Enable the connection. New connections start paused so that invalid credentials never generate failed sync attempts: the flow is save, test, then enable.
The integration reads each device record’s assigned user email to attribute devices to people. Coverage can only be attested for devices whose records carry one. If your fleet shows a large “No email in MDM” count, assign users to devices in Iru (directory-integrated enrollment usually does this automatically).
Once enabled, the inventory syncs hourly. Each schedule can be paused, resumed, or run immediately with Sync now from the integration’s detail page, which also shows the coverage breakdown and the searchable device inventory.