Week 1 of this project had us go through the pipeline, which has already been developed before, and had us get familiar with it. What we were left with were 3 distinct pieces: TeLLMe, Tracefix, and Verified Coordination. The work we did for each section and the deliverables we did will be listed below:
We spent this week reading previous literature and gaining more practice with the tools we will use before we get the code
PlusCal = mathematical algorithmic language that translates a workflow into a language
TLA+ = middle step that TLC can run on
Process: convert PlusCal to TLA+ → TLC runs multiple scenarios on the TLA+ code → find instances of deadlock, miscommunication with protocol, etc.
Trace-Fix works closely with Verified-Coordination's TLC Checker to conduct a protocol repair loop. A basic overview of this portion is translating traces given out from the TLC Checker into LLM-readable language. A specialized LLM repair agent will receive that language and do the repairs needed accordingly.
Given a task or description, a Protocol Topology is formed, and this is done by the LLM. The LLM creates a PlusCal code protocol, and this is sent to the TLC Checker. What the checker does is go through all possible corner scenarios and send back telemetry objects called traces. These traces are strings which the Trace-Fix translates to LLM language, letting it fix the PlusCal code. (REPETITIVE PROCESS)
Week 1 had us read through the Trace-Fix paper[1], understanding the concepts and learning the pipeline structure and flow.
During week 1, I practiced writing a PlusCal script given a protocol topology and running the TLC model checker using the PlusCal code. I successfully ran TLC on a script that generated no errors and wrote a PlusCal script with channel safety invariants broken to generate a TLC response that caught the error. In the future, I hope to use the LLM's already in place in the TraceFix pipeline to figure out how to implement the checker in the smart city agentic stack.
Weeks 2-4 had us work on the actual code and understand it. Our mission for Week 2 was to understand how the code worked, what the files did, and how each part fit together. When going into Week 3, our mind was fixated on making a seamless client-side application, a program which will create a UI for us to use to play with the code and the procedure.
Make basic system design pipeline with a single agent orchestrator and multiple pipelines (for a single agent and multiple agents)
Give LLM’s as little room for error as possible by tightening the context window (info available to LLMs) → Include checkpoints at each step of the design
[1] S. Xia, Q. Li, T. Ehsan, and J. Ortiz, "TraceFix: Repairing Agent Coordination Protocols with TLA+ Counterexamples," in *Proceedings of the 2026 ACM Conference on AI in System Software (ACM CAIS)*, 2026.