Features

Every feature is in service of clinical judgment.

Psygil is opinionated. It makes the right thing easy and the wrong thing impossible. AI organizes evidence. The clinician makes every decision the law cares about.

The gate

Decision gates stop the AI from diagnosing

The Diagnostician agent reads everything the clinician has gathered and proposes an evidence map. For every diagnosis it considers relevant, it shows the DSM-5-TR criteria, the ICD-10 code, and the supporting quotes pulled from the case file.

The agent does not diagnose. The clinician renders, defers, or rejects. The clinician can add diagnoses the agent missed. The clinician can override the agent on every line. Reasoning is captured in a clinical notes field, timestamped, signed, and written to the audit log.

The Writer agent refuses to run until at least one diagnosis has been rendered. There is no skip. There is no AI-only path. The doctor diagnoses, or the report does not exist.

Evidence Map, Diagnostician
Major Depressive Disorder, single episode F32.1 RENDER DEFER REJECT
Generalized Anxiety Disorder F41.1 RENDER DEFER REJECT
Adjustment Disorder with anxiety F43.22 RENDER DEFER REJECT
Clinical decision required to proceed. Writer agent is blocked.
Structured intake

The case begins where a real evaluation begins

A structured intake opens the moment a new case is created. Identity. Insurance. Court information. Charges. Referral question. Legal history. Family history. Medical history. Substance use. Presenting complaints. Recent events.

The clinician fills it in, not the AI. Psygil never guesses at facts the clinician has not entered. Every field is typed, every entry is timestamped, and every value is discoverable by the downstream agents and the eventual reviewer.

New Case | Intake
Last nameDoe First nameJane Date of birth1987-03-12 Referral sourceCook County Public Defender Referral questionCompetency to stand trial Charges720 ILCS 5/12-3.2
Clinician input, entered manually
Testing

The clinician picks the tests. The clinician scores the tests

Psygil tracks every instrument administered, who scored it, when, and the result. For competency, that might mean the ECST-R and the MacCAT-CA. For risk, the HCR-20 or the Static-99R.

The AI does not pick the tests. The AI does not score the tests. The Ingestor agent reads referral letters, prior evaluations, medical records, and police reports, and produces a structured summary the clinician reviews before testing begins. From there, the decisions are the clinician's.

Test Battery
ECST-RAdministered 2026-03-12 MacCAT-CAAdministered 2026-03-12 MMPI-2-RFAdministered 2026-03-14 PAIAdministered 2026-03-14
Scoring by clinician. Results saved to audit log.
Interviews

Psygil does not sit in. Psygil keeps the record

Psygil does not record audio. The clinician meets the defendant face to face, then enters structured mental status observations, behavioral notes, the defendant's account, and responses to competency or insanity questioning.

Every observation lives in one place. Every quote is tied back to the date and context it was recorded. When opposing counsel issues a discovery request, the clinician can produce the underlying record in minutes, not days.

MSE | Interview 1
AppearanceAppropriate grooming BehaviorCooperative, calm SpeechNormal rate, volume, prosody Mood"Tired, worried" AffectCongruent, full range Thought processLinear, goal-directed
Every field discoverable. Every quote timestamped.
Reports

Writer drafts. Editor checks. Clinician signs

With the clinical decisions made, the Writer agent drafts the report. It pulls language from the clinician's intake, the structured interview notes, the test results, and only the diagnoses the clinician has personally rendered.

The Editor agent reviews the draft for internal consistency, tone, and citation accuracy. The clinician reviews, edits language they disagree with, and attests. Attestation is a cryptographically signed, timestamped event tied to the clinician's identity. The report is locked. The audit log records every change from intake to signature.

Attestation
Clinician: Dr. M. Reed, Ph.D.
License: IL-072-45XXX
Report hash: sha256:7a9b4c1e...
Signed at: 2026-04-14T09:17:33Z
Cryptographically attested. Audit log immutable after close.
Privacy and PII

Names never leave the laptop

Psygil runs Microsoft Presidio and a spaCy NER model locally in a sidecar process. PII detection, redaction, and rehydration all happen on the clinician's machine. Names, addresses, phone numbers, and identifiers are never sent to a remote service for detection.

When the AI agents run against remote model providers, Psygil redacts first and rehydrates on the clinician's side. The upstream model sees tokens, not patients.

PII Redaction
Source
Jane Doe, DOB 1987-03-12, 415-555-0143, lives at 24 Elm St.
Sent to model
[PERSON_1], DOB [DATE_1], [PHONE_1], lives at [ADDRESS_1].
Microsoft Presidio + spaCy, running locally. Offline capable.
Discoverability

Every decision, reproducible on demand

Every field entered, every test scored, every record ingested, every agent run, every diagnosis rendered, every draft revision, and every signature is written to an append-only audit log.

When a case ends up in court, the clinician can export a testimony package that includes the intake, test raw scores, interview notes, source documents, agent outputs, clinical decisions with rationale, report revisions, and cryptographic hashes for every file involved. Cross-examination becomes a matter of reading the record, not reconstructing it.

Testimony Package
intake.pdf  ·  sha256:a1b2... test_scores_ECST-R.pdf  ·  sha256:c3d4... interview_notes_01.pdf  ·  sha256:e5f6... evidence_map.json  ·  sha256:7890... report_v3_signed.pdf  ·  sha256:1234... audit_log.ndjson  ·  sha256:5678...
One zip. Every record. Every decision. Every signature.

Watch a full evaluation run in three minutes

The demo walks through every stage from referral to attested report. The gate is visible. The decisions are visible. The chain of evidence is visible.