Initial Release
Vision Article: IRIS Copilot Prototype - English (etc.) as IRIS Language
Human natural language-driven AI platform for InterSystems IRIS HealthConnect TIE implementation lifecycles.
This project is built for NHS Trust integration delivery: users describe clinical integration requirements in natural language, Copilot designs and generates IRIS artifacts, and deployment is executed only after explicit human approval.
IRIS Copilot should support full lifecycle delivery in one controlled workflow:
cls/AIAgent/*) for API, UI, engine, model, templates, installerbridge/*) for runner orchestration and AI provider adaptersdeploy/*) including XML export generator and import helperdocs/*)AIAgent.UI.Chat.clsAIAgent.API.DispatcherUse one of:
docs/DEPLOYMENT-GUIDE.mddeploy/DEPLOY-README.mdTypical terminal flow:
zn ""
do $system.OBJ.Load("\\deploy\\AIAgent-export-v34.xml", "ck")
The /ai REST web application is created automatically by
do ##class(AIAgent.Install.Installer).Run() after import. It is dispatched
via AIAgent.API.Dispatcher and serves all REST endpoints.
The Chat UI (AIAgent.UI.Chat.cls) is a CSP page served from the
namespace’s own CSP application, which IRIS creates automatically per
namespace. The exact path differs between IRIS HealthShare and vanilla IRIS:
| IRIS edition | Chat UI URL (substitute <ns> lowercased) |
|---|---|
| HealthShare | http://<iris-host>:52773/csp/healthshare/<ns>/AIAgent.UI.Chat.cls |
| Vanilla IRIS | http://<iris-host>:52773/csp/<ns>/AIAgent.UI.Chat.cls |
In Management Portal -> System Administration -> Security -> Applications -> Web Applications,
confirm both apps are present:
/ai (REST, dispatch class AIAgent.API.Dispatcher) - created by Installer/csp/healthshare/<ns>/ or /csp/<ns>/ (CSP, namespace default) - auto-created by IRISRecommended settings on /ai:
DEMO2_AI2)AIAgent.API.DispatcherGotcha: the namespace fragment in the CSP URL must be lowercase,
even if your namespace name is uppercase (e.g. DEMO2_AI2 -> demo2_ai2
in the URL).
cd bridge
npm install
npm run build
npm start
Configure keys and runner settings in:
bridge/.env (local)bridge/.env.example (template)Substitute your IRIS edition and lowercased namespace:
# IRIS HealthShare: http://:52773/csp/healthshare//AIAgent.UI.Chat.clsVanilla IRIS:
http://:52773/csp//AIAgent.UI.Chat.cls
(The /ai web app is REST-only; it does not serve the CSP Chat page.)
Health checks:
http://<iris-host>:52773/ai/healthhttp://localhost:3100/api/healthdocs/DEPLOYMENT-GUIDE.mddocs/USER-GUIDE.mddocs/DEMO-LIFECYCLE.mddocs/DESIGN.mddocs/TEST-CASES.mddocs/IMPLEMENTATION-PLAN.md.gitignore (.env, build artifacts, generated export XML)knowledge/tie-conventions.md document is a generic placeholder. DeployingCopyright (c) Lightweight Integration Limited. See https://github.com/zhongli1990/iris-copilot/blob/main/LICENSE for terms.
Enterprise licensing: Zhong@li-ai.co.uk