Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI
Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Current agentic AI frameworks like LangGraph and AutoGen simulate autonomy through sequential prompt chaining, but lack the architectural foundations for true multi-agent coordination. These systems conflate semantic understanding with process orchestration, requiring LLM involvement at every coordination step, which limits scalability. We introduce TB-CSPN (Topic-Based Communication Space Petri Net), a formal architecture that separates semantic processing from coordination logic. TB-CSPN restricts LLM usage to topic extraction while employing deterministic rule-based coordination through structured token communication. This architectural separation enables humans to maintain strategic control as supervisors while LLMs and specialized AI handle consultant and worker roles, respectively. Our empirical evaluation demonstrates TB-CSPN efficiency advantages over LangGraph-style orchestration: 62.5 percent faster processing, 66.7 percent fewer LLM API calls, and 167 percent higher throughput while maintaining equal reliability. These gains stem from TB-CSPN’s dedicated multi-agent environment that provides a purpose-built coordination substrate rather than relying on LLM-mediated process management. Built on Colored Petri Net semantics, TB-CSPN enables formal verification of coordination properties while supporting hybrid human-AI workflows through explicit topic-based communication. The framework demonstrates that efficient agentic AI emerges not from avoiding modern AI components, but from using them strategically within architectures designed for multi-agent coordination. Our implementation and comparative methodology are publicly available, enabling community validation and extension of these architectural principles.