Next Article in Journal
Enabling Horizontal Collaboration in Logistics Through Secure Multi-Party Computation
Previous Article in Journal
Parallel Algorithm for NP-Hard Problem of Channel Resource Allocation Optimization in Ad Hoc and Sensor Networks
Previous Article in Special Issue
Parallel Agent-Based Framework for Analyzing Urban Agricultural Supply Chains
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI

1
Institute for Software Technology, University of the Bundeswehr Munich, 85579 Neubiberg, Germany
2
Research Center of Cyber Intelligence and Information Security, Sapienza University of Rome, 00185 Rome, Italy
3
Department of Bioscience and Territory, University of Molise, 86100 Campobasso, Italy
*
Author to whom correspondence should be addressed.
Current address: STAKE Lab, University of Molise, C. da Fonte Lappone, 86090 Pesche, Italy.
Future Internet 2025, 17(8), 363; https://doi.org/10.3390/fi17080363
Submission received: 14 July 2025 / Revised: 31 July 2025 / Accepted: 4 August 2025 / Published: 8 August 2025
(This article belongs to the Special Issue Intelligent Agents and Their Application)

Abstract

Current agentic AI frameworks such as LangGraph and AutoGen simulate autonomy via sequential prompt chaining but lack true multi-agent coordination architectures. These systems conflate semantic reasoning with orchestration, requiring LLMs at every coordination step and limiting scalability. By contrast, TB-CSPN (Topic-Based Communication Space Petri Net) is a hybrid formal architecture that fundamentally separates semantic processing from coordination logic. Unlike traditional Petri net applications, where the entire system state is encoded within the network structure, TB-CSPN uses Petri nets exclusively for coordination workflow modeling, letting communication and interaction between agents drive semantically rich, topic-based representations. At the same time, unlike first-generation agentic frameworks, here LLMs are confined to topic extraction, with business logic coordination implemented by structured token communication. This hybrid architectural separation preserves human strategic oversight (as supervisors) while delegating consultant and worker roles to LLMs and specialized AI agents, avoiding the state-space explosion typical of monolithic formal systems. Our empirical evaluation shows that TB-CSPN achieves 62.5% faster processing, 66.7% fewer LLM API calls, and 167% higher throughput compared to LangGraph-style orchestration, without sacrificing reliability. Scaling experiments with 10–100 agents reveal sub-linear memory growth (10× efficiency improvement), directly contradicting traditional Petri Net scalability concerns through our semantic-coordination-based architectural separation. These performance gains arise from the hybrid design, where coordination patterns remain constant while semantic spaces scale independently. TB-CSPN demonstrates that efficient agentic AI emerges not by over-relying on modern AI components but by embedding them strategically within a hybrid architecture that combines formal coordination guarantees with semantic flexibility. Our implementation and evaluation methodology are openly available, inviting community validation and extension of these principles.
Keywords: agentic AI; multi-agent systems; Colored Petri Nets; topic modeling; prompt chaining; human-in-the-loop agentic AI; multi-agent systems; Colored Petri Nets; topic modeling; prompt chaining; human-in-the-loop

Share and Cite

MDPI and ACS Style

Borghoff, U.M.; Bottoni, P.; Pareschi, R. Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI. Future Internet 2025, 17, 363. https://doi.org/10.3390/fi17080363

AMA Style

Borghoff UM, Bottoni P, Pareschi R. Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI. Future Internet. 2025; 17(8):363. https://doi.org/10.3390/fi17080363

Chicago/Turabian Style

Borghoff, Uwe M., Paolo Bottoni, and Remo Pareschi. 2025. "Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI" Future Internet 17, no. 8: 363. https://doi.org/10.3390/fi17080363

APA Style

Borghoff, U. M., Bottoni, P., & Pareschi, R. (2025). Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI. Future Internet, 17(8), 363. https://doi.org/10.3390/fi17080363

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop