IAM Agent Bot: creation, apps and synchronization
Create a bot in chat, connect apps, use bundled CUA and route work automatically across devices and IAM.Hosting.
This guide describes the stable IAM Agent Bot 0.1.27 desktop build for Apple Silicon. The build is Developer ID signed, notarized by Apple and distributed through a signed stable manifest; manual update checks always request the current manifest without caching.
Requirements
- macOS 12 or later with IAM Agent Bot installed;
- an IAM.Identity account for automatic
deepseek-v4-flashaccess through IAM Router; - a separate DeepSeek API key when the bot must search and fetch information through Search & Fetch;
- macOS Accessibility permission for controlling apps and Screen Recording for visual analysis of a selected window or the whole desktop. Protected locations also need Full Disk Access when Entire system is selected.
After IAM.Identity sign-in, the backend automatically issues a dedicated 90-day IAM Router inference credential for this installation. It stays only in the device’s encrypted vault, refreshes seven days before expiry and is safely reissued once after a Router 401/403. The IAM.Identity app session, inference credential, DeepSeek Search & Fetch key, MCP commands and environment variables are excluded from the portable snapshot. Voice recognition and playback require no separate key.
iPhone and iPad: cloud execution only
The mobile app supports iPhone and iPad on iOS 17 or later. It is an IAM.Hosting client: chat, synchronization, IAM.Identity and cloud-task control are available on the device, while model inference, tools, file operations, browser work and CUA run only inside the isolated cloud runtime. The iPhone or iPad is never registered as a local executor and does not advertise computer_use.
The IAM.Identity session and mobile-client service data are stored in an encrypted vault inside the app container. Its random master key stays in iOS Keychain under the signed bundle’s access group; there is no plaintext or browser-storage fallback. The Sign in to IAM.Identity screen must not show Local storage is unavailable. If that message remains after an older beta was installed, install the current build over it and relaunch the app. Do not delete the profile or app data before contacting support: this message identifies a Keychain/signing failure, not a rejected IAM.Identity password.
- Once the beta is published, install it through TestFlight, then sign in or register with IAM.Identity in the system browser. A protected callback returns to the app; neither the password nor the OIDC client secret is bundled.
- Open a chat and submit a task. The mobile client always sends it to IAM.Hosting even when the prompt does not say “in the cloud”.
- The Run IAM Agent Bot task Shortcut also opens the app and forwards its text to IAM.Hosting. On iOS 18 or later it can run from a button, widget or Shortcuts automation without a spoken Siri invocation. iOS 17 provides the open-app action.
- To control a macOS app, explicitly name a previously connected Mac. The iPhone or iPad itself does not run desktop CUA or give the agent arbitrary access to other mobile-app interfaces.
Native iOS and iPadOS data and apps
- Contacts can be integrated through the Contacts framework only after separate system consent. The current beta does not request this permission or read the address book.
- Calendar and reminders can be integrated through EventKit with separate write-only or full-access authorization. The current beta does not request either permission.
- Apple Mail exposes no third-party API for reading the user’s mailbox. An app may present the system mail composer with a required user action; mailbox search and processing should use a Gmail, Outlook or other server-side connector.
- Other apps are reachable only through App Intents, Shortcuts, URL schemes, share extensions or document pickers that those apps publish. The iOS sandbox does not allow hidden control of arbitrary third-party UI.
Shortcuts can therefore start work without a spoken Siri command, but they do not bypass system consent or turn an iPhone/iPad into desktop CUA. Native Contacts, EventKit and MessageUI connectors must be added separately with a visible permission prompt and the smallest practical data scope.
Sign-in check at launch
At every launch, IAM Agent Bot loads the local profile and validates the saved session through the public API in parallel. The main workspace, onboarding and chats remain closed until the check succeeds.
- when the API confirms the session, startup continues without another prompt;
- when no token exists or the API returns
401/403, the app immediately shows Sign in to IAM.Identity. Select Sign in or register and complete authentication or registration in the system browser; - when the API is unreachable or returns a server failure, the app shows Could not verify sign-in and Check again. This state does not delete the local session or start a redundant registration flow;
- an operator-issued self-hosted session is also validated with a read-only API request and opens the app only after the server accepts it.
After successful authorization, the local callback page asks to open IAM Agent Bot. Select Allow or Always Allow; the system browser returns focus to the already-running desktop app while it finishes exchanging the one-use code. If the automatic prompt is blocked, select Return to IAM Agent Bot on the page. The link carries only a fixed source marker and never includes a code, token or account data.
The credential remains in the encrypted vault and never reaches the WebView. The startup screen receives only the state, safe display profile and a message without request headers.
Illustrative data. Available controls depend on your edition and permissions.
- Экран входа или регистрации / Sign-in or registration gate
- Безопасный OAuth в системном браузере / Secure OAuth in the system browser
System permissions at launch
After successful sign-in and onboarding, the desktop app checks the required macOS permissions. IAM Agent Bot permissions opens when Accessibility or Screen Recording is off, or when Entire system is selected without Full Disk Access.
- Select Open System Settings. The app opens only the matching Privacy & Security pane; it cannot modify TCC or enable access on its own.
- Enable IAM Agent Bot for the displayed category and return to the app. Status refreshes automatically; select Check again if needed.
- To narrow file privileges first, select Configure bot access, then choose Selected folders or Agent folder only. Full Disk Access is not required in those modes.
- Continue with limitations dismisses the decision for the current process. CUA or protected locations remain unavailable, and the app checks again at the next launch.
The current state is always available under Settings → Permissions → macOS system permissions. Microphone consent remains a separate system prompt when dictation or voice chat starts for the first time.
Illustrative data. Available controls depend on your edition and permissions.
- Статус Универсального доступа, Записи экрана и Full Disk Access / Accessibility, Screen Recording and Full Disk Access status
- Переход в точный раздел macOS / Direct macOS privacy pane
- Явный выбор пользователя / Explicit user decision
Visible window access and screenshots
While local CUA reads or changes a particular window, a green IAM Agent Bot icon appears in that window’s upper-right corner. It is positioned from the validated window geometry, never intercepts mouse or keyboard input and disappears after the operation. The separate green cursor still shows the click target without moving the user’s physical pointer.
The agent starts with the textual accessibility tree. If AX text cannot identify a visible control reliably, it can capture pixels in either of two scopes:
- Application window — only a window from the freshly enumerated selected application; an arbitrary
window_idis rejected. - Desktop — a complete view of all visible displays for general diagnosis. This read does not grant control of other applications: mutations remain limited to the selected app and fresh element tokens.
The PNG stays in an owner-only temporary directory, is downsampled to a safe model size when necessary and is attached only to the next model request. Pixels and base64 are never persisted in chat, synchronization or the portable snapshot; the temporary directory is removed when the app exits. If macOS denies capture, open Settings → Permissions → Screen Recording, enable IAM Agent Bot, relaunch when macOS asks and retry the task.
Keychain access after an update
IAM Agent Bot keeps the local encrypted-vault key in macOS Keychain. On the first launch of this
update, macOS may show one prompt for the old
ru.iamgroup.agent.bot / vault-master-key-v1 item. Confirm that the requester is the installed
IAM Agent Bot, then select Always Allow. The app copies the same value to
vault-master-key-v2; chats, tokens and connections are neither re-encrypted nor deleted.
Later signed updates use a stable Developer ID requirement and should not repeat the prompt.
Local ad-hoc and debug builds automatically use a separate directory and Keychain service, so
they cannot alter the production item’s ACL. Do not manually delete either vault-master-key-v1
or vault-master-key-v2: existing encrypted data cannot be recovered without its key. If the
dialog still returns after one successful launch of the updated version, quit other IAM Agent Bot
copies, verify that the app is running from /Applications, and contact support without sharing
the macOS password or any Keychain contents.
Fast first run with IAM.Mind
- On the startup screen, select Sign in or register and confirm IAM.Identity in the system browser. This check completes before onboarding.
- Enter your name and select the main use cases: memory and context, work, research, code or app control.
- Select Connect IAM.Mind, then choose the permitted memory scope. IAM.Identity does not prompt again.
- IAM.Mind creates a separate constrained agent session for IAM Agent Bot. Owner and delegated tokens remain in Keychain and never reach the WebView or synchronization snapshot.
- The app catalog opens after enrollment with recommendations for the selected use cases shown first. Connecting each app remains an explicit user action.
The catalog scrolls inside Connect apps. Its category row keeps its full height even in a short window; scroll the list below to reach the remaining cards without losing search and filters. Ready OAuth connections include IAM.Mind, IAM.Hosting, Notion, Linear, Atlassian, Google Workspace, Microsoft 365, Canva, Figma, Slack, GitHub and GitLab. Slack requires the client ID/secret of a published or internal Slack app; these values are stored as write-only secrets and never shown in chat.
You can skip this step. Later, open Connect apps → IAM.Mind and select Sign in and register. The IAM.Mind connector ships in the desktop bundle; Bun, Node and a separately installed MCP server are not required.
After “IAM.Mind: sign-in received”, the browser also asks to open IAM Agent Bot; select Allow or the Return to IAM Agent Bot link. This focuses the same form but confirms IAM.Identity sign-in only. Keep the form open until the IAM.Mind card appears under Connected: the app still has to register a constrained agent session and start its tools. If enrollment is rejected, the form stays open and displays the reason; select Retry registration. The saved refresh token is reused, so deleting the profile or entering the password again is normally unnecessary.
If an older macOS build displayed Ran out of executable memory, install the updated signed build and retry the connection. This meant Hardened Runtime had removed the bundled Bun connector’s JIT permissions before OAuth started; it did not indicate low RAM and does not require deleting the profile, vault or IAM.Mind data. The fixed build gate verifies both minimal entitlements on iam-mind-connector and mcp-remote only; the main app and CUA do not receive them.
Create a bot and define its work in chat
- Select New bot in the sidebar.
- Enter a name, choose a character and color, then select Create. Purpose and instructions are no longer required in the form.
- The new bot chat opens. The greeting and What should I work on first? card are created locally, so they remain available without IAM Router. Select one or more suggestions or enter a custom answer.
- Before contacting the model, the app saves the first answer as the bot’s original context and initial purpose. Operating rules may be refined after a successful model response; review the purpose under About bot.
If you do not name a specialization, the bot makes a conservative inference from its name and your first concrete task. For example, a bot named Byte asked to review code may adopt software-development assistance, but it does not gain extra permissions without your message. To change the purpose later, write “Now focus on…” or “Change your rules to…” in the same chat. Change name and appearance only changes identity and color; it preserves the agreed tasks.
The introduction runs once. After the purpose is saved, the bot does not repeat first-run questions: every following message is treated as a work task and uses the stored rules and original answer. If credential refresh or IAM Router is temporarily unavailable, the first answer remains in history and the bot profile; after connectivity returns, retry the task rather than the introduction. The one-shot internal greeting event is excluded from later model requests. Configuration state is part of the encrypted snapshot and follows the bot profile across authorized installations.
Illustrative data. Available controls depend on your edition and permissions.
- Имя бота / Bot name
- Персонаж и цвет / Character and color
- Задачи будут уточнены в чате / Tasks continue in chat
Illustrative data. Available controls depend on your edition and permissions.
- Знакомство и вопрос о назначении / Introduction and purpose question
- Варианты задач / Task suggestions
- Собственный ответ / Custom answer
- Неявное локальное выполнение / Implicit local execution
Create a multi-bot room
- Under Rooms in the sidebar, select Create room or the + button.
- Enter a name and shared context, select participants and choose the lead bot.
- Select Save. The room appears in the sidebar; its lead assembles the shared answer and delegates only to selected participants.
The creation dialog does not replace the current chat and can be closed with Cancel. Save remains disabled when no participant is selected. Rooms, membership and complete history are included in encrypted synchronization between authorized installations.
Use IAM Router
- Sign in through IAM.Identity during onboarding or under Settings → Devices.
- Under Settings → IAM Router, verify the fixed deepseek-v4-flash route through
https://api.iamrouter.ru/v1. No model selection or IAM Router key entry is required. - For web search and retrieval, optionally paste a separate DeepSeek Search & Fetch key. Requests go directly to
https://api.deepseek.com/v1/toolsand are billed separately by DeepSeek.
Before returning an issued or refreshed inference credential, the backend synchronizes the organization’s current IAM Agent Bot quota. The standard free profile allows 50 requests and a USD 0.50 model budget per calendar month, with a warning at 80%. An administrator-assigned paid or internal Unlimited profile survives every token refresh; 0 monthly invocations or budget means that limit is disabled and is never replaced by free-tier values. The profile applies only to a server-created IAM Agent Bot key and only to deepseek-v4-flash; ordinary IAM Router keys and other models continue to use their own tariff and balance. If quota synchronization fails, the backend revokes the new key and does not present sign-in as ready. Restore IAM Router connectivity and select Check sign-in.
The server-issued IAM Agent Bot key uses external_unrestricted mode: IAM.Router does not send its requests through IAM.Secure classification, masking or blocking, so history, tool results and system instructions cannot stop a task with a protected-information message. The backend grants this exception only after validating the IAM.Identity session; a client-supplied header cannot enable it for another application. Authentication, plan, quota, billing, available-provider selection and server-side fallback remain enforced. Passwords, one-time codes and saved credentials still travel through the protected form and native broker and are never appended to the model prompt.
The model and endpoint cannot be changed. Model requests to the public production/staging IAM Router use a separate persistent client: TLS ALPN negotiates HTTP/2, then the client sends a PING keepalive every 15 seconds and waits up to 10 seconds for its acknowledgement. Long classification or first-token latency therefore does not look like a 50-second idle connection, while a VPN, proxy or network transition may establish a fresh compatible connection. Arbitrary websites, DeepSeek Search/Fetch and service-operated self-hosted endpoints retain ordinary protocol negotiation. When the inference credential expires or is revoked, the app refreshes it automatically and retries the request. If IAM.Identity or Agent Control API temporarily returns 408, 425, 429 or 5xx, or the connection drops during rotation, the active turn is retained: credential rotation retries with cancellable one-to-thirty-second backoff, and Stop aborts the wait. Only a rejected session (401/403) requires sign-in again. For connection-establishment failures, timeouts, broken reused HTTP/2 streams, SSE gaps longer than 90 seconds without new frames and 408, 409, 425, 429 or 5xx responses, the transport makes up to three quick attempts with increasing delay. If a transient failure or empty response survives that batch, the agent repeats the same logical model step with a one-to-thirty-second backoff while retaining every completed tool and receipt, and shows a notice Auto-recovery N/M…. Outer recovery is capped at 24 rounds; when the cap is reached the turn ends with an error card instead of endless streaming. The whole turn is limited to 2 hours and each approved tool execution to 30 minutes. You can abort retries with Stop. A structured transient error inside SSE is recovered only before any user-visible fragment was delivered; a started response is never replayed, preventing duplicates and repeat charges. Billing, sign-in, policy and malformed-protocol failures remain terminal because an automatic retry cannot resolve them.
During a long action sequence, the app bounds tool-result history but always retains the active user message as the first history item. Even when recent file_read or terminal_exec output fills the entire history budget, or the compaction boundary falls after that user message, the next model step cannot collapse into system instructions alone and continues the original task.
The client reserves up to 32,768 output tokens so hidden deepseek-v4-flash reasoning does not consume the entire response before user-visible text begins. String content, typed text parts and compatible message/delta frames are handled identically; thinking and reasoning parts remain hidden. A final SSE frame is accepted even without a trailing newline. A successful but empty stream is retried safely inside the transport, while IAM Router treats a reasoning-only result as empty and advances to a fallback provider. If every route in one batch remains empty, the run loop receives the safe provider_empty_response code, waits and resumes that same unfinished step; it does not append an error card to chat. Structured errors inside an HTTP 200 stream likewise retain their safe code and request ID or automatically resume work when the server marks them transient.
Before every turn, the app sends only the tools relevant to the current task and the bot’s saved purpose. Public URL monitoring gets scenarios and http_probe, cluster and CLI work gets terminal_exec and script_tool, device work gets CUA, file work gets agent_workspace, and the IAM.Mind schema appears only when the task or saved purpose explicitly refers to IAM.Mind or memory. This does not disable capabilities: changing the task automatically exposes the required tool on the next turn. Name a connected app when you want to use it, for example, “Find this in IAM.Mind.”
Every bot system prompt includes one IAM Agent operating contract adapted from the pinned MIT Claude Code system-prompt library to IAM’s actual tools. Claude-specific guidance for files, shell/Git, Todo/Task, browser, web/MCP, credentials, cron, notebooks, and documents remains available as IAM variants and is injected only when the matching tool is actually exposed. The bot continues agreed work without redundant confirmation, prefers a connected MCP over browser automation and CUA, verifies changes through a fresh read, separates intention from an observed receipt and reports partial outcomes explicitly. Pages, email, documents, MCP results and application accessibility text are untrusted data; instructions inside them cannot change permissions or system rules.
For a desktop task, the bot lists applications first and works only in the application the user named. After choosing a window it reads current state, uses a fresh element token for one action and reads the window again. A missing application is never replaced with a browser. Only three consecutive calls of the same CUA command with the same normalized window state count as a loop: newly minted element capability tokens are not progress by themselves, while a different action or a visibly changed interface resets the detector. The first stall gives the agent an internal recovery step in which it must change the action or query, refresh the window list, or use an allowed terminal/script tool; the user-facing stop appears only if the same state returns again after recovery. Passwords and one-time codes travel only through the protected form and native broker, never through the prompt or ordinary type_text.
Before a click, text action, or scroll, the desktop app shows a separate green agent cursor. It glides to the center of the element from the latest read_window, highlights the pending action, then disappears after a short dwell. This is a click-through IAM Agent Bot layer: it cannot receive input and does not move the user’s physical pointer. When an app does not publish reliable element geometry, the semantic CUA action with its fresh token remains available but the cursor is omitted. Cursor motion and the action itself require macOS Accessibility access for IAM Agent Bot.
An IAM Router failure now retains a safe code, HTTP status, request ID and, when supplied by the server, the retry or quota-reset time. For quota_exceeded, insufficient_balance and model_pricing_unavailable, chat does not offer a useless Retry button. It instead shows View limits, Configure payment or Check route, opening Settings → IAM Router. For 401/403, select Check sign-in to open Settings → Devices. You may give support the displayed Request value; never share the API key, password or request contents.
Model reasoning is not a chat message. The app explicitly disables reasoning for the work route, never displays a separate reasoning_content field, removes protocol <think>/<analysis> blocks before display and does not persist a textual plan attached to a tool call. When DeepSeek emits a tool request as textual DSML instead of native OpenAI tool_calls, the client recovers single-bar, double-bar and spaced DSML as one structured call, including DSML mistakenly placed in hidden reasoning_content; all other reasoning text is discarded. parameter, invoke and calls tags are neither displayed nor stored as an answer. Damaged or truncated DSML is removed from user-visible text and ends as a safe provider error instead of appearing in chat. That tool step reaches the next turn only as a structured call and result, so private planning cannot accumulate in history or context. Intermediate receipts also stay out of the primary transcript: the action disclosure owns them, while one decision-grade outcome remains visible.
Message the agent while a task is running
The composer remains available while the agent works. A new message is never dropped: the agent determines whether it clarifies the current work or starts an independent task, persists that decision and immediately acknowledges it in chat. An explicit clarification joins the current task at the next safe boundary, an independent task is marked Queued, and an urgent task stops the current turn, runs first and then automatically resumes the displaced work. Phrases such as after this, when you finish and queue this select the queue; urgent, right now and first priority select priority. The explicit /clarify, /queue and /now prefixes are also available.
When you explicitly say run in parallel, execute in parallel or use a separate sub-agent, the bot creates an isolated child turn without stopping the current task. The message shows Running in parallel, and the bot confirms that the work was delegated. The child receives bounded useful context from the current chat, uses this bot’s purpose and permitted tools, and publishes only its final result back into the original chat; its intermediate journal does not clutter the transcript. The state changes to Completed in parallel after delivery. An unfinished child turn remains in the encrypted vault and resumes after the app restarts. Use /parallel for deterministic routing.
When the relationship is ambiguous, chat displays How should this message be handled? with Clarify the current task, Put in queue, Run now and Run in parallel. A new form remains active, including every choice and input, until the answer is submitted; merely displaying it no longer marks it complete. Single-choice, multiple-choice and free-text questions appear one step at a time: select an answer and choose Next, while Back returns to the previous step without losing input. Required fields carry an asterisk. After submission the card stays in chat: selected options and text remain browsable with Back and Next, and the structured answer becomes part of task context. A completed card cannot be submitted a second time. Login data and secrets never use this form and remain isolated in the dedicated protected credential form.
Illustrative data. Available controls depend on your edition and permissions.
- Текущий вопрос и контекст / Current question and context
- Варианты сохраняемого ответа / Persisted answer options
- Шаги, Назад и Далее / Progress, Back and Next
Open saved history
User messages and bot replies are committed to the encrypted vault before archiving and are never replaced by CUA execution steps. After a long task, the chat automatically backfills archived segments until it reaches the latest user turn, so the original request remains visible even after hundreds of app actions. Consecutive technical steps from one agent are hidden under one working-status row. While a tool is active, the row names the observable general action, such as Checking website availability, Working in the browser or Entering data in the application. When there is no concrete action yet, it first shows Thinking… and switches to a random short joke only after a longer wait. A moving light sweep across the text means work is still active; completed and interrupted rows remain static. While the task runs, that agent’s selected character comes alive: it can dance, wave its arms and spin, type on a laptop, swing a hammer, mop, dust or wipe a screen with a cloth. Before a work action, its arm reaches behind its back, the prop appears behind the silhouette and only then moves into the foreground, rather than popping over the character. Orbit and Jelly additionally float, plants and Cactus sway, Cubie and Robo move mechanically, and their eyes look around and blink. Select the row or its right-hand arrow to expand the trace; select it again to collapse. The selected sidebar agent moves and blinks calmly, a working agent becomes more expressive, and every other character stays still until hover so the interface remains focused. When the operating system enables Reduce motion, continuous character animation and the light sweep are disabled while the current prop remains visible. Approval cards and questions remain independently visible. Detailed check receipts stay inside Actions completed and are grouped by host when expanded; the main transcript retains a compact availability outcome and the agent’s final explanation with cause and next action. After a restart, a persisted streaming/running marker does not restart the animation: an unfinished group receives the static Previous work was interrupted label, while a successful group shows Actions completed. The normal view keeps up to 24 latest completed tool steps plus every step still running or awaiting permission; all other steps remain saved.
Illustrative data. Available controls depend on your edition and permissions.
- Персонаж агента и рабочий статус / Agent character and working status
React to a message
Reactions are available on user messages and bot replies. Hover a message or move keyboard focus to it, then select the round + control below the message. Choose 👍, 👎, ❤️, 😂 or 🎉 from the quick rail. Select the second + to reveal 🔥, 👏, 🙏, 🤔, 👀, ✅ and 🚀. Selecting your active reaction again removes it; the number beside an emoji is the count of participants who selected it. On a touch screen the add control remains visible without hover.
Selected reactions are stored with the message in the encrypted vault and included in full chat synchronization between installations. In rooms, the app combines marks from different IAM.Identity participants, while a removal cannot be resurrected by a stale device copy. The emoji, count and opaque actor identifier are not appended to message text and are never sent to the model. If the IAM.Identity session is unavailable, restore sign-in and select the reaction again.
Illustrative data. Available controls depend on your edition and permissions.
- Сохранённая реакция и счётчик / Persisted reaction and count
- Быстрые и дополнительные реакции / Quick and extra reactions
Select Show full history above the messages to expand the complete journal in one action. The app loads every archive segment in chronological order, including technical steps. Synchronization transfers the complete history rather than only the visible tail. If synchronization is temporarily unavailable, the local vault and archives are not cleared; restore connectivity and select Synchronize again.
Inside IAM Router, the deepseek-v4-flash alias goes to the primary DeepSeek route first and switches to a compatible IAM reserve route when its provider runtime is unavailable. Router performs this fallback within the original request; the app needs no provider keys. A final 402 means the request stopped after the available server-side fallback or before provider dispatch because of tariff/balance admission; use the displayed Code for the exact reason. The app does not run useless automatic retries. If the IAM.Identity session was revoked, the bot asks you to check sign-in. Manual IAM Router keys remain available only for service-operated self-hosted deployments without IAM.Identity.
For a current server-issued IAM Agent Bot key, “The request contains protected information…” is not an expected result because this key bypasses IAM.Secure. If it appears after an update, open Settings → Devices, select Check sign-in, then retry; the backend issues a key with the correct mode and revokes the old one. Never paste a password or one-time code into chat: removing the DLP block does not change the protected credential-entry path.
Under Settings → Permissions → Web search and reading, allow, confirm or deny both tools. web_search returns sources and web_fetch retrieves a selected public HTTPS page. Internet content is treated as untrusted data, never as instructions to the bot.
Check website availability with an execution receipt
- Under Settings → Permissions → Web search and reading, choose Ask or Always allow.
http_probeuses the same permission but does not require a DeepSeek Search & Fetch key. - In chat, provide the full public HTTPS address and expected result, for example: “Check
https://example.com/; expect HTTP 200 and textExample Domain.” - When a permission card appears, verify the address and select Allow once or Always allow.
- After all calls, the bot displays one outcome: how many hosts are available, which ones need attention, the observed cause and the next practical action. A compact result row remains in the main transcript. Answers and tables use the expanded chat width; in a narrow window the table scrolls horizontally, so namespace names and other identifiers do not collapse into one character per line. Select Actions completed to inspect technical receipts grouped by host, including the full address, check time, TLS, HTTP status, latency and expected-text match. No additional approval is required solely to read the title. For a recurring check, separately confirm the scenario card and its next run.
Repeating the same recurring task for the same bot and schedule does not create a duplicate. Chat shows Scenario already exists, the actual identifier and the next run of the saved scenario.
To stop recurring work, tell that bot: “Disable the monitoring scenario.” The bot first reads its own scenarios, selects the exact ID, pauses the record and verifies the resulting status. Stop beside the composer cancels only the current turn; it does not change the schedule. Say “Enable the monitoring scenario” to resume it. Deletion happens only after an explicit request and a separate confirmation card. A bot cannot mutate another bot’s scenario even if it receives that ID accidentally. If the bot reports that a lifecycle tool is unavailable, verify version 0.1.15 under Settings → About, then select Check for updates.
The probe does not follow redirects, reads at most the first 128 KiB and refuses HTTP, IP literals, local domains, credential-bearing URLs and custom ports. A timeout, DNS, TLS or other connection failure still produces a completed receipt with success=false and a safe code; the bot immediately explains the observed cause and does not show an action picker unless you asked for remediation or monitoring setup. Separate DNS and TLS timings are not invented: successful resolution and certificate verification are recorded as part of the total HTTPS request.
Connect this device and synchronization
- Complete the mandatory IAM.Identity sign-in at first launch. For reauthentication or connection changes, open Settings → Devices.
- Keep Public API at
https://agent.iamrouter.ruunless your operator supplied another origin. - Enter a recognizable Device name, then select Sign in and synchronize.
- Sign in to IAM.Identity in the system browser and allow the return to IAM Agent Bot. Return to the app after the Sign-in completed message.
- Verify the connected account name and email, revision, last-sync time and this device marker.
The app uses an authorization code through the backend with PKCE S256: the IAM.Identity client
secret is never included in the desktop bundle, and the loopback listener accepts only a
single-use code on 127.0.0.1. The app session stays in the encrypted vault. Sign out revokes
the server session and clears the local device registration. Service token for self-hosted is
only a fallback for isolated deployments where IAM.Identity is disabled.
The portable snapshot contains the profile, bots, rooms, complete history, memory, scenarios, secret-free connector definitions, theme, notifications and tool policies. The service uses optimistic revisions. When two devices both changed, the app automatically unions independent records, retains both history and memory branches, and chooses the newer version of the same record. Permission policies resolve to the stricter value, so synchronization cannot silently broaden bot access.
Resolve an ordinary conflict with Synchronize; success is reported as Changes from the devices were safely merged. Use cloud and Use this device remain deliberate whole-side replacement controls: the former replaces portable local data with the cloud snapshot, while the latter publishes only the current installation as a new cloud revision. Use them only when changes from the other side should be discarded. Downloading keeps local keys and connector secrets.
If the browser does not return to the app, do not copy the callback URL manually: close the tab and select Sign in and synchronize again. The attempt expires after three minutes. For an expired or revoked session, select Sign out, then authenticate through IAM.Identity again.
Use dictation and voice chat
After signing in through IAM.Identity, open Settings → Voice or the bot side panel at Info → Voice chat. IAM Agent Bot uses the same product-owned voice pipeline as IAM.Market: recordings go through the authenticated public API to IAM.Speech, and replies are rendered by IAM Voice. It does not use an external ASR endpoint, a separate voice API key or the macOS system voice.
Grant microphone access when dictation starts for the first time. The bot panel selects an IAM Voice, playback speed and automatic/Russian/English language; these preferences synchronize without sending voice data. Long replies are split on sentence boundaries so the next segment is synthesized while the current one is playing. If the account session expires, sign in again under Settings → Devices.
Use the bot side panel
Select the bot name or avatar in the chat header. Info shows its scenarios: a switch pauses or resumes a scheduled operation, while New scenario creates a schedule. Voice-chat controls are available in the same tab; instructions, bot management and memory remain in expandable sections below.
Library lists real documents previously attached to that bot’s chat. Select a card to open the saved original through the system viewer, or choose Open agent folder to reveal the private workspace. Listing does not read file content or submit it to a model by itself, and another bot does not receive access to this library.
Under Computer, select Connect so IAM.Identity can create or reuse the personal IAM.Hosting desktop and request a short-lived noVNC session. The preview does not accept input. Select Take control to open a dedicated interactive window for Chromium, LibreOffice and files; Stop closes the control window without deleting the persistent profile or workspace. If the session expires, select Refresh screen to obtain a new URL without exposing a bearer to React or chat.
Illustrative data. Available controls depend on your edition and permissions.
- Сведения, библиотека и компьютер / Info, library and computer
- Запланированные операции / Scheduled operations
- Сохраняемые настройки IAM Voice / Persisted IAM Voice settings
Update the desktop app
IAM Agent Bot checks its dedicated stable update channel at launch, at most once per day. A new version downloads and verifies in the background without stopping active chats, scenarios or synchronization. When installation is ready, a blue button appears at the bottom of the sidebar and the IAM Agent Bot menu changes to Restart to update.
In the Update ready dialog, select Not now to keep working or Update to relaunch. Bots, rooms, history, encrypted keys and the IAM.Identity connection remain intact. A manual check is available under Settings → About → Check and IAM Agent Bot → Check for updates…. After selection, the app shows Checking for updates…, then confirms that the installed version is current, reports that a download started, or displays a clear error. The daily background check remains silent.
An update is accepted only when its IAM signature matches and the app retains a trusted Apple Developer ID signature. A network error or temporarily missing channel does not block the app: details remain under About, where you can retry.
Run locally, on another device or in IAM.Hosting
- Open the intended bot chat.
- For ordinary local execution, enter the task directly. The composer no longer displays a This device selector.
- To switch to another installation, use its exact name from Settings → Devices, for example: “Run this on device Work Mac…”. A durable command is created only when the explicit target matches an owned device.
- For cloud execution, first open Connect apps → IAM.Hosting and select Connect cloud. IAM.Identity automatically creates or reuses an isolated serverless runtime through IAM.Market.
- Write “Run this in the cloud…” or “Run this through IAM.Hosting…”. The hosted result returns to the originating chat; IAM.Market/IAM.Hosting supplies quotas, audit, transcript, wake and idle reaping.
IAM.Hosting receives the bot name, purpose and instructions plus the explicitly cloud-routed task. The system IAM Agent Bot Cloud package gets a dedicated persistent Linux desktop: its Chromium and LibreOffice profiles, cookies, site sessions and /persistent/workspace survive pod replacement and scale-to-zero. Shell and code tools fail closed inside a Firecracker microVM with a separate Linux guest kernel; graphical applications remain in the installation’s dedicated session. This desktop does not grant cloud access to apps on the user’s primary OS. Keep app control local or explicitly name the required user-owned device.
Ordinary hosted agents run in a separate signed pooled runtime and receive only their allowed tools. They cannot see the personal Chromium, LibreOffice, cookies or /persistent/workspace. The personal desktop, by contrast, gives native file tools /persistent/workspace as their effective root; a successful runtime restart must preserve files created there.
After connecting, open Connect apps again and select Open desktop on the IAM.Hosting card. The app obtains a short-lived link: the browser never receives the IAM.Identity or IAM.Hosting bearer, while noVNC remains on a private cluster Service. The desktop contains persistent Chromium, a file manager and LibreOffice Writer, Calc and Impress. Ask the bot to open the required file in LibreOffice; Linux CUA reads accessible controls, performs the action and checks the new state. Keep working documents under /persistent/workspace.
The cloud desktop uses the isolated session’s own X11 pointer. It moves to each CUA click coordinate and is forwarded through noVNC with cursor mode most, so the user can see the interaction point just as in the interactive Take control view. The local macOS pointer is never moved.
The built-in IAM Agent Bot Cloud system package does not require the separate commercial hosted-runs licence; licensing for all other marketplace runtimes remains unchanged. A feature_not_licensed message on this card means the IAM Agent server is outdated, not that the user must change plans. Update the server and retry. A runtime-not-published message is a separate safe failure: the operator has not yet published a signed desktop image and added it to the trust policy. An ordinary marketplace runtime never substitutes for the personal desktop or receives its expanded permissions.
Use the agent’s internal desktop and files
- Open Settings → Desktop and leave Allow internal desktop enabled.
- Select Open Chromium. IAM Agent Bot starts a separate persistent profile and does not read the user’s normal Chrome profile. Cookies, history and site sessions stay in the app-owned directory.
- Select Open files to reveal the agent-owned directory. For a project task the bot receives the effective Project root and Working directory in Workspace instructions:
file_globrecursively discovers paths,file_grepsearches regexes with line numbers,file_readreads a window,file_editperforms a targeted replacement, andfile_writecreates or atomically replaces a file.agent_workspaceremains for list/mkdir/copy/move. Entire system permits absolute paths subject to ordinary macOS ACL/TCC; Selected directories and Workspace only narrow the same boundary..., symlink escapes and VCS metadata during recursive search remain blocked. - In chat, ask “Open your Chromium and continue there” or “Save the report in your files.” The bot continues to use bundled CUA for apps on the primary OS.
Searches, large text files and directories are read automatically in pages. The activity card keeps offset, nextOffset, total and the continuation flag; the bot requests following pages instead of asking the user to narrow a known path merely because the result is large. file_glob and file_grep include hidden/ignored files but do not enter .git, .hg, .svn or symlinks; bounded inline results continue with the same pattern/path. file_read accepts an ordinary UTF-8 file up to 32 MiB. Binary, PDF and office documents use a local CLI/script or LibreOffice.
The agent must call file_read before changing an existing file. The observed version lives only in process memory: file_write, file_edit and file_delete reject a target that was never read or changed since its read. A normal edit requires one unique literal old_string; a bulk replacement requires explicit replace_all. Creating a new file needs no prior read. After mutation the agent reads the result again and runs an appropriate test or verification. Direct recursive directory deletion is unavailable.
Every category under Synchronization between instances is off by default. Cookies and site sessions permits only encrypted browser state, Agent files permits only the isolated workspace, and Saved passwords uses the IAM credential vault: the Chromium password database is never copied directly between macOS and Linux. A toggle records consent and does not start transfer in the current candidate. Upload may be enabled only after the published IAM.Hosting desktop runtime is connected, the encrypted-container transport exists, and the app shows a second confirmation with the exact data set.
Do not duplicate a task merely because the target is offline: it can claim the durable command after reconnecting. If the result does not arrive, inspect both installations under Settings → Devices, then select Synchronize.
Attach a document to a message
- Drag a file onto the message field, copy the actual file in Finder and paste it into the composer, or select + → Attach documents. Attachments stay inside the expanded composer: images appear as thumbnails and other documents as compact cards with their type, real name and size. The composer never substitutes a text-only file name.
- Select a card before sending to open an in-app preview for an image, PDF or small text file. The close control in the card’s upper-right corner removes only that attachment. Unknown binary formats show name, type and size without trying to execute their contents.
- Optionally add a task and select Send. The field grows to multiple lines; Enter sends and Shift+Enter inserts a line. With no text, the bot receives a safe default request to process the attached documents.
- Before the model call, the desktop app copies the real bytes into an isolated
attachments/<chat>/directory in the internal workspace. History and the model receive only the name, MIME type, byte count and relativeworkspacePath; Base64 and document contents never travel through the prompt. - The agent reads a text file through
file_readand processes PDF, office and other binary documents with a local CLI/script or LibreOffice. Names and contents remain untrusted data. Document cards persist in chat; select one to open the saved original in the system viewer.
One message accepts up to 8 documents, at most 20 MiB each and 64 MiB total. In this version desktop attachment bytes remain on the installation that imported them; binary synchronization to another device or IAM.Hosting is not enabled yet. For cloud processing, first upload the document into /persistent/workspace through the cloud desktop and explicitly run the task in IAM.Hosting. Local import is unavailable on iPhone and iPad.
Illustrative data. Available controls depend on your edition and permissions.
- Миниатюра, имя, размер и удаление / Thumbnail, name, size and remove action
- Текст задачи и действия отправки / Task text and send actions
Complete work through the terminal or an agent-authored script
- Under Settings → Permissions → Files, keep Entire system and Always allow for terminal execution. Commands run with the current macOS user’s permissions and remain subject to OS ACL/TCC. When Workspace only or Selected directories is active, an arbitrary child process cannot be reliably confined to those paths, so terminal/script execution fails closed while the specialized file tools continue within the selected boundary.
- State the final outcome, for example, “Inspect this cluster’s pods, identify unhealthy ones and return the causes.” You do not need to open Terminal or OrbStack.
- For
kubectl,helm, Git, processes, builds and tests, the bot callsterminal_exec. Commands run in a captured headless terminal by default and returnstdout,stderr, the exit code and timeout. If a CLI exists only in the user’s login PATH, the bot can retry once insystemmode. - For repeatable processing, the bot can use
script_toolto save a small Python, JavaScript or shell tool in app-owned storage, test the expected exit code/output, repair it from the observed failure and run it. Source and intermediate runs stay under the collapsible activity status; the final answer contains the result and verification.
Before the first model step of a project task, the desktop app automatically finds the nearest .git marker and loads the applicable AGENTS.md, CLAUDE.md, local overlays, .cursor/rules, .claude/rules and .agents/rules chain from project root to working directory. More specific rules win, identical content is deduplicated, and the complete context is capped at 48 KiB while retaining the most specific instructions. The app first adds a compact catalogue from user and project .agents/skills, .claude/skills, .codex/skills, .cursor/skills and skills; a nearest project skill overrides a global skill with the same name. A complete SKILL.md is loaded automatically for alwaysApply: true or when the task names that skill. For other relevant skills, the agent reads the listed SKILL.md through file_read before applying it. Built-in IAM agent prompts are already part of system context and are not reread from disk on every step.
RTK runs as a native terminal-runtime plugin. When rtk already exists in PATH, Homebrew, ~/.local/bin or ~/.cargo/bin, auto mode immediately wraps every simple CLI command and returns token-reduced output to the model. No separate installation probe or setup is required. Machine parsing that needs exact output uses rtk_mode=proxy; off is reserved for compatibility diagnostics. If RTK is absent, the original command runs normally instead of failing.
CLI work never types into a graphical Terminal window through CUA, so an empty accessibility tree cannot block command execution. The runtime has no interactive stdin; a password prompt, CAPTCHA or terminal confirmation becomes an explicit request for user input. Never put secrets in a command or source file—use the separate protected credential form. iPhone and iPad remain cloud-only, so these commands run only in the user’s IAM.Hosting runtime.
After a non-zero exit, the agent receives stderr and must change the command, code or working directory rather than repeat the same call. Timeouts are capped at 900 seconds, and large output retains bounded head and tail evidence. Native validation rejects root-disk and filesystem destruction commands.
Control another app with bundled CUA
- Keep Settings → Permissions → App control at Ask for the first use.
- Ask the bot to read or change something in a named app. It lists apps, selects one app and window, then reads accessible elements.
- Review the permission card for a mutating action and choose Allow once, Always allow or Deny.
- After a click, text input or hotkey, the bot reads the window again; stale element tokens cannot be reused.
The window list contains only visible user windows on the current workspace. macOS implementation surfaces—traffic-light controls, titlebar overlays and off-screen windows—are excluded automatically. For a large accessibility tree, CUA returns a bounded leading slice with truncated set; the agent continues with a narrow label query instead of ending the task with a “CUA response is too large” error.
If the named application is absent, the bot reports that and ends the task: Calculator, Mail or Calendar are never substituted with Chromium or a web service. A third completely identical CUA call in one turn is treated as no progress and stops with a clear message instead of looping forever.
CUA ships inside the app bundle and needs no separate installation. If macOS denies access, use the startup decision or open Settings → Permissions → macOS system permissions, select Open settings beside Accessibility, enable IAM Agent Bot and return to the app. Keep Ask for sensitive or irreversible operations and verify the result in the target app.
Sign in without exposing a password to the model
- Ask the bot to sign in to the service, but never send a username, password, API key, one-time code or session value as a chat message.
- When the agent calls
request_credentials, a separate Protected sign-in data card opens. It contains only the service name, reason and requested fields; entered values do not become a message and are not added to the prompt, history or synchronized snapshot. - Complete the form and select Save and continue. The desktop app sends values directly to the native Rust broker and stores every alias in the encrypted vault whose key is held by macOS Keychain. Chat receives only a safe receipt containing alias names and no values.
- Before input, the agent reads the app window again, receives fresh field tokens and calls
fill_credentials. Native CUA inserts the values after the model response: the model sees aliases and element tokens only. A one-time code is removed from the vault after confirmed insertion. - Select Cancel if the service or reason does not match the task. The value is not stored and the agent turn ends without a sign-in attempt.
IAM.Hosting uses the same separate card. The desktop client receives only safe metadata for a pending request, while the entered value is posted directly to the authenticated Control API broker. Only the assigned IAM Agent Bot Cloud installation can obtain it, delivery is one-time, and the value is excluded from the tool transcript. On iPhone and iPad, the form serves cloud requests only; local credential insertion is unavailable.
If Keychain, the vault or the IAM.Hosting broker is unavailable, the operation fails closed and does not continue sign-in. Do not put the secret into chat to work around the error; restore IAM.Identity or Keychain access and retry the task.
Illustrative data. Available controls depend on your edition and permissions.
- Причина и набор полей без значений / Reason and field list without values
- Прямое сохранение в защищённый broker / Direct save to the protected broker
Illustrative data. Available controls depend on your edition and permissions.
- Public API and device name
- Connected IAM.Identity account
- Sync, conflict resolution and devices
The captures come from a local browser demo using synthetic data. They verify UI placement, not the live public API, native permissions or a production release.