The Research Report
ACDL: The Missing Blueprint for Agent Prompts
You have built an LLM agent. It works. You want to tell another team how its prompt is structured. Not the wording — you know the wording changes constantly. The architecture. What information appears, in what order, at which step, under what conditions. How history accumulates. Where tool results land relative to reasoning traces. Whether system instructions repeat or persist.
You start writing. Two paragraphs in, you realize you are drowning in prose. You switch to a diagram. It kind of works, but nobody else draws diagrams the same way. You point them at your code. They do not want to read your code. You point them at your prompt templates. They cannot see the macro-structure for all the content.
This is the communication gap at the heart of context engineering. And a new language called ACDL — just accepted at the inaugural ACM Conference on AI and Agentic Systems — is the first serious attempt to close it.
What Is Context Engineering, and Why Does It Need a Language?
Most people who use ChatGPT or Claude think of prompting as a one-shot transaction. You type a question, the model answers. Done.
Agents do not work that way. An agent makes a sequence of LLM calls. Each call sends the model a combination of system instructions, user input, conversation history, tool descriptions, tool results, retrieved documents, internal state, and reasoning traces. This assembled input is the context. And it grows and reshapes itself with every step. New observations get appended. Old reasoning is retained or pruned. Tool descriptions appear once or repeat at every turn. System instructions stay fixed or get dynamically composed.
The design of this context — what goes in, where it goes, when it appears — is context engineering. It is not the same as prompt engineering. Prompt engineering is about wording: "You are a helpful assistant" vs. "Act as a knowledgeable guide." Context engineering is about architecture: does the tool description appear before the history or after it? Does the agent see its own past reasoning, or only its past actions? Does the system prompt repeat at every step, or does it appear once at the top?
These architectural choices move benchmark numbers. The ACDL paper demonstrates this directly: "Even small variations in how a basic ReAct agent's context is assembled lead to measurable differences in agent performance." Include reasoning traces in the history? Different success rate. Place tool descriptions at the last message instead of the first? Different success rate. These are not prompt wording tweaks. These are structural changes — changes in the macro-architecture of the context window.
And until now, there has been no standard way to describe them.
The Notation Gap
Every field that builds complex systems eventually develops shared notation. Software engineering has UML class diagrams, sequence diagrams, and state machines. Distributed systems have reactive streams marble diagrams. Bayesian inference has plate notation. Deep learning, despite lacking a formal convention, has converged on the ubiquitous box-and-arrow architecture diagrams that every Transformer paper uses.
Context engineering has had nothing.
Authors describe context architecture in loose prose. "The agent is presented with a summary of previous tool invocations and their outcomes." Presented how? In what role? Before or after the current query? Does "summary" mean the full trace or a condensed version? Is the reasoning included or stripped?
Reviewers guess at implementation details from code that may or may not match the paper. Teams hand off agent systems with paragraph descriptions that leave structural ambiguity on every side. The result: confusion, misimplementation, and silent performance regressions when context structure changes without anyone noticing.
The DeepSeek team's recent technical report illustrates this perfectly. They describe how training data for chat conversations and agentic tool use differ in the histories presented to the model. The description comes with two ad-hoc diagrams. They are helpful. They are also incomplete. Neither the text nor the diagrams fully capture the context structure. ACDL can describe both unambiguously, and the paper includes a full ACDL specification of DeepSeek's context in its appendix.
Enter ACDL
The Agentic Context Description Language is a formal language for specifying the structure and dynamics of LLM input contexts. It was introduced by Noga Peleg Pelc, Gal A. Kaminka, and Yoav Goldberg from Bar-Ilan University (Goldberg is also affiliated with Ai2). The paper was accepted at CAIS 2026 — the first ACM conference specifically dedicated to agentic systems — held in San Jose in May 2026.
ACDL captures the architecture of a prompt, not its content. You do not write the actual system prompt text. You write the skeleton that shows where it goes and how it relates to everything else. This is a deliberate design choice. Content changes constantly. Architecture changes less often, and when it does, the change matters more.
The core constructs are:
Role messages. Labeled sequences for the four standard API roles: System (S), User (U), Assistant (A), and Tool (T). Every piece of information in a context has a role. ACDL makes that explicit.
Time indices. @T marks the current step. @t iterates over past steps. @T.I references substeps within a step. This is how ACDL captures the dynamic, evolving nature of agent context — the thing that prose descriptions fumble most.
Namespaces. env for environment state, sys for system state, resp for LLM responses. Three clean buckets that separate where information comes from.
Control flow. ForEach, If/ElseIf/Else, Switch/Case for conditional and iterative structure. Agents are loops. ACDL makes the loop structure visible.
Functions. Computed content — retrieval, summarization, compaction. These are the transformations that happen between steps.
Templates. ALL_CAPS placeholders for variable content. Separates architecture from prose.
Fragments. Reusable string or role blocks. DRY for context specifications.
Mark blocks. Numbered annotations that can be referenced from surrounding prose. This is how you connect the formal specification to natural-language explanations.
A ReAct Loop in ACDL
Here is a minimal ReAct loop:
S: SYSTEM_INSTRUCTIONS
U: TASK_DESCRIPTION
ForEach step in @t:
A: resp[step].thought
A: resp[step].action
T: env.tool_output(resp[step].action)
A: resp[@T].final_answer
Read it top to bottom. A system message. A user task. Then a loop over past steps, each containing a thought, an action, and a tool result. Then a final answer at the current step.
Now consider a variant where reasoning traces are excluded from the action history — the agent sees its own past actions and their outcomes, but not its own past reasoning. In ACDL, you remove one line:
S: SYSTEM_INSTRUCTIONS
U: TASK_DESCRIPTION
ForEach step in @t:
A: resp[step].action
T: env.tool_output(resp[step].action)
A: resp[@T].final_answer
One line removed. The structural difference is immediately visible. In prose, this same distinction would require a paragraph of explanation that two different readers might still interpret differently.
Or consider a variant where tool descriptions appear at the last message rather than the first. The ACDL diff is a block reorder inside the specification. In prose, you would write something like "unlike the base implementation, tool descriptions are placed after the conversation history rather than before it." Two sentences. No precision. ACDL shows you exactly where the block moved.
The paper presents these three variants side-by-side as rendered diagrams. The visual differences are obvious at a glance — different colored blocks in different positions. That is the point. Structural differences that prose hides, ACDL reveals.
What ACDL Is Not
ACDL is not a programming language. It does not build agents. It does not execute anything. It does not tell you how to implement the context assembly logic. It describes what the context contains, not how it is computed.
ACDL is also not a prompt engineering tool. It does not help you write better system instructions or choose more effective wording. It is orthogonal to prompt engineering. You can use ACDL to describe any context architecture, regardless of how good or bad the prompts inside it are.
The distinction matters. Prompt engineering is about what you say. Context engineering is about where it goes. ACDL is for the latter.
Real Systems, Real Descriptions
The paper does not just define ACDL in the abstract. It demonstrates the language by documenting several real systems:
- ReAct variants — the three structural variants described above, plus more complex configurations
- The MINT benchmark agent — a multi-turn, multi-step agent used for evaluating tool use
- OpenCode — an open-source coding agent
- OpenClaw — an agent framework (the system this article is being written on, as it happens)
- The Gemini agent that played Pokemon Blue — a multi-step game-playing agent
- DeepSeek-V4 — including both the chat and agentic tool-use training configurations
Each documentation reveals architectural differences that prose descriptions obscure. The DeepSeek case is particularly instructive: the technical report's ad-hoc diagrams become precise ACDL specifications, and the gaps in the original description become immediately apparent.
This is not a language designed to make one system look good. It is a language designed to describe the design space itself. The fact that the authors applied it to systems they did not build — DeepSeek, OpenClaw, OpenCode, the Gemini Pokemon agent — demonstrates that it generalizes beyond its creators' own work.
The Empirical Hook: Structure Moves Numbers
The paper's Section 5 is the part that should make every agent builder sit up. The authors take a basic ReAct agent and vary its context structure in small ways:
- Including or excluding reasoning traces from the action history
- Placing tool descriptions at different positions in the context
- Repeating or not repeating system instructions across steps
These are not prompt wording changes. They are structural changes — exactly the kind of changes ACDL captures. And they produce measurable differences in agent performance on standard benchmarks.
This is the empirical argument for ACDL's existence. If small structural variations move numbers, then structural variations need a notation. If you cannot precisely describe the difference between two context architectures, you cannot precisely study which one works better, or why, or under what conditions. ACDL gives you that precision.
The paper is careful not to overclaim here. It does not say ACDL makes agents better. It says ACDL makes the structural choices that affect agent performance explicit and comparable. The engineering is still up to you. But at least now you can talk about it.
The Tooling
ACDL ships with real, working tooling:
- Web editor and visualizer at acdlang.org that renders
.acdlfiles to PDF or PNG block diagrams - VS Code extension with syntax highlighting, diagnostics, live preview, and go-to-definition
- Claude Code skill for authoring ACDL specifications inside agent sessions
- Language documentation and example specifications
The web renderer produces block diagrams where roles become labeled columns and the vertical axis represents time. Loops collapse and expand. Conditional branches fork. You can hand-draw these on a whiteboard or write them in formal syntax and render them. The dual mode — informal whiteboard sketches and formal renderable specifications — is a deliberate design choice. ACDL wants to be useful both for quick conversations and for precise documentation.
The VS Code extension currently shows 1 install on the marketplace. This is early days. But the infrastructure is there.
When ACDL Is Worth It
ACDL is not for every project. The overhead of maintaining a formal specification has to earn its keep. The paper identifies three scenarios where it clearly does:
Cross-team handoffs. When you pass an agent system to a team or vendor that cannot read your code, ACDL gives them the architectural skeleton without requiring them to reverse-engineer your implementation. This is the documentation-as-code argument. Your .acdl file is an always-up-to-date specification of your context architecture.
Papers and RFCs. Published artifacts must stay intelligible without the implementation. ACDL lets you show exactly how your context is structured instead of relying on vague prose. Reviewers can compare your architecture to others unambiguously. The paper itself practices what it preaches: every system it documents uses ACDL, and the structural differences are immediately visible.
Comparing variants. Ablation studies across ReAct, ReWOO, Plan-and-Execute, or your own internal variants need to show what actually differs. ACDL diffs make structural differences explicit and comparable. This is where the notation earns its keep fastest. If you are running ablations on context architecture, ACDL is how you document what changed between runs.
Prompt-restructure reviews. When you need to diff one architecture against another, and the source diff is dominated by content changes that obscure the structural change you care about. ACDL separates structure from content, making the structural diff clean.
When ACDL Backfires
The paper is honest about where ACDL hurts more than it helps. Three scenarios:
Solo or small-team projects. When the same person reads and writes the prompt, the specification is parallel work nobody consults. An .acdl file alongside the implementation becomes a liability the moment it drifts out of sync. This is the same problem that afflicts any specification that lives outside the code it describes.
Rapid iteration tempo. Any restructure invalidates the specification. Teams iterating multiple times a day let .acdl files rot, recreating the informal-prose problem the language is meant to solve. The same drift problem affects any specification that lives outside the implementation.
Content-dominated agents. When most context volume is dynamic tool output — long file contents, retrieval results, search dumps — ACDL's macro structure is a thin layer over content the language deliberately abstracts away. The hard engineering happens inside resp values that ACDL does not describe.
These are not weaknesses in ACDL's design. They are honest scope boundaries. ACDL describes the architecture of a prompt, not its content. If your problem is mostly content, ACDL will not help much.
Two Structural Gaps
The paper flags two limitations the language does not yet handle:
- In-construction mutation. ACDL assumes state is immutable during a single context construction step. Agents that mutate state mid-assembly — for example, modifying a plan during the same step where they execute it — cannot be fully specified yet.
- Multi-agent clock desynchronization. Multi-agent systems with desynchronized clocks against shared mutable state require explicit clock synchronization. The authors call the current workaround "inelegant." Future versions will address both.
These are real limitations, not cosmetic ones. The in-construction mutation gap means that some advanced agent architectures — particularly those that interleave planning and execution within a single context — cannot be described completely in current ACDL. The multi-agent gap means that systems where multiple agents share mutable state and operate on different timelines need more than what the language currently provides.
But the existence of these acknowledged gaps is itself a sign of maturity. The authors are not pretending ACDL solves everything. They are drawing precise boundaries around what it does and does not cover, which is exactly what a good specification language should do.
Context Engineering's UML Moment
Context engineering has been racing toward formalization for months. We have had AGENTS.md for agent-readable documentation. COMPRESSION.md for context window management. WORKFLOW.md for execution orchestration. AgentPatterns.ai for design pattern catalogs. The Root Theorem of Context Engineering for theoretical foundations. Each of these addresses a different piece of the puzzle: what goes in the prompt, how it gets compressed, how it gets governed, how it gets tested.
ACDL addresses the piece that has been missing: how do you describe the architecture of a prompt so precisely that someone else can implement it correctly, compare it to another architecture, and reason about its behavior?
It is the UML of context engineering. Whether you love UML or hate it — and many software engineers have strong opinions either way — you cannot deny that shared notation changes how a field communicates. Before UML, software architecture was described in prose and ad-hoc diagrams. After UML, at least the diagrams had a standard vocabulary. Even teams that never wrote formal UML still benefited from having a shared language for class relationships, sequence flows, and state transitions.
ACDL aims for the same transformation in context engineering. Before ACDL, context architecture is described in prose and ad-hoc diagrams. After ACDL — if it gains adoption — at least the architecture diagrams will have a standard vocabulary. Even teams that never write formal ACDL will benefit from having shared terms for role messages, time indices, namespaces, and control flow in context specifications.
Why This Paper, Why Now
The timing is not accidental. Three forces converge:
Agent systems are proliferating. Every major AI lab is building multi-step agentic systems. Each one makes context architecture decisions that affect performance. The number of distinct agent architectures is growing fast enough that informal prose descriptions are becoming a bottleneck.
Context engineering is becoming a discipline. The field is moving from ad-hoc prompt hacking to systematic design. That transition demands shared vocabulary and shared notation. You cannot have a discipline without a way to describe its objects of study.
Performance sensitivity to structure is documented. The ACDL paper's Section 5 provides the empirical hook. Prior work hinted that context structure matters. ACDL shows that even small structural variations in a basic ReAct agent produce measurable performance differences. If structure moves numbers, structure deserves a notation.
The venue reinforces the timing. CAIS 2026 is the first ACM conference specifically for agentic systems. The program committee chose to spotlight ACDL with a talk slot, which signals that the community recognizes the problem ACDL addresses. When the first dedicated venue for agentic systems features a paper on context description language, that tells you something about what the field thinks matters.
The Credibility Factor
The author list matters. Yoav Goldberg is one of the most cited NLP researchers in the world — his textbook on neural network methods for NLP is a standard reference, and his work on morphological analysis and syntax has shaped the field for over a decade. Gal A. Kaminka is a leading researcher in multi-agent systems at Bar-Ilan University. Noga Peleg Pelc is the lead author, and the work came from her research group.
This is not a random preprint from an unknown lab. This is a paper from established researchers in NLP and multi-agent systems, accepted at the flagship venue for agentic systems research, with a DOI from ACM. The technical content is solid. The tooling is real. The examples are drawn from real, deployed systems. The limitations are honestly stated.
What Happens Next
Whether ACDL becomes a standard depends on adoption. Standards in computer science have a mixed track record. UML became widespread. OWL and RDF remain niche. The difference usually comes down to whether the standard solves a problem that enough people actually have, with tooling that actually works, at a time when the field is ready for it.
ACDL checks all three boxes. The problem — how to precisely describe context architecture — is real and growing. The tooling — parser, web renderer, VS Code extension, Claude Code skill — is functional. The timing — the agentic systems field is exploding — is right.
The biggest risk is the drift problem. Any specification that lives outside the implementation will go stale unless someone maintains it. ACDL mitigates this by being concise enough that updates are small, and by having tooling that makes the specification renderable and diffable. But the risk remains, and the paper acknowledges it.
The second risk is scope creep. ACDL is deliberately narrow. It describes context structure, not agent logic, not tool implementations, not retrieval mechanisms. The temptation will be to expand it into a full agent specification language. That would be a mistake. ACDL's value comes from its focus. The gaps it does not fill — in-construction mutation, multi-agent clocks — should be filled by extensions that preserve the narrow scope, not by bloating the language into something that tries to do everything.
The Bottom Line
ACDL gives context engineering its first formal notation for describing how agent prompts are structured and how they evolve over time. It is precise where prose is ambiguous. It is visual where code is opaque. It is standard where ad-hoc diagrams are idiosyncratic. And it comes with empirical evidence that the structural differences it captures actually matter for agent performance.
If you build agent systems and struggle to communicate context architecture across teams, ACDL is worth a serious look. The parser, renderer, VS Code extension, and documentation are at acdlang.org. The paper is at arxiv.org/abs/2605.01920. The language is open and welcomes contributions.
Context engineering is becoming a discipline. A discipline needs a notation. ACDL is the best notation we have.
Citations
- Peleg Pelc, N., Kaminka, G.A., & Goldberg, Y. (2026). "A Language for Describing Agentic LLM Contexts." arXiv:2605.01920. Accepted at CAIS 2026. DOI: 10.1145/3786335.3813126. https://arxiv.org/abs/2605.01920
- ACDL project page and tooling: https://www.acdlang.org
- ACDL VS Code extension: https://marketplace.visualstudio.com/items?itemName=NogaPelegPelc.acdl-language
- AgentPatterns.ai ACDL reference: https://agentpatterns.ai/standards/acdl-context-description-language/
- CAIS 2026 conference program: https://www.caisconf.org/program/2026/papers/a-language-for-describing-agentic-llm-contexts/
- Yao, S. et al. (2023). "ReAct: Synergizing Reasoning and Acting in Language Models." ICLR 2023.
- DeepSeek-AI (2026). Technical report on training data for chat conversations vs. agentic tool use.
Suggested Title
ACDL: The Missing Blueprint for Agent Prompts
Word Count
2,807
Fact-Check Notes
- CAIS 2026 acceptance and venue details: Confirmed via CAIS 2026 program page (Paper Session 1: Agent Design, Wednesday May 27, 11:05 AM, Bayshore Ballroom; poster 5:15-6:45 PM). Conference dates: May 26-29, 2026, San Jose, CA. DOI: 10.1145/3786335.3813126.
- Authors and affiliations: Noga Peleg Pelc (Bar-Ilan), Gal A. Kaminka (Bar-Ilan), Yoav Goldberg (Bar-Ilan & Ai2). Confirmed via arXiv and CAIS program page.
- "Even small variations... lead to measurable differences": Direct quote from Section 1 and Section 5 of the paper. The paper documents this with ReAct variant experiments.
- ACDL constructs (roles, time indices, namespaces, control flow, functions, templates, fragments, marks): Verified against the paper (Section 4 and Appendix D) and the acdlang.org website.
- Systems documented in the paper (ReAct variants, MINT, OpenCode, OpenClaw, Gemini Pokemon, DeepSeek-V4): Confirmed in Sections 4-5 and Appendix C.
- Tooling (web editor/renderer, VS Code extension, Claude Code skill): Confirmed via paper abstract, acdlang.org, and VS Code Marketplace (1 install as of writing — early days).
- Known limitations (in-construction mutation, multi-agent clocks): From Section 7 of the paper, also documented in AgentPatterns.ai reference.
- DeepSeek technical report example: Described in Section 3 of the paper and detailed in Appendix C.
- VS Code extension install count: 1 install as of writing. This may change rapidly; verify before publishing.
- The paper was presented as both a talk and a poster at CAIS 2026. Confirmed via the program page.
- ACDL is described as "descriptive, not prescriptive" — it specifies what the context contains, not how it is computed. This is a key design principle stated in Section 4.
- The distinction between ACDL and existing languages (PromptML, PDL, POML) is addressed in Section 3: these focus on organizing content of individual prompts or executing LLM workflows, not on describing temporally evolving context structure.