In Part 1, we explored the theoretical foundations of LLM-driven factory control. In Part 2, we watched these concepts come alive in Factorio's visual environment—seeing agents optimize power generation, mining operations, and pollution management in real-time.
Now comes the crucial question: what enables this level of intelligent coordination at the data and communication layer?
Core Insight: LLM systems need fundamentally different technical approaches as compared to traditional automation
Traditional automation: Binary inputs, deterministic rules, predictable outputs
LLM-based systems: Semantic interpretation, contextual reasoning, adaptive responses
These fundamental differences mean that, when deploying LLM-based systems in industrial environments, we encounter a new set of technical challenges that traditional automation rarely faces:
MQTT and JSON are both widely used in various domains. In our research environment—where LLM agents interact with a digital factory—this combination has proven especially effective for addressing the unique challenges of semantic communication and coordination.
Core Insight: JSON's key-value structure mirrors how LLMs process relationships and meaning
Traditional industrial systems often use binary protocols, register maps, or proprietary data formats. In our LLM agent research, we found that these models excel at processing structured, meaningful information—such as JSON—that mirrors human reasoning patterns.
Consider this Factorio solar farm data represented in JSON:
{
"solar_farm": {
"panels": 45,
"accumulators": 45,
"power_output": "85 W/m²",
"analysis": "Current 1:1 ratio insufficient for continuous operation"
}
}
The semantic richness is apparent: an LLM can understand not just the numbers, but their meaning and relationships. The structure itself presents the system state.
Key-Value Semantics: In our experiments, JSON's structure closely matches how LLMs process relationships. "panels are 45" maps directly to how LLMs understand subject-predicate relationships.