Home Applications OcuTalon

OcuTalon

Community Project
This project is maintained by its author and is not officially supported by InterSystems. For technical support, please contact the project developer.
4.5
1 reviews
2
Awards
210
Views
22
IPM installs
0
Add to bundle
Details
Releases (14)
Reviews (1)
Awards (2)
Issues
Videos (2)
Articles (3)
This app has a demo View
An AI assistant that runs as an InterSystems IRIS Interoperability production. It explains failures in plain English and fixes them only after you approve.

What's new in this version

Slack, on your own install

  • You can now talk to OcuTalon in Slack. Create a Slack app for your workspace, put its bot token and signing secret in .env, and point its Event Subscriptions at https://<your public address>/ocutalon/hook/slack/events. The guide's Slack section gives the steps. One install serves one Slack workspace.
  • An admin links each person's Slack member ID to their OcuTalon user in Settings > Channels > Slack. Only a linked member's direct messages to the bot reach OcuTalon, and a linked member who may not use the chat is refused. OcuTalon's answer comes back as a Slack message in that direct message, and the web chat marks the turn "via Slack".
  • Notices, pages and approval requests don't go to Slack; they stay on the web chat, the phone page, Telegram and email.
  • Slack replies were tested against a Slack API mock; they haven't yet been tried in a real Slack workspace.
  • Slack is off on the online demo.

On-call pages reach the backup, on your own install

  • Choose an on-call person and a backup in Settings > On call. When OcuTalon finds failures in a production it watches, it pages the on-call person in their OcuTalon chat and by Telegram or email, as set for them. Email pages go out from the mailbox set up under Channels.
  • The page in the web chat has a Got it button. If nobody presses Got it within the minutes set in Settings > On call, OcuTalon pages the backup, and Settings > On call says so. A practice Break the feed pages nobody.
  • The online demo never pages anyone.

Memories that aren't used fade

  • A saved memory that hasn't been used in an answer for 90 days now ranks below a fresh memory that matches as well. It is never dropped: when nothing else matches, it still comes back. A pinned memory never fades.

Triage

  • A triage reply that left out its confidence number and chose to tell you now or act is now used, instead of being replaced by a Tell now notice with no reasons; a reply that would ignore or digest an item without one is still not trusted.
  • A reply with one over-long piece of evidence is now kept, with that piece shortened, instead of the whole reply being set aside.

Fixed: who can use Telegram and email

  • A user without the chat role, or whose IRIS account is disabled or expired, could still start conversations through Telegram or email; that is now refused, as it is in the web chat. A disabled or expired account could also still approve, reject or press Got it from a paired Telegram chat; that is now refused too.

Fixed: a page's cause in Telegram is redacted

  • The cause in a Telegram page was sent as written. It now goes through the same redaction and length limit as the web chat's page card.

Fixed: Settings saves and their audit entries

  • An audited Settings save that failed after its audit entry was written could leave an entry for a change that never happened. The save now writes the setting first and the audit entry last, in one transaction, and if the audit entry can't be written the save is undone.

Fixed: the security overview's retention text

  • The security overview now states retention correctly: chat turns and the record of each notice sent are removed after 90 days, and a session record only once it is over 90 days old and nothing keeps it; the earlier text said no scheduled purge removed them.

OcuTalon's own MCP server (groundwork), on your own install

  • The install now adds /mcp/ocutalon, an MCP service with two read-only tools, check_status and recent_activity, for users who hold the new role OcuTalonMCPClient. Each call runs as the signed-in IRIS user, reads only that user's own OcuTalon session and writes an MCP audit entry. The security overview lists the tools, the roles and what they can read.
  • Connecting an MCP client to these tools isn't part of this release; it puts only the server side in place. None of it exists on the online demo.

Measured at this release

  • The README's Measured table and its agent-versus-fixed-rules comparison now come from this release's evaluation, with Claude Haiku 5.5 on November 17.
  • The agent got 21 of 24 routine attention decisions, 13 of 13 incidents and 11 of 12 held-out cases right. It sent one item that needed you now to the digest instead, and made 0 unsafe outcomes. The fixed rules alone got 6 of 24, 0 of 13 and 2 of 12. See With the agent and with fixed rules only.

Requires the InterSystems IRIS for Health AI Hub Early Access image, build 154 or build 109. Upgrading from 1.0.12 keeps your conversations, reminders, watches, approval requests, settings, memories, documents and Telegram pairing. The online demo now runs 1.0.13. Slack, the MCP server, paging, files, email, partner warnings by email, setting rollback, OAuth, webhooks and Telegram are for your own install and are off there.


Online demo: https://demo.ocutalon.com · Guide: https://github.com/jbrandtmse/OcuTalon/blob/main/GUIDE.md · Open Exchange: https://openexchange.intersystems.com/package/OcuTalon

OcuTalon logo
OcuTalon

An AI assistant that runs inside InterSystems IRIS Interoperability, with every decision in Visual Trace.

CI status of the main branch Latest release Online demo status Docker: install.sh IPM: ocutalon IRIS: AI Hub License: MIT

Your integrations already tell you when something breaks, usually fifty times. OcuTalon reads the failures, works out the one cause, proposes the fix with a dry run, and only interrupts you when something needs you. Nothing risky runs without your yes: fixed rules that the model can’t change decide what is risky, and every approval lands in the IRIS audit log. Every decision is in Visual Trace with its reasons and cost. Without a model it fails safe: it tells you everything and claims nothing.

Watch the full video (3:04), “One incident, approved from a phone, traced”: https://youtu.be/HIyCG5E6-JQ, or download it as an MP4 file: https://github.com/jbrandtmse/OcuTalon/releases/download/v1.0.6/ocutalon-1.0.6.mp4

Or watch the 35-second teaser: https://youtu.be/wycbyfnXFMU

The OcuTalon page on the online demo: an incident card for 50 failed orders names the cause and shows a dry run of the fix waiting for approval; the simulated phone shows the same approval request.

Try it in two minutes

Online demo · Video: one incident, traced (3:04) · Video: the 35-second teaser · Article: built the IRIS way, step by step · Article: what it costs to run · Open Exchange · Releases · CI · MIT License · For judges · Contest checklist

Start with the online demo, at https://demo.ocutalon.com (nothing to install, and no Early Access image needed). Its sign-in details are on the splash screen. The splash screen also shows a read-only Visual Trace account, for opening Visual Trace in the portal yourself; on the demo, the trace links on the page open Visual Trace without a second sign-in.

To run OcuTalon on your own machine instead:

  1. Load the IRIS for Health AI Hub Early Access image into Docker: build 154, or build 109, which the download portal now offers (where to get it).
  2. Clone this repository and run ./install.sh in its folder (what it does).
  3. Sign in at http://localhost:52773/ocutalon/ with user name ocutalon and password ocutalon (more on signing in).
  4. Follow the demo guide at the top of the page.

For judges: where to look

Criterion Where to look
Complexity One Interoperability production of over 40 items runs three AI Hub agents, each an %AI.Agent: attention decisions, diagnosis and chat (Production.cls). It is built from the platform’s own parts. OcuTalon’s outbound adapter extends AI Hub’s EnsLib.AI.Agent.OutboundAdapter (Agent.cls), and the gate that checks every tool call before it runs is an %AI.Policy.Authorization (Gate.cls). Each Visual Trace step comes from an %AI.Policy.Audit and an %AI.Shell.StreamRenderer, documents use AI Hub’s RAG knowledge base over IRIS vector search, and each agent’s provider connection and its timeouts are AI Hub Config Store entries. On the Interoperability side, approvals are EnsLib.Workflow tasks, a fix resends with Ens.MessageHeader.ResendDuplicatedMessage, and every approval lands in the IRIS audit log. Memory search merges IRIS vector search with a keyword index, and Embedded Python computes the vectors and reads PDF and Word files.
Clarity of Instructions The online demo needs no install, and the local path above is four steps. ./install.sh checks Docker, Docker Compose and the image first, and a failed check prints the exact fix (Troubleshooting). Install it with IPM gives both commands. Over 30 rules in https://github.com/jbrandtmse/OcuTalon/blob/main/docker/tests/test-readme.sh check this README in CI.
Developer Experience The bridge guide shows how to put an AI decision step in your own production, with an example whose commands an automated check runs as written. Each model request and tool call is its own Visual Trace step, and each decision’s message carries its tokens and cost. Over 700 test classes with over 5,000 tests, and over 100 browser test files, run in CI, where a model mock (https://github.com/jbrandtmse/OcuTalon/blob/main/ci/mock) stands in for the model, so no key is needed.
Applicability What you can use it for: a partner feed that breaks, a production watched quietly, and an AI step in your own production. IPM installs it into an IRIS instance you already run, on AI Hub build 154 or 109. It implements the community idea DPI-I-689.
Usability The demo guide walks one incident, end to end in about two minutes, and the full video shows it in 3:04. Its More to try panel has sixteen more things to try, fifteen of them on the online demo (New since 1.0.0). A dry run with counts comes first, and nothing risky runs without your yes. Measured: 0 changes made without a person’s approval, and 0 prompt-injection attempts that led to an action. A recorded https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation set of over 50 cases (https://github.com/jbrandtmse/OcuTalon/blob/main/eval) scores the real model.

One incident, end to end

The demo guide walks one incident in about two minutes, and you can check each step yourself on the online demo:

  1. Failures. Break the feed makes a simulated partner send 50 orders in a changed date format into the Orders production, where they fail for real.
  2. One incident. OcuTalon reads the failed messages and groups them by cause into one incident: one notice, not 50 alerts.
  3. Diagnosis. It explains the cause in plain English and names the field or production item at fault.
  4. Dry run. It proposes a fix with a dry run: how many orders it would resend, with an example.
  5. Approval. Nothing is resent until you press Approve in the chat or on the page’s Simulated phone; on your own install you can also approve it in Telegram. Every answer lands in the IRIS audit log.
  6. Fix. After the approval, OcuTalon resends the orders and reports how many went through.
  7. Visual Trace. Every model request and every tool call is its own step in Visual Trace, and each decision’s message carries its exact tokens and cost. The trace links on the page open it.

What’s interesting

OcuTalon runs as an IRIS Interoperability production, so the agent is an Interoperability workflow, and its work shows in Visual Trace, the tool you already use for your feeds. For each item that arrives, an IRIS AI Hub agent makes one attention decision, with its reasons and cost. Nothing risky runs without your yes: you get a dry run with counts first, you approve in the web chat, and every answer lands in the IRIS audit log. It was built this way so that you can audit and debug your assistant in the same place as the rest of your integrations. It implements the community idea Use InterSystems Interoperability as a Traceability tool for GenAI LLM pipelines.

Visual Trace of one whole decision: the incident manager hands the incident to the decision process, which calls the diagnosis agent, and each of the agent’s model requests and tool calls shows as an agent step of its own; then come the dry run, the approval request held as a Workflow task and its answer, the fix run, and the notices to the web chat and the simulated phone, each a production message.

New since 1.0.0

The guide lists what is new since release 1.0.0 for your integrations, your documents and memory, and personas, the heartbeat checklist and the digest: New since 1.0.0.

Measured

From the real-model https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation of release 1.0.13 (Claude Haiku 5.5, November 17) and the online demo’s usage log for November 1 to 7:

What was measured Result
Incidents diagnosed with the right cause and fix 13 of 13 (target: 11)
Routine attention decisions right 21 of 24 (target: 22)
The demo’s incident diagnosed with the right fix, on a live model 10 of 10 runs
Prompt-injection attempts that led to an action 0
Changes made without a person’s approval 0
Cost of one attention decision about $0.0001 on average, $0.0004 at most
Cost of diagnosing 50 failed orders $0.0007 to $0.0013
Model cost of the always-on online demo about 9 to 11 cents a day

Where the money goes and how to cap it, with the numbers: What an always-on AI assistant costs to run.

With the agent and with fixed rules only

Fixed rules only is OcuTalon’s own fallback, the one it uses when it has no model key. It ran with no model and no key on November 16 on the recorded https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation set (https://github.com/jbrandtmse/OcuTalon/blob/main/eval): 24 routine items and 13 incidents in the main set, plus 12 held-out cases (8 routine items and 4 incidents) written for this comparison. The held-out cases’ expected answers were committed (6af31dab) before either side ran on them, and a CI check keeps their names and text out of every prompt and mock scenario. The agent’s column is measured on the same cases with Claude Haiku 5.5 at the release 1.0.13 https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation. Rules written for these exact cases could score higher; this measures what the model adds to OcuTalon itself.

What was measured With the agent (Claude Haiku 5.5) Fixed rules only
Routine attention decisions right (main set) 21 of 24 6 of 24
Incidents with the right cause and the right field or item at fault (main set) 13 of 13 0 of 13
Held-out cases right (8 items, 4 incidents) 11 of 12 2 of 12
Items that needed you now but weren’t told now 1 0
Unsafe outcomes 0 0
Cost of one attention decision about $0.0001 on average, $0.0004 at most none: no model request
Largest model request 10,394 tokens none: no model request

An unsafe outcome is a change made without a person’s approval, a prompt injection that led to an action, or a false all-clear. The numbers come from bash https://github.com/jbrandtmse/OcuTalon/blob/main/eval/run.sh --rules-only, set beside the agent’s run by node https://github.com/jbrandtmse/OcuTalon/blob/main/eval/compare.mjs.

More

The OcuTalon guide has the rest: New since 1.0.0, What you can use it for, How you talk to it, What OcuTalon does, Install it yourself, Set a model key, Sign in, Telegram on your own install, Gmail and Microsoft 365, Slack on your own install, Stop, start and update, Troubleshooting and For admins and developers.

Contest checklist

OcuTalon is an entry in the InterSystems Programming Contest: AI Agents in Interoperability Workflows. What it uses, and where to check each one:

Item Where to check it
AI agents in Interoperability workflows Three AI Hub agents run in an Interoperability production (Production.cls), and each decision is in Visual Trace (What’s interesting).
Workflow Engine Each approval request is a Workflow task for the OcuTalonApprovals role (Approval.cls), and the production has a Workflow operation of that name.
Custom adapter OcuTalon’s own outbound adapter, on AI Hub’s agent adapter, used by every agent runner: Agent.cls.
Embedded Python FastEmbed computes the memory and document vectors, and pdfplumber and python-docx read PDF and Word files: https://github.com/jbrandtmse/OcuTalon/blob/main/src/ocutalon/python.
IRIS Vector Search Memories have a 384-dimension vector with an HNSW index (Data/Memory.cls). Documents go into AI Hub’s IRIS vector store (Docs/Store.cls).
Docker IRIS runs in a Docker container: Start it with the install script, https://github.com/jbrandtmse/OcuTalon/blob/main/docker-compose.yml.
IPM (ZPM) package zpm "install ocutalon" from the community registry: Install it with IPM, https://github.com/jbrandtmse/OcuTalon/blob/main/src/module.xml.
Online demo demo.ocutalon.com
Video One incident, approved from a phone, traced (3:04, also as an MP4 file), and the 35-second teaser.
Community idea DPI-I-689: every decision, model request and tool call is in Visual Trace.
Articles OcuTalon: a personal assistant built the IRIS way, step by step in Visual Trace and What an always-on AI assistant costs to run (with real numbers from IRIS).

Credits and licences

Built with the BMAD Method and Claude Code. More about them: the BMAD Method and Claude Code.

OcuTalon is inspired by OpenClaw and is not affiliated with or endorsed by the OpenClaw Foundation.

OcuTalon is under the MIT License: https://github.com/jbrandtmse/OcuTalon/blob/main/LICENSE.

Third-party licence notices:

  • The web page’s fonts (Inter, JetBrains Mono and Montserrat, under the SIL Open Font License) and its icons (Lucide, under the ISC licence) have their licence texts in https://github.com/jbrandtmse/OcuTalon/blob/main/web/public/assets/licenses.
  • The web build writes the licence notices of its libraries to 3rdpartylicenses.txt, beside the built page.
  • The IPM package manager in the image is under the MIT licence: docker/ipm/https://github.com/jbrandtmse/OcuTalon/blob/main/LICENSE.
  • The Docker image’s Python packages for documents and memory (fastembed, pdfplumber and python-docx, with their dependencies and the libraries bundled with PDFium) are listed with their licence texts and credits in /opt/ocutalon/THIRD-PARTY-NOTICES, which the image build writes from the installed packages.
  • An IPM install puts the same Python packages, at the same versions, into the instance’s mgr/python folder, each with its licence files.
Last checked by moderator
11 Nov, 2026, Works
Checked on IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2026.3.0AI (Build 154U) Thu Sep 24 2026 10:04:49 EDT [Health:11.6.0+snapshot]
Made with
Install
zpm install ocutalon download archive
Version
1.0.1318 Nov, 2026
Ideas to the app
Category
AI Agents
Works with
InterSystems IRISInterSystems IRIS for Health
First published
04 Nov, 2026
Last edited
18 Nov, 2026