01Chapter 1: Why the model forgets: stateless APIsThis chapter assumes basic Python, including functions, lists, dictionaries, and exceptions. You should also be comfortable running a program in a terminal and understand that a chat API accepts messages and returns a reply.1 min read
02Chapter 2: Isolating the model call behind one functionAssume you know Python functions, lists, dictionaries, exceptions, and how a chat API accepts role-tagged messages. A model API is usually stateless: it does not remember an earlier request unless your program sends the earlier messages again.1 min read
03Chapter 3: Adding slash commandsAssume you know Python functions, lists, dictionaries, exceptions, and the earlier loop that sends a complete message history to a model. This chapter adds operational features without changing the history model.2 min read