IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v17y2025i8p363-d1720600.html
   My bibliography  Save this article

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

Author

Listed:
  • Uwe M. Borghoff

    (Institute for Software Technology, University of the Bundeswehr Munich, 85579 Neubiberg, Germany
    Current address: STAKE Lab, University of Molise, C. da Fonte Lappone, 86090 Pesche, Italy.)

  • Paolo Bottoni

    (Department of Computer Science, Sapienza University of Rome, 00161 Rome, Italy)

  • Remo Pareschi

    (Department of Bioscience and Territory, University of Molise, 86100 Campobasso, Italy)

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.

Suggested Citation

  • Uwe M. Borghoff & Paolo Bottoni & Remo Pareschi, 2025. "Beyond Prompt Chaining: The TB-CSPN Architecture for Agentic AI," Future Internet, MDPI, vol. 17(8), pages 1-27, August.
  • Handle: RePEc:gam:jftint:v:17:y:2025:i:8:p:363-:d:1720600
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/17/8/363/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/17/8/363/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:17:y:2025:i:8:p:363-:d:1720600. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.