Lilian Weng's 2023 blueprint for an agent, and the file each part leaves behind
In June 2023, while at OpenAI, Lilian Weng published a long survey on her blog, Lil'Log, describing an LLM-powered agent as a brain (the model) plus three components: planning, memory and tool use. It's a widely cited early framework for what an agent is made of, and it's candid about where that framework still breaks.
What the post argues
Weng's overview sets the frame for the whole piece:
“In a LLM-powered autonomous agent system, LLM functions as the agent’s brain, complemented by several key components: Planning ... Memory ... Tool use”.
Planning, in her account, covers both breaking a task into subgoals and reflecting on past actions to improve future ones. Memory splits into short-term (context the model can currently see, which she calls in-context) and long-term (usually stored outside the model, in a separate searchable database she calls a vector store). Tool use lets the model call out for anything a frozen set of weights can't provide on its own — current information, code execution, other APIs. Near the end, in a section she titles “Challenges,” she names a limitation squarely:
“LLMs struggle to adjust plans when faced with unexpected errors, making them less robust compared to humans who learn from trial and error.”
Elsewhere, in a tool-use case study about a chemistry agent called ChemCrow, she flags a narrower problem: an LLM-based evaluation rated it about equal to GPT-4, while human experts judged ChemCrow far better on correctness. Her conclusion is about self-evaluation, not about her “reflection” component specifically:
“The lack of expertise may cause LLMs not knowing its flaws and thus cannot well judge the correctness of task results.”
Weng doesn't mention MarsDawn anywhere in this post, and doesn't recommend any Markdown tool.
Our reading, not Weng's
Weng is describing agent architecture in 2023, not writing about anyone reading agent output — she doesn't mention a person checking a file at all. But her own three components map onto three different things you might find yourself reading. Planning tends to leave you a document to read before it runs — the plan itself, sometimes with a “reflection” or self-review already folded in. Memory is usually invisible unless the agent keeps a running scratch file as its long-term store, in which case that file is worth opening on its own, since it can carry forward an old, wrong assumption across many later steps without saying so. Tool use tends to leave you a report of what ran and what came back — closer to a transcript than a plan.
Her point about plans not adjusting to unexpected errors is, read from your side, a reason a plan you approved yesterday can be stale today: if something the plan didn't anticipate happened between then and now, the agent may keep going anyway rather than replanning, and the report at the end can describe the original plan's success without describing the detour. That's our inference, not a claim she makes — she's writing about a model's own robustness, not about what a reader should watch for.
Where MarsDawn helps, and where it doesn't
MarsDawn has no AI model inside, so it can't tell you whether a plan has quietly drifted from what actually happened, and it doesn't distinguish a planning file from a memory file from a tool-use report — that's a read on the content, which is yours to make. What it does: the Outline tab (View ▸ Show Sidebar, ⌃⌘S) shows a long plan's shape at a glance, the source and rendered preview sit side by side (⌘2) with Mermaid and KaTeX drawn out, and if the agent rewrites the file mid-read, MarsDawn reloads it and keeps your place, as long as you have no unsaved edits of your own — useful specifically because a plan that's been silently revised is exactly the failure mode her “Challenges” section describes from the model's side.
Try it
MarsDawn is on the Mac App Store. The free marsdawn command-line tool works today:
brew install redtear1115/tap/marsdawn
It exports Markdown to PDF without the app.
Command Line · Know before you buy: What MarsDawn doesn't do
Next
- Which documents different agent design patterns tend to hand you: Four agent design patterns and the documents each one hands you
- The five-minute way to review a plan before it runs: Reviewing an agent plan in five minutes
- Back to the series: Editor's reading notes
Sources
- Lilian Weng, “LLM Powered Autonomous Agents,” Lil'Log, June 23, 2023: https://lilianweng.github.io/posts/2023-06-23-agent/ (fetched and quoted 2026-09-26; she was at OpenAI when she wrote it, described here only as she was then).