Skip to main content

Agents extract, code checks, I decide

One rule runs through every automation. An agent may read, search and draft. A deterministic function then checks what it returns: exact quotations, lengths, writing rules, business rules. Nothing enters a register without that check, and nothing reaches a third party without my decision.

The rule comes from experience. An earlier watch, built in a note-taking tool, produced hundreds of rows and no decisions. A backtest showed that none of the items it ranked as priorities survived a second reading.

Schéma des cinq couches du système, de bas en haut : infrastructure, connaissance, production, automatisation et sorties, surmontées d'un unique point de décision humain.
The five layers of the system. Only one layer reaches other people, and only through my decision.

Scroll the diagram sideways to see all of it.

Each layer has one role and one boundary

Infrastructure

A workstation, the home lab described on this site, private Git repositories, and mail and calendar services. This layer stores and runs.

Knowledge

A bilingual second brain, notes linked by typed relations, a controlled vocabulary, the agents' memory and their standing instructions. This layer holds the thinking, the decisions and the meaning of words.

Production

The folders where deliverables are made, each with its own conventions and version log. No version is deleted: earlier ones move to an archive.

Automation

Scheduled tasks, agent skills loaded before each kind of work, model routing by type of task, and a watch radar. This layer moves information between the others.

Outputs

Email drafts, files, articles, pages of this site. It is the only layer that reaches other people, and nothing enters it without my decision.

A second brain and a vocabulary that does not drift

The second brain is a bilingual Obsidian vault, organised with the PARA method: projects, areas, resources, archives. Each note carries a small set of properties with closed values, and five typed relations draw the graph: feeds, depends on, published on, hosted by, involves. The vault links to deliverables and never copies them.

The vocabulary of the governance frameworks lives in a separate repository, built on open standards: SKOS and ISO 25964 for the thesaurus, SHACL for validation. The source registers are versioned CSV files; a check refuses any build that breaks the rules, and only the concepts I have validated enter the published release. The vault follows this vocabulary and creates none of its own.

The agents' memory follows one rule: every fact has a single home, and everything else points to it. Identity facts and reference figures live in the agents' memory and their skills; procedures in the skills; dated events and decisions in the vault; the state of an editorial series in its production file. One copy too many becomes a second version that drifts, and an agent choosing between two versions of a fact eventually picks the wrong one. A periodic review finds duplicates and contradictions; I settle each case.

Five steps, always the same

Code prepares a bounded work file with its instructions and criteria. The agent does the open-ended work: search, extract, draft. Code checks what the agent returned and refuses what fails. Code writes the result to the register. I decide.

Schéma de la boucle d'agent en cinq étapes : préparation par le code, travail de l'agent, contrôle déterministe, inscription au registre, décision humaine, avec un retour vers l'agent en cas d'échec du contrôle.
The pattern shared by every loop. A failed check sends the work back to the agent, three times at most.

Scroll the diagram sideways to see all of it.

Three loops follow this pattern. Qualification tests incoming information against written criteria: each criterion requires an exact quotation from the source text, and code checks that the quotation appears there word for word. Drafting produces correspondence in my register; a check refuses empty phrases, lengths out of bounds and banned constructions. Production assembles a file from canonical documents; a check verifies the layout and the reference figures.

Public, free and deterministic sources

The radar follows a set of companies and picks up the signals that announce a change: a senior executive arriving or leaving, an acquisition, a restructuring, a transformation programme. It queries public sources: the company register, legal notices, the regulated filings of listed companies and the specialist press.

Each new source adds noise as well as volume. Three safeguards keep it in check: a weight per source, which ranks the specialist press and official sources above aggregators; deduplication of one event reported under several headlines; classification on headline and summary. Each collector writes a health line, and two consecutive failures raise an alert.

Scheduled tasks, and models chosen by the work

Scheduled tasks open a fresh session every day, week or month, with no memory of earlier runs: the whole context sits in the instruction and in the files it names. A weekly review of the second brain proposes where notes should go; I move them myself.

Each unit of work goes to the cheapest model that clears its quality floor: simple lookups to the lightest, code and document builds to the middle tier, architecture and security to the most capable. Text signed with my name never goes below the middle tier, and every deliverable meant for a reader goes to a reviewer other than the one that produced it. Reading and drafting run in parallel; anything that changes the outside world stays sequential.

What the agents never do

"An agent prepares; a person commits."

No sending. Agents create drafts; I send every message myself.

No publishing. Agents build and check the package for this site; I deploy it.

No deletion. Files move to an archive, emails to the trash.

No vocabulary validation. A concept enters the published thesaurus only after my decision.

A personal system, with the limits of its scale

It serves one user. No production workload depends on it.

  • Some rules live in the instructions of scheduled tasks, outside version control: a change can drift from the code without anything flagging it.
  • Draft creation goes through the mail application's interface. A locked screen or an unresponsive application stops the loop.
  • Nothing yet measures the final outcome: replies, meetings, decisions. The system measures its activity; its effectiveness is not yet measured.
  • One person runs it, with no on-call cover.
  • No code enforces the one-home rule: only a periodic review does, so a fact copied elsewhere can drift until the next review. The assistant built into the vault also keeps its own memory, which it can add to on its own.

Comparing ways of working with agents

The system described here is private; its rules are open to discussion. To exchange, write to the author.

Write to the author