MiniCTRMSearch

MiniCTRM - Build Tutorial 654: An assistant on the desk: plain language in, the system's answer out

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

An assistant of the firm's own beside the system - a page and a small server that answers plain-language questions through the MCP server as the signed-in person, showing every tool call and holding every write behind a Confirm button the model cannot press - with grounded answers measured by an evaluation set, a budget of calls, seconds and tokens per question, token limits and a privacy page, a kill switch, a users' guide, an /assistant-eval skill and the rules in CLAUDE.md.

  • The tool and the loop – Three ways an AI meets a desk; a model, its API and the loop from zero; how to ask Claude for one; the build.
  • Grounded answers – A system prompt that says what the assistant is and may never do, an evaluation set, and a test that fails a number from nowhere.
  • Writes behind Confirm – The model may rehearse; only a person confirms, on a button the model cannot press, with the idempotency key and the log.
  • Fast and cheap – Why an assistant gets slow, and the rules that keep it fast: direct tools, a small cached tool list, caching, playbooks, budgets a test measures.
  • Cost, privacy and keeping it honest – Token budgets, what leaves the firm, a kill switch; a users' guide, an /assistant-eval skill and the rules in CLAUDE.md; then /ship.
  • How MiniCTRM did it – Ask Help, the docs-only helper on a local model, and the MCP route beside it: two things on purpose.

Before you start

The lessons this one builds on: 633 Security: sign-in, privileges on every endpoint, audit, secrets, 653 An MCP server for your system: the desk's questions and actions as tools.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

An assistant you build

1 / 17
An assistant you build
The tool and the loop

Three ways an AI meets a desk

2 / 17
Three ways an AI meets a desk
The tool and the loop

A model, its API, and the loop

3 / 17
A model, its API, and the loop
The tool and the loop

How to ask Claude for one

4 / 17
How to ask Claude for one
The tool and the loop

The tool and the loop

5 / 17
The tool and the loop
Grounded answers

Only from what the tools returned

6 / 17
Only from what the tools returned
Grounded answers

Grounding and the evaluation set

7 / 17
Grounding and the evaluation set
Writes behind Confirm

The model rehearses; a person confirms

8 / 17
The model rehearses; a person confirms
Writes behind Confirm

Writes behind Confirm

9 / 17
Writes behind Confirm
Fast and cheap

Why an assistant gets slow

10 / 17
Why an assistant gets slow
Fast and cheap

Fast and cheap

11 / 17
Fast and cheap
Cost, privacy and keeping it honest

Cost, privacy, a kill switch, and honesty

12 / 17
Cost, privacy, a kill switch, and honesty
Cost, privacy and keeping it honest

Cost, privacy and the users' guide

13 / 17
Cost, privacy and the users' guide
Cost, privacy and keeping it honest

Ship it

14 / 17
Ship it
How MiniCTRM did it

Ask Help, as it is

15 / 17
Ask Help, as it is
How MiniCTRM did it

Your system and MiniCTRM, side by side

16 / 17
Your system and MiniCTRM, side by side
What you have now

What you have now

17 / 17
What you have now

You have finished lesson 654, An assistant on the desk: plain language in, the system's answer out.

Where next?

← → move · N notes · Home / End