OpenMAIC — an AI tutor that cannot grade itself
OpenMAIC runs virtual classrooms where an AI tutor guides students through material, answers questions and proposes feedback. In the broken version of that architecture, the same tutor also holds a write credential for the gradebook.
That is a single prompt injection away from an agent grading its own work.
The risk: an agent with a gradebook credential
The risky action is small and boring, which is exactly why it is dangerous:
await truslay.evaluateAction({
intent: 'update_quiz_score',
payload: {
agent: 'openmaic-tutor',
student_id: 'STU-2291',
quiz_id: 'QZ-14',
score: 10,
},
});
A probabilistic filter sees a well-formed JSON body with a plausible score. A deterministic pipeline sees an agent trying to commit a grade to itself.
What Truslay does with it
The SDK intercepts the intent at Signal and evaluates it against the
policy graph at Lattice. The education shield at Shield recognizes the
actor-action pair: an AI tutor may propose a grade, never commit one. The
verdict is BLOCK, and Gate stops the tool call before it reaches the
gradebook.
{
auditId: "trl_8x9a…",
agent: "openmaic-tutor",
action: "update_quiz_score",
verdict: "BLOCK",
reason: "self_grading_detected",
escalatedTo: "[email protected]",
timestamp: "2026-11-26T15:42:00Z",
signature: "ed25519:…"
}
| Layer | What it contributes here |
|---|---|
| Signal | Normalizes the action, the agent identity and the gradebook payload. |
| Lattice | Applies the role policy: tutor agents propose, humans commit. |
| Shield | Education rules detect self-grading and return self_grading_detected. |
| Gate | Physically blocks the write, fail-closed. |
| Seal | Signs the decision so the block can be proven later. |
| Ledger | Appends the sealed decision to the local audit trail. |
| Anchor | Anchors the ledger root for immutable, third-party-verifiable audit. |
| Prism | Escalates the event to the professor's dashboard with full context. |
Human oversight is the feature
The block is not the end of the story. Prism routes the event to a human educator with the audit ID, timestamp, agent, attempted action and reason. The professor reviews the evidence, approves or rejects the correction, and that decision is signed and anchored too.
That is what human-in-the-loop means in practice: not a warning in a log file, but a blocked action, a named owner and a signed resolution.
See it running
The Truslay Academy reproduces this scenario end to end: the tutor chat, the five-layer diagnostic panel, the block, and the escalation module.