Slopfluencer

Notes › Products and projects › Product and growth

Clockwise Prism (Clockwise AI)

Prism was the AI calendar assistant of Clockwise, a company that made scheduling software for teams. A user typed a request such as "Clear my Monday morning" or "Reschedule my afternoon", and Prism worked out which meetings to move and proposed the changes.[5] In 2023 Clockwise described an earlier form of it, Clockwise AI, as a conversational calendar assistant. It launched under the Prism name on 27 August 2024, free to all Clockwise customers.[4][5]

It was for people and teams who lose time coordinating meetings, and Clockwise pitched it as giving everyone the benefits of an executive assistant.[6] The problem was turning loose, ambiguous language into safe changes to other people's calendars. Prism did it by having a language model translate each request into a short program in a domain-specific language, which Clockwise's existing scheduling engine then ran.[3][2] I worked on that language and the model that wrote it, with a team of backend engineers.[3]

The project is finished. Clockwise announced that its product would stop being available on 27 March 2026 and that its team was joining Salesforce.[7]

How I came to it

In June 2023 I left Noom, where I had moved from engineer to engineering manager on the growth team, and went back to being an individual contributor. I joined Clockwise's Growth team to work on projects like Clockwise AI.[1] Asked later why, I said I jumped at the chance because I thought Clockwise was a cool product.[3]

Timeline

  • Jun 2023: I join Clockwise's Growth team.[1]
  • Jul 2023: Clockwise's CEO describes Clockwise AI as a conversational calendar assistant that takes commands such as "clear the afternoon" and proposes changes for the user to approve.[4]
  • 27 Aug 2024: Prism launches, free to all customers.[5][6]
  • 5 Sep 2024: a Clockwise colleague publishes an interview with me on how we built the language.[3]
  • 4 Oct 2024: I write up what I learned about Task-oriented dialogue and semantic parsing systems.[2]
  • 27 Mar 2026: Clockwise's product is no longer available.[7]

How it worked

The first version classified a request with ten separate GPT-4 calls and fed the combined results to the scheduling engine. It took about 30 seconds, and up to 60, and the published account calls it costly, error-prone and slow.[3]

The fix came from research. Grammar Prompting, a 2023 paper on getting models to write domain-specific languages, suggested translating the user's intent into a plan that the scheduling engine could execute.[3][9] I developed that plan language, Clockwise Query Language (CQL). Models write code well because they train on so much of it, so a language for the engine's actions gave the model a target it could hit.[3]

No model had seen CQL, so the next version taught it in the prompt. It gave GPT-4 the language definition, what each property and action did, and examples of each in use. That replaced the ten calls with one and brought the average response to 8 to 10 seconds.[3]

The final version fine-tuned a small model. We tried GPT-4 Turbo, GPT-4o, Mistral 7B, Mistral Large and Claude 2, and settled on Llama 3 8B, Meta's open-weight model.[3] Fine-tuning needed thousands of examples of prompts and their CQL. I first wrote examples by hand, which did not scale, so I built a pipeline that took a few hundred seed prompts written by people inside the company, had a larger model generate many variations with their CQL, and validated the output.[3][2] The fine-tuned model turned a prompt into CQL in 0.97 seconds on average. It was trained only on this synthetic data, never on user data, and training and inference ran on Clockwise's own infrastructure.[3]

An interpreter ran each CQL program against Clockwise's existing APIs.[2] The language model interpreted the request, and Clockwise's own scheduling algorithms, not the model, worked out conflicts and good times.[6][5] Changes went to the user as proposals to approve before anything moved.[4][6]

How it went

Getting it stable was the hard part. It took me and a team of backend engineers a year to reach a working system that held up.[2] The work included the language, its interpreter, a clean dataset without invented keywords or syntax errors, training and tuning, serving the model on GPUs, and an eval set to check quality.[2]

We also tried having the model write Python instead of a custom language. Python would have needed a secure sandbox, the model kept trying to import packages, and the verbose syntax cost tokens and time.[2]

The speed gains were the clearest result, from about 30 seconds with ten GPT-4 calls to under one second with the fine-tuned model.[3] No accuracy figures were published.

Lessons

An executable intermediate language gave control and auditability. Output was limited to what the language could express, business logic stayed out of the prompt, and the plan could be shown to the user before anything ran. In 2024 I argued that a model should not make damaging changes to users' data without their explicit confirmation.[2]

A small model fine-tuned for one narrow job has much lower latency per token than a large general one.[2] By 2026 I described fine-tuning small models as an endless cycle of curating datasets and evals, chasing model releases and managing inference, as Adapting language models and Start with the eval describe.[8]

In 2024 I concluded that few teams use the design mainly because it is hard to build. Task-oriented dialogue and semantic parsing covers the research behind it and how it compares with the tool-calling loop of today's Agent harnesses.[2]

See also

Change log

  • 2026-12-03: First written, from my 2023 and 2024 posts, a public interview on building Prism, and Clockwise's public launch coverage and closing notice.

References

  1. ^ Moving onto a new chapter (post, Jun 2023)
  2. ^ Task Oriented Dialog Systems (post, Oct 2024)
  3. ^ Building Prism: How We Developed Our Domain-Specific Language (LinkedIn, Sep 2024)
  4. ^ Matt Martin, How AI Like Clockwise Can Make Executive Support Work More Strategic (Executive Support Magazine, Jul 2023)
  5. ^ Calendar tool Clockwise launches new AI-powered interface called Prism (TechCrunch, Aug 2024)
  6. ^ Clockwise Launches AI Calendar Prism to Offer Better-Than-Human Scheduling (press release, Aug 2024)
  7. ^ Clockwise, Our Next Chapter
  8. ^ Fine-tuning small models is a fast way to learn the bitter lesson (@trashpandaemoji, Oct 2026)
  9. ^ Wang et al., Grammar Prompting for Domain-Specific Language Generation with Large Language Models