AIMAgentic Intent Model

Diary

PublicRecords & decisions

My journal, and what an assistant may do with it.

A diary written in AIM 7: the shapes and the rules in one intent, the people and the journal in two Entries files. The starter entries are fictional. The reader runs locally with Python 3.9 or later and no dependencies.

Who
Diarist
Rules
4

What must hold

The rules of this model, in its own words, and the step that keeps each one.

Requirements traceability

1 / 4 satisfied (25%)
  • MY-WORDSWhat I wrote in an entry is never changed. A correction is a new entry that links to the earlier one.No declared satisfier
  • MARKEDWhatever an assistant adds to an entry stays marked as proposed until I confirm it.No declared satisfier
  • CITEDEvery answer drawn from the diary names the entries it used and says nothing they do not hold.✓ Output:WeeklyReflection
  • MINENobody reads the diary but me and the assistants I name.No declared satisfier

Use it with your agent

Connect AIM to the agent you already use, then ask it to start your own version:

Read the AIM context "Diary" at https://intentmodel.org/registry/reference/diary/ and start our own version of it for our team.

Add AIM to your agent, freeor run your own server

Browse the model

For developers: packages, files and how to check them

AIM Core only

About this example

  1. To add a person, open People and append a block like this.

    ## Person: Sam
    
    - name: "Sam Lee"
  2. Open the Journal and add an entry underneath the starter entries. Its ID is its date. Each link names the target by its ID in square brackets.

    ## DiaryEntry: 2026-11-29
    
    - date: 2026-11-29
    - mood: [Calm](aim:diary#Record:Mood[calm])
    - mentions:
      - [Anna](aim:diary#Record:Person[Anna])
      - [Sam](aim:diary#Record:Person[Sam])
    - followsUpOn: [28 November](aim:diary#Record:DiaryEntry[2026-11-28])
    
    ### Text: body
    
    I looked up trains and sent Anna and Sam the times.
  3. Run the reader from this folder. entry follows an entry's links and shows what follows up on it. person shows where someone is mentioned.

    python3 diary.py check
    python3 diary.py entry 2026-11-28
    python3 diary.py person Anna

A line that an assistant added ends in — from: proposed by <name>, <date> until the diarist confirms it. The reader shows that mark on the link and on its backlink. --confirmed leaves out everything that is still a suggestion:

python3 diary.py --confirmed person Anna

The text of an entry can have several paragraphs, lists, and headings at level four or deeper. mentions, followsUpOn and mood are optional. The intent defines the fields, the rules between the diarist and an assistant, and the fixed moods calm and restless.

The reader checks the files as written: the key each Record names in its Schema, typed entry headings, list and document files, links to entries and to fixed rows, and origin marks. It does not write. Confirming a line, refusing a change to an immutable field and making the weekly reflection are not part of it, and it does not read a language on a text heading, anchors or links into other models.