Agent capabilities · Underneath it all

Understand time.

Now, how far away, where you are, what the season does to your weeks, and how long a thing needs. No agent works a date out for themselves.

Every agent has this

What you get

Time is not one thing, and the agents handle each of the things it is.

NowThe current moment is put in front of every agent on every turn, already worked out. No agent has to remember to look.
How farEvery date arrives with its distance: “Monday 10 August (tomorrow)”, “valued 312 days ago”.
Where you are“Tonight” follows you to another time zone. Where your clock and London’s differ, both are said.
The booksThe tax year, a filing date, a renewal: read from the record and kept on London time.
The seasonA date comes with the run-up it needs. A birthday in early January is raised in early December.
How it feelsSummer that turns out to be a week. The agents hold the plain calendar beside the one in your head.

What they will not do

Work out a dateNo agent does date arithmetic. It is done once, in code.
Use time against you“You haven’t been here in four days” is never said. Felt time is not leverage.
Move a deadline because you travelledThe books stay on London time wherever you are.

How it is built

A language model has no clock. It also carries a wrong one: its sense of “now” is somewhere in its training data, and it drifts back there as a conversation goes on. So time cannot be something the model is good at. It has to be something the surroundings supply, on every turn, already worked out.

The second idea is that time is yours as well as the clock’s. Where you are, what season it is for you, and how long before a date you need to know about it are all kept as plain records the agents read.

Every turn

  1. Before every reply, the present is worked out afresh.

    The day, the date, today’s and tomorrow’s keys · buildResolvedNowAnchor

  2. It is placed last, after everything else the model is shown.

    So it is the most recent thing read

  3. Your time zone comes from your device, or from what you said.

    What you said wins while it holds; London is assumed, and said to be assumed, when there is nothing · resolveWhere

  4. Every date the model reads is written out with its distance.

    formatWhen

  5. A date in the model’s reply is turned into a moment by code.

    More than a year away is refused · resolveWhen

  6. Words like “tomorrow” in a reply are checked before you see it.

    Against the facts the reply was given

The dates that matter to you

  1. A date you care about is kept with how far ahead you need it.

    Ten days unless you say otherwise

  2. A season can move that.

    The run-up to Christmas, a school holiday

  3. It comes up inside its run-up, and not before.

    In conversation. No reminder is sent

The parts
aha-timeMy shared library. Every agent’s dates pass through it.
aha-agentMy shared loop, which re-states the present on every turn.
Time zonesThe standard names (Europe/London, America/Los_Angeles) the world’s software agrees on.
A checkA check fails if any agent’s prompt carries a bare date, or lags the library.
The words, in plain English
AnchorThe statement of “now” given to a model.
ResolveTo turn words about time into a moment.
Run-upHow long before a date you need to know about it.
The code
// "Monday 10 August 2026 (tomorrow)", "Sunday 3 August 2026 (6 days ago)" …
// the model never does date arithmetic; this is the arithmetic, done once, in code.
export function formatWhen(iso: string, now: () => Date = () => new Date(), zone = LONDON.zone): string {

Every date an agent reads has passed through this first. aha-time/src/now.ts, trimmed

What is not finished

A zone not sentA place that does not report your time zone is treated as London, and a check names each one that still does not.
DistancesHours are given only within two days. Beyond that, days.

Learning from the lived experience

Time is notoriously difficult for agents. A language model has no sense of it: time is not in the model, and has to live in what surrounds the model. It is also a slippery human idea, a clock, a distance, a season and a feeling at once. Building what lets my agents understand it has been the most complicated part of this work, and it went wrong more than once on the way.

One afternoon in September, Vincent told me five times that I flew on Thursday the 18th and had five days in hand. The flight was the next morning, Monday the 14th, and the 18th was a Friday. A mail saying “next week” had been turned into a date by a model, and a weekday had been added by another.

Because of that, no agent works out a date. The present is put in front of every agent on every turn, every date arrives already written out with how far away it is, and turning “next week” into a date happens once, in code. How it is built, above, sets out the parts. “You leave Thursday 18 September.” is the account of that afternoon, One in the morning in San Francisco is the day the clock had to move with me, and Time is the hardest thing is the long version.

NextStay quiet, to be attentive

One interruption a day between them, at most.

Stay quiet, to be attentive
All of themAgent capabilities

Every ability, and who has it.

The agents
Your dataWho holds what

What is held, for how long, and how to take it or delete it.

Privacy notice