The Ann Arbor Architecture for Agent-Oriented Programming
Wei Dong
TL;DR
The paper addresses the limitations of current prompt engineering and task-centric agent frameworks by reframing language models as automata and proposing the Ann Arbor Architecture as a unifying, agent-oriented paradigm. It introduces Postline as a prototype platform that uses an email-like MBox memory to support persistent, multi-agent collaboration, memory management via Memory Segment Rewrite, and dynamic agent creation across realm servers. The work provides concrete implementations and experiments, including a shell-robot workflow, code generation and execution, and binary data handling, to demonstrate the feasibility of continuous, episodic learning and memory-driven agent evolution. The proposed framework aims to enable more autonomous, contextually aware agents capable of operating across tools and environments, with potential impact in scientific and industrial research by leveraging episodic memory and retrieval-augmented capabilities.
Abstract
In this paper, we reexamine prompt engineering for large language models through the lens of automata theory. We argue that language models function as automata and, like all automata, should be programmed in the languages they accept, a unified collection of all natural and formal languages. Therefore, traditional software engineering practices--conditioned on the clear separation of programming languages and natural languages--must be rethought. We introduce the Ann Arbor Architecture, a conceptual framework for agent-oriented programming of language models, as a higher-level abstraction over raw token generation, and provide a new perspective on in-context learning. Based on this framework, we present the design of our agent platform Postline, and report on our initial experiments in agent training.
