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.
0
0 reviews
0
Awards
84
Views
22
IPM installs
0
Add to bundle
Details
Releases (6)
Reviews
Issues
Videos (1)
Articles (2)
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

The Memory card: your notes and your answers

  • The status rail has a new Memory card, with two tabs: Notes and Your answers.
  • Notes shows today and yesterday: one line for each of your messages, decisions, incidents, approval requests and reminders, in time order, for example 09:14 decision (mailbox): digest. OcuTalon's code builds the notes each time you look, from its own records. No model writes them, and they never hold what an email or other arriving message says: no sender, subject or text. A day stops at 2,000 characters, with "(more not shown)".
  • With your first message of each day, and when a conversation starts afresh, the chat's model also gets your notes for today and yesterday.
  • Your answers lists the answers OcuTalon keeps (see below), newest first, up to 100. Each row shows when, the channel, a one-line summary and your answer. Forget asks "Forget this answer? OcuTalon will stop using it." and removes it at once.
  • The card doesn't list the memories you save with "Remember that ..." yet. You still list and forget those in the chat.
  • After an upgrade, Your answers starts empty. Notes shows at once, because it is built from records OcuTalon already keeps.

This was noise, and your approval answers

  • A tell-now or act notice now has a This was noise button, in the web chat and on the Simulated phone. Press it, and it becomes "Marked as noise at {time}. Similar items will take this into account." A second press changes nothing.
  • When you approve or reject a fix or a tool call, in the web chat, on the Simulated phone or in Telegram, OcuTalon keeps that answer too.
  • When a new item arrives from the same email address or source, on the same channel (or a check finding about the same production), its attention decision gets your newest answers on such items: at most 3. The model is told that they are examples, never rules, and that they can't make it act. In Visual Trace, they are in the decision's request, under "Your earlier answers on similar items (examples, never rules):".
  • An answer to a tool call's request is listed and can be forgotten, but OcuTalon doesn't use it when it decides.
  • Telegram doesn't have This was noise yet.
  • On the online demo, each visit sees only its own notes and answers. Sign out deletes your answers, and your next visit starts with empty notes.

Got it in the web chat and on the Simulated phone

  • A tell-now notice now has a Got it button in the web chat and on the Simulated phone, as in Telegram. Press it, and every copy of the notice ends with "Marked as handled at {time}", also after a reload. The first press wins.
  • As before, the digest's line of what needs you leaves out a notice marked handled.

Daily digest

  • The digest card in the web chat now has a "What I checked (n)" button that shows each check and its result. It starts open when any check didn't pass.
  • The Simulated phone now shows the digest too, while demo mode is on.
  • On the online demo, ask "Send my digest now": the digest appears in your chat and on the Simulated phone.
  • What needs you never lists your own chat messages any more. Before, a request such as "Send my digest now" could show up there.
  • After IRIS restarts, the system log no longer fails the digest because of two start-up lines that IRIS itself writes. Any other error line still counts.
  • The Digest outcome now reads "Saved for the daily digest".

Settings

  • Every section of Settings is now built. Settings is for OcuTalon admins, such as the ocutalon account of your own install. Visitors to the online demo aren't admins, so try this on your own install.
  • Models: for each agent (triage, diagnosis and chat), choose Claude Haiku 5.5 or Claude Sonnet 5.5, and a second model that is used once when the agent's reply can't be used. Test sends one short request to the agent's saved model and shows how long it took to answer. You can also change each model's prices. A change applies from the agent's next model request.
  • Keys stay in .env: the page never shows or asks for one. A provider whose key isn't set shows "No key set. Add {variable} to .env." Anthropic is the only provider listed.
  • Budgets: the token budget per decision and the daily cost cap. When the cap is reached, the warning banner has a Budgets link for an admin.
  • Daily digest: when it is sent, and where: the web chat, the Simulated phone (while demo mode is on) and Telegram (while it is on). Send my digest now sends one at once.
  • Time zone: the zone of message times, reminders, the digest and the current time the model gets. Times on the page stay in your browser's zone.
  • Channels: whether Telegram is on, paused or not set up. There is nothing to save here.
  • A save shows "Saved. Applies within a minute. Recorded in the audit log." No restart is needed.

Fixes

  • After an incident is resolved, reopened or dismissed, OcuTalon checks that production again at once. The Background checks list and the answer to "Is anything wrong right now?" agree with the incident within seconds, instead of up to a minute later. Try it on the online demo: approve the guide's fix and watch Background checks.
  • An install or start could fail, saying an item didn't run, when that item was turned off by its default setting, such as the Telegram service on an install with no bot. The start's check now leaves such an item out.
  • If IRIS stops while an approved call is running, OcuTalon now closes that call as interrupted when IRIS starts again, and never runs it a second time. Before, it could stay in progress for good.
  • When an approved call can't run, the decision now says why in plain words: "No model key is set, so the approved call did not run. Nothing was changed." or "The model provider could not be reached, so the approved call did not run. Nothing was changed."
  • The list of productions OcuTalon can watch now says whether each one is running, so the chat can tell you.

Data kept

  • The nightly purge (03:00, 90 days by default) now also deletes chat turns and channel deliveries older than that, and a session with nothing newer. A session that is signed in, paired with Telegram, or has a watch, a pending reminder or an open approval request is kept, and so is one that holds a memory or a document. The purge never deletes memories, documents or IRIS audit log entries.
  • Your answers and Got it marks older than 90 days are purged the same way.

Docs and install

  • The README has a section for judges, with where to look for each criterion, a "New since 1.0.0" list with where to try each item on the online demo, and a contest checklist. Its Measured table now shows release 1.0.4's evaluation, and it says what changes without the agent: fixed rules alone get 6 of the 24 routine items right and give no incident a cause or a fix.
  • The security overview says that daily notes and your earlier answers go to the model provider inside requests.
  • The evaluation set has three new cases for your answers: the same email with no answers and with three This was noise answers from that sender, and an answer whose summary tries to give the model an instruction. They have their own score in the report, with no target yet.
  • ./install.sh, the Docker image's build and the Python packages OcuTalon installs are unchanged since 1.0.4.

Requires the InterSystems IRIS for Health AI Hub Early Access image, build 154 or build 109. Upgrading from 1.0.4 keeps your conversations, reminders, watches, approval requests, settings, memories, documents and Telegram pairing. The online demo runs 1.0.5.

OcuTalon

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 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: 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: attention decisions, diagnosis and chat (Production.cls). OcuTalon’s own outbound adapter extends AI Hub’s agent adapter and adds a gate that checks every tool call before it runs (Agent.cls). Approvals are Workflow tasks, 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 300 test classes with over 3,000 tests, and over 70 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 in about two minutes, and its More to try panel has seven more things to try (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.

New since 1.0.0

Each item says where to try it on the online demo. Visual Trace there is shared, so save and add nothing personal.

  • Memory. Say “Remember that …” in the chat, and it answers later questions from what it remembered. “What do you remember?” lists your memories, and you can tell it to forget one. The vectors are computed on your instance by FastEmbed in Embedded Python, and a search combines IRIS vector search with a keyword index. Try it: More to try, Ask it to remember something.
  • Answers from your own documents. Add Markdown, plain-text, PDF or Word (.docx) files on the Documents page, then ask about them in the chat. The answer names the document and section it used, or says “None of your documents cover that.” Try it: More to try, Ask about a document.
  • A daily digest. On your own install, OcuTalon sends a digest each morning, by default at 08:00 to the web chat, and to Telegram when it is paired: how IRIS is doing, a Passed, Failed or Not checked line for each watched production, what needs you, and yesterday’s cost. The checks and the verdict come from OcuTalon’s code, not the model. Try it on the online demo: ask “Send my digest now”.
  • Personas. In the Persona card, choose how OcuTalon talks: Professional, Starship computer, Pirate, Kind friend, Another language, or Your own words (on your own install). A persona changes the wording, never what OcuTalon may do. Try it: More to try, Change how OcuTalon talks.
  • A heartbeat checklist. Write what to check in the Heartbeat checklist card, and OcuTalon looks at it on your schedule, from every 30 minutes to every 24 hours. Each check-in makes one attention decision, and the card shows its cost. Try it: More to try, Run a heartbeat check-in.
  • A dry run that checks good messages. Before it offers to repair and resend, OcuTalon tries the repair on up to 20 of the newest messages from the same source that went through, and offers no fix if any of them would change. Try it: after the guide’s incident, More to try, Reject a fix, then read the approval request on the Simulated phone.

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.

Measured

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

What was measured Result
Incidents diagnosed with the right cause and fix 11 of 11 (target: 9)
Routine attention decisions right 21 of 24 (target: 22)
The demo’s incident diagnosed with the right fix, on a live model 30 of 30 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.0003 at most
Cost of diagnosing 50 failed orders $0.0007 to $0.0012
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.

Two things to look at in the demo:

  • It works from real failures. The broken partner feed sends real orders that fail in the Orders production; OcuTalon reads the failed messages and groups them by cause into one incident.
  • 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.

What you can use it for

  • The partner feed that breaks at 2am. A trading partner changes a date format, and 50 orders fail. Instead of 50 alerts, you get one notice: the cause in plain English, the fix, and a dry run that shows what it would resend. Nothing is resent until you approve, and then OcuTalon reports how many orders went through. Break the feed in the online demo plays this out in two minutes. On your own install you can also approve it in Telegram on your phone, without a laptop or the Management Portal (how to set up Telegram).
  • “Only tell me if something needs me.” Ask OcuTalon in plain words to watch a production, and it stays quiet until something needs you. Failures with one cause become one incident, not a flood, and when you ask whether everything is fine, it never gives a false all-clear. It also tells you once when a production stops or one of its items is disabled.
  • An AI decision step you can audit, in your own production.

How you talk to it

The web chat page is OcuTalon on every install. Demo mode adds four parts to it for trying OcuTalon out: the demo guide, Break the feed, the Simulated phone and the Simulated mailbox.

Part What you do there Where you have it
The web chat page Chat with OcuTalon, answer its approval requests, and follow its decisions, background checks and reminders as they happen Every install
The demo guide and Break the feed Follow one incident in about two minutes: Break the feed makes a simulated partner’s orders fail for real Demo mode
The Simulated phone and the Simulated mailbox See OcuTalon’s notices, reminders and approval requests on a phone simulated on the page, and simulate an incoming email to see what OcuTalon decides Demo mode
Telegram Chat with OcuTalon and answer its approval requests on your phone, on your own install with your own bot token (how to set up Telegram) Your own install

Demo mode is on in the online demo, and on the Docker install until an admin switches it off (Demo mode). Email comes in a later release.

In demo mode, the Demo view switch in the header hides those four parts. With it off, you see what the page has on your own install:

The online demo’s page with Demo view off: the chat, approval requests, background checks and recent decisions that the page has on your own install, with no demo guide and no simulated devices.

What OcuTalon does

OcuTalon is a personal assistant that runs inside InterSystems IRIS. For every item that reaches it, OcuTalon makes one attention decision. The decision has one of four outcomes:

  • Ignore: Recorded; nobody notified.
  • Digest: Saved for the daily digest.
  • Tell now: Needs you now.
  • Act: OcuTalon took or requested an action.

Each decision shows its reasons, its confidence and its cost.

  • Chat on a live page. You talk to OcuTalon in a web page that updates as things happen. A reply shows its decision and a link that opens it in Visual Trace.

  • Break the feed. In demo mode the page has a Break the feed button. It makes a simulated partner send 50 orders in a changed date format into the Orders production, where they fail for real. OcuTalon groups the failures into one incident, explains the cause in plain English and proposes a fix with a dry run: how many orders it would resend, with an example. Nothing is resent until you press Approve in the chat or on the page’s Simulated phone. Reject leaves everything as it was. After an approval, OcuTalon reports how many orders went through.

    An incident card: the partner changed the order date format, so 50 orders failed; OcuTalon shows the fix’s dry run and waits for Approve or Reject.

    The same incident resolved: approved from the web chat, all 50 orders went through, and the approval is recorded in the IRIS audit log.

  • Watching a production. Ask in plain words, for example “Watch the Orders production and only tell me if something needs me.” To stop, say “Stop watching Orders.”

  • Reminders. Ask in plain words, for example “Remind me in 1 minute to stretch.” A reminder arrives on time, survives a restart, and can be listed and cancelled in the chat.

What changes without the agent? Worked out from the expected answers of the recorded https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation set (https://github.com/jbrandtmse/OcuTalon/blob/main/eval), not from a run: fixed rules decide Tell now for every item, which is the expected answer for only 6 of the 24 routine items, and they give none of the 11 incidents a cause or a fix. With Claude Haiku 5.5, release 1.0.4’s https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation got 21 of 24 and 11 of 11 right (Measured).

With a model, and without one. OcuTalon uses Claude Haiku 5.5 by default. With no model key, or when the model can’t give a usable answer, it falls back to fixed rules and says so on the page and in Visual Trace.

With a model With fixed rules only
An item arrives It decides Ignore, Digest, Tell now or Act, and says why Tell now, marked as a fallback with the reason
50 orders fail One incident, with the cause in plain English, the part at fault, and a fix with a dry run Grouped by item and error, with no cause and no fix
You ask in the chat It answers, watches a production or sets a reminder It says it couldn’t answer, and why

Install it yourself

What you need

macOS and Linux are what OcuTalon’s author and its automated tests use. On Windows, work in a WSL 2 shell; the automated tests do not cover that.

Get the image

OcuTalon 1.0.0 is built and tested on IRIS for Health AI Hub Early Access build 154 (irishealth-community:2026.3.0AI.154.0). The InterSystems Early Access Program portal now offers build 109 (irishealth-community:2027.1.0AI.109.0) in its place: https://https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation.intersystems.com/Eval/early-access/AIHub

OcuTalon also runs on build 109: at release 1.0.0 its install, production and test checks and the demo guide passed on it, and ./install.sh accepts either build.

Choose the file that ends in docker.tar.gz for your CPU: arm64 for Apple silicon and ARM Linux, x64 for Intel or AMD. docker info --format '{{.Architecture}}' tells which one Docker runs: aarch64 for arm64, x86_64 for x64.

Then load it:

docker load -i <the archive file>

Start it with the install script

git clone https://github.com/jbrandtmse/OcuTalon.git
cd OcuTalon
./install.sh

The script checks that Docker and Docker Compose work and that a build 154 or build 109 image for your CPU is loaded; when both are, it uses build 154. It gives the image the name OcuTalon builds from, creates .env from .env.example when there is none, and starts OcuTalon with docker compose up -d. It shows a progress line every 10 seconds, waits up to 15 minutes, and prints the address and the sign-in details. When a check fails, it says what is wrong and the exact fix, and changes nothing.

When OcuTalon is ready, it prints:

OcuTalon is ready after <time>.

Open: http://localhost:52773/ocutalon/ User: ocutalon Password: ocutalon

Start it by hand

Without the script, give the loaded image the name OcuTalon builds from, then start it. docker load printed the loaded image’s name; for the IRIS for Health archive of build 154 it is docker.iscinternal.com/docker-intersystems/intersystems/irishealth-community:2026.3.0AI.154.0, and for build 109 it is docker.iscinternal.com/docker-intersystems/intersystems/irishealth-community:2027.1.0AI.109.0. The name is ocutalon-iris-base:2026.3.0AI.154.0 for both builds.

docker tag <the name docker load printed> ocutalon-iris-base:2026.3.0AI.154.0
cp .env.example .env
docker compose up -d

The cp step is optional: without .env, OcuTalon starts with no model key (Set a model key). Skip it when .env already exists, because cp would replace that file and the key in it.

The IRIS (non-Health) image

OcuTalon also runs on the plain IRIS AI Hub build 154 image (iris-community:2026.3.0AI.154.0). It differs from IRIS for Health only by the HealthShare libraries and the HSCUSTOM namespace. It is supported and verified on ARM64. OcuTalon’s automated tests use only the IRIS for Health image. Build 109’s plain IRIS image has not been tested, and ./install.sh does not use it.

./install.sh uses the plain IRIS image when no IRIS for Health image for your CPU is loaded. By hand, give it the same name, then start as above:

docker tag <the name docker load printed for the iris-community image> ocutalon-iris-base:2026.3.0AI.154.0
docker compose up -d

Check that it is ready

docker compose ps

OcuTalon is ready when the STATUS of the iris service ends in (healthy), for example Up About a minute (healthy). Then open http://localhost:52773/ocutalon/.

On an x64 Linux machine with 4 CPUs and 8 GB of memory, the whole install took about 8 minutes in two measurements: about 2 minutes to build the image, then about 6 minutes for the first start. The install script waits up to 15 minutes. A slower machine can take longer; run docker compose ps again to see.

Install it with IPM

To install OcuTalon into an IRIS instance you already run, use the InterSystems Package Manager (IPM) 0.10.10. These commands were run as written on fresh IRIS for Health instances of AI Hub build 154 and build 109. A fresh instance has no IPM in %SYS, so first open an IRIS terminal in %SYS and load IPM 0.10.10 from the community package registry:

s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/0.10.10/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

Its output is long and ends with Load finished successfully. If %SYS already has IPM 0.10.10, the line installs nothing new. Then, still in %SYS, enable IPM for USER and point it at the community package registry:

zpm "enable -map -ns USER"
zpm "enable -community"

enable -community first removes the package repositories that are already set up in %SYS, so note any you use before you run it.

Then open an IRIS terminal in USER, an Interoperability-enabled namespace, and run:

zpm "install ocutalon"

This first run ends early by design: it creates the namespace OCUTALON and stops with a line that says what to do next. Switch to OCUTALON and run the same command:

zn "OCUTALON"
zpm "install ocutalon"

This second run installs OcuTalon with demo mode off. Install OcuTalon with IPM shows the output of each command, and the install from the package folder, for developers.

The second run also downloads OcuTalon’s Python packages from PyPI (fastembed, pdfplumber and python-docx with their dependencies, about 250 MB once installed) and the embedding model from Hugging Face (about 90 MB), so the instance needs network access to pypi.org, files.pythonhosted.org, huggingface.co and its download hosts under hf.co (in our test installs us.aws.cdn.hf.co and cas-server.xethub.hf.co). In our test installs, the whole second run took about 1 to 1.5 minutes on an Apple silicon Mac and about 3 minutes on a shared x64 Linux build server. On the Mac, the downloads took about 20 seconds of that.

Set a model key

OcuTalon uses Anthropic’s Claude models. The default model is Claude Haiku 5.5.

Anthropic is the supported model provider: in Settings, an admin can choose Claude Haiku 5.5 or Claude Sonnet 5.5 for each agent. Each supported provider’s key comes from its own environment variable, which .env.example lists without a value; Anthropic’s is ANTHROPIC_API_KEY. A key is never entered on the settings page, and the page never shows one.

To give it a key:

  1. Create an API key at https://console.anthropic.com.
  2. Copy .env.example to .env (./install.sh already did). Git ignores .env, so the key is never committed.
  3. In .env, set ANTHROPIC_API_KEY=<your key>.
  4. Apply it: docker compose up -d --force-recreate. This is what the page means by “restart OcuTalon”.

Without a key, OcuTalon still starts. Every decision uses fixed rules, and the page shows a notice that says so.

Sign in

Open http://localhost:52773/ocutalon/ and sign in with the README account:

  • User name: ocutalon
  • Password: ocutalon

OcuTalon does not ask you to change the password when you first sign in.

Change the README account’s password after your first sign-in. OcuTalon publishes its web port on every network interface of your machine, so the IRIS Management Portal can be reached from your LAN until the passwords of the default IRIS accounts and of the README account are changed. How to change the README account’s password. The user name stays ocutalon. How to change the default IRIS accounts’ passwords.

Visual Trace. A trace link on the page opens the IRIS Management Portal in a new tab. The first time, the page shows “Sign in to Visual Trace”, and the portal may ask you to sign in with the same account, which holds the trace role.

Telegram

Telegram is optional, and these steps are for your own install. With a bot of your own, OcuTalon sends its notices, reminders and approval requests to your phone, and you can approve or reject a fix with the “Approve” and “Reject” buttons in the Telegram chat. Without a bot token, everything else works and the page shows “Telegram not set up”.

  1. In Telegram, open @BotFather, send /newbot and follow its steps. It gives you the bot’s token.
  2. Turn groups off for the bot: send /setjoingroups to @BotFather, choose your bot, then Disable. OcuTalon answers only private chats.
  3. In .env, set TELEGRAM_BOT_TOKEN=<your token>. Copy .env.example to .env first if there is no .env (./install.sh already did). Git ignores .env, so the token is never committed.
  4. Restart OcuTalon, from the OcuTalon folder: docker compose up -d --force-recreate.
  5. When docker compose ps shows the iris service (healthy) again, open http://localhost:52773/ocutalon/ and sign in if it asks. In the Status section (in a narrower window, open it with the Status button at the top of the page), the Telegram card shows a QR code. Scan it with your phone’s camera, then tap Start in Telegram. The card then shows “Telegram paired” with your Telegram name, and an “Unpair” button. If it still says “Telegram not set up”, check the token in .env and repeat step 4.

Each OcuTalon needs its own bot. If another process polls the same bot, OcuTalon pauses Telegram and tries again after 5 minutes.

Stop, start and update

  • Stop: docker compose down. Your data stays on a Docker volume. Do not add -v: that deletes the volume.
  • Start again: docker compose up -d.
  • Update: git pull, then docker compose up -d --build. Your data and the changed password stay.

Troubleshooting

These are the usual causes and fixes. Most entries are messages that ./install.sh prints when a check or the start fails; the last two are about the page.

“No IRIS build 154 or build 109 image is loaded in Docker”: download the archive for your CPU (Get the image), load it with docker load -i <the archive file>, then run ./install.sh.

“The IRIS build 154 or build 109 image that is loaded is for another CPU than this machine’s”: download and load the archive for your CPU. docker info --format '{{.Architecture}}' tells which one Docker runs. If the message says that ocutalon-iris-base:2026.3.0AI.154.0 exists but is for another CPU, point the name at the right image: docker tag <the loaded image's name> ocutalon-iris-base:2026.3.0AI.154.0.

“Docker is not installed (the docker command was not found)”: install Docker Desktop (macOS, or Windows with WSL 2) or Docker Engine (Linux), then run ./install.sh.

“Docker is installed, but it is not running, or this user cannot reach it”: start Docker Desktop. On Linux, run sudo systemctl start docker. If Docker is running, add your user to the docker group with sudo usermod -aG docker $USER, then log out and in again.

“Docker Compose is missing” or “Docker Compose … is too old”: install the Compose plugin, version 2.24 or later. It comes with Docker Desktop; on Linux, install the docker-compose-plugin package. The old docker-compose command (version 1) does not work with OcuTalon.

“Docker Compose could not start OcuTalon”: the messages above it say why. Most often the web port 52773 is taken. Set another port in .env with OCUTALON_WEB_PORT=<port>, run docker compose up -d, and open that port instead of 52773. To read the container’s log, run docker compose logs iris.

“OcuTalon stopped before it was ready”: run docker compose logs iris to read what happened.

“OcuTalon was not ready after 15 min …”: run docker compose logs iris. For what the start did, run docker compose exec iris cat /durable/ocutalon-after-start.log: the lines that begin with STEP name each install step, and a start that went well has a line that begins with RESULT OK. A slow machine can take longer than 15 minutes, so run docker compose ps again before you give up.

The page says “OcuTalon has no model key”: see Set a model key. Until you add one, every decision uses fixed rules.

The sign-in is refused: use user name ocutalon and password ocutalon, or the new password if you changed it. To set a new one, see Change the README account’s password.

For admins and developers

Demo mode

Demo mode is on for the Docker install. It adds the demo guide, the Simulated phone and mailbox, and Break the feed, and it runs the Orders production in the namespace OCUORDERS.

An admin switches it from a terminal in the OCUTALON namespace:

docker compose exec iris iris session IRIS -U OCUTALON

At the OCUTALON> prompt, run the line below with 1 to switch demo mode on or 0 to switch it off, then halt:

do ##class(OcuTalon.Core.Admin).SetDemoMode(<0 or 1>)

The line needs the OcuTalonAdmin role or %All. The container’s operating system login (irisowner) holds %All, so it works from that terminal. The answer is one plain-English line:

  • On: “Demo mode is on. The Orders production runs in namespace OCUORDERS. Reload the OcuTalon page in a minute to see the change.”
  • Off: “Demo mode is off. The Orders production is stopped and namespace OCUORDERS is removed. Reload the OcuTalon page in a minute to see the change.”

When OCUORDERS holds something OcuTalon did not create, switching demo mode off keeps the namespace, and the answer starts with “Demo mode is off.” and then says, with {what was kept} naming what OcuTalon found:

OcuTalon left the OCUORDERS namespace in place because it holds {what was kept}. To remove it, delete the namespace OCUORDERS and its databases OCUORDERS_CODE and OCUORDERS_DATA in the Management Portal.

A change takes up to a minute to show on the page.

Change the README account’s password

Open a terminal in the %SYS namespace:

docker compose exec iris iris session IRIS -U %SYS

At the %SYS> prompt, run the line below with your new password in place of <new password> (keep the quotation marks), then halt:

kill p set p("Password")="<new password>" write ##class(Security.Users).Modify("ocutalon",.p)

It prints 1 when the password was changed; if it prints anything else, the password was not changed. If your new password contains a double quotation mark, write it twice. Sign in again with the new password. The user name stays ocutalon.

Change the default IRIS accounts’ passwords

IRIS also comes with predefined accounts, among them SuperUser and _SYSTEM, which hold every right, and Admin. Change their passwords in the Management Portal: open http://localhost:52773/csp/sys/UtilHome.csp and sign in as SuperUser (its first sign-in asks for a new password).

Then open System Administration, then Security, then Users. For _SYSTEM, Admin and any other enabled account you don’t use, choose its name, select Enter new password, enter a new password in Password and Password (confirm), and press Save.

Leave CSPSystem, the web gateway’s account, and the accounts marked for internal use as they are.

Repository layout

  • src/ocutalon: OcuTalon’s classes: the production, its agents, the web service behind the page and the install steps.
  • src/bridge: the bridge, the part that calls the AI Hub agents, checks each tool call before it runs, handles the approval requests and writes the audit entries.
  • web: the web page (Angular) and its browser tests.
  • docker: the image’s files and the checks and live tests in docker/tests.
  • ci: the CI scripts and the model mock.
  • https://github.com/jbrandtmse/OcuTalon/blob/main/eval: the recorded https://github.com/jbrandtmse/OcuTalon/blob/main/evaluation set.

Tests and CI

bash ci/checks.sh runs the checks that need no container, among them the check of this README. The GitHub Actions workflow in https://github.com/jbrandtmse/OcuTalon/blob/main/.github/workflows/ci.yml runs them and the web build on pushes and pull requests, and the browser tests and the IRIS tests on pushes and on pull requests from this repository’s own branches.

Contest checklist

What OcuTalon 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
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.
Made with
Install
zpm install ocutalon download archive
Version
1.0.509 Nov, 2026
Category
AI Agents
Works with
InterSystems IRISInterSystems IRIS for Health
First published
04 Nov, 2026
Last edited
09 Nov, 2026