← Latest papers
🤖 AI

Architecting Agentic Communities using Design Patterns

This paper proposes a formal, three-tiered design pattern framework for architecting production-grade Agentic Communities that integrate LLM agents, adaptive AI, and humans through governed roles and protocols, validated by a clinical trial matching case study to ensure verifiable enterprise governance.

Original authors: Zoran Milosevic, Fethi Rabhi

Published 2026-05-26
📖 6 min read🧠 Deep dive

Original authors: Zoran Milosevic, Fethi Rabhi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are building a massive, high-stakes orchestra. In the past, you might have had a few musicians playing simple, repetitive notes (like a metronome). But now, thanks to new technology (Large Language Models), you have musicians who can improvise, understand complex sheet music on the fly, and even write their own solos.

The problem? If you just let these new, super-smart musicians play whatever they want, the music might turn into chaos. You need a conductor, a rulebook, and a way to make sure everyone knows their part, especially when humans and robots are playing together.

This paper is essentially a blueprint for building that orchestra. It provides a set of "design patterns" (proven recipes for solving problems) to organize these smart AI agents so they can work together safely and effectively in big companies.

Here is the breakdown of their ideas, using simple analogies:

1. The Three Levels of "Musicians"

The authors say not all AI agents are the same. They sort them into three tiers, like a pyramid:

  • Level 1: The "Task Robots" (LLM Agents)

    • Analogy: Think of these as a very fast, very obedient sous-chef. They can chop onions or wash dishes perfectly if you give them a specific order. They don't decide what to cook; they just do exactly what they are told.
    • What they do: They handle specific, narrow jobs like extracting data from a document or formatting a file. They are reliable but lack "brainpower" for big decisions.
  • Level 2: The "Strategic Players" (Agentic AI)

    • Analogy: These are like a jazz musician who can hear a song, figure out the key, and improvise a solo. They don't just follow orders; they have a goal, they think about how to reach it, and they change their strategy if something goes wrong.
    • What they do: They can plan, reason, and adapt. If they need to find a specific patient for a clinical trial, they don't just search; they figure out the best way to search, check their work, and adjust if they hit a dead end.
  • Level 3: The "Orchestra" (Agentic Communities)

    • Analogy: This is the whole band playing together, including the human conductor. It's not just one smart musician; it's a group of Task Robots, Strategic Players, and actual humans working in a coordinated framework.
    • What they do: This is the big picture. It's where the AI agents and humans coordinate to solve complex problems that no single agent could handle alone. Crucially, this level has a "rulebook" to make sure everyone knows who is responsible for what.

2. The "Rulebook" (ODP Enterprise Language)

The paper argues that you can't just let these AI agents run wild in a hospital or a bank. You need a formal way to write down the rules.

  • The Metaphor: Imagine a contract signed in invisible ink that only the system can read. The authors use a standard called ODP-EL (Open Distributed Processing Enterprise Language).
  • How it works: They use "tokens" (like digital tickets) to manage rules:
    • Burden Tokens: "You must do this." (e.g., A doctor must approve a patient's enrollment).
    • Permit Tokens: "You are allowed to do this." (e.g., An AI is allowed to read a patient's file).
    • Embargo Tokens: "You are forbidden from doing this." (e.g., An AI is forbidden from making the final decision to enroll a patient).

This system creates a "chain of custody" for responsibility. If something goes wrong, you can trace exactly who (or which AI) had the "ticket" to make that move, ensuring no one can blame the computer for a decision they weren't allowed to make.

3. The "Recipe Book" (46 Design Patterns)

The authors didn't just talk about theory; they created a catalog of 46 specific recipes (patterns) for building these systems.

  • The Metaphor: Think of this like a cookbook for building AI systems. Instead of inventing a new way to bake a cake every time, you use a proven recipe.
  • Examples of Recipes:
    • ReAct: A recipe where the AI "thinks" out loud before it acts, so you can see its reasoning.
    • Human-in-the-Loop: A recipe that forces the AI to stop and ask a human for permission before making a big move.
    • Audit Trail: A recipe that automatically writes down every single step the AI took, like a flight recorder.

They found that about half of these recipes are for the "Strategic Players" (Agentic AI), and about a quarter are for the "Orchestra" (Agentic Communities), showing that the future is about groups working together, not just single bots.

4. The Real-World Test: The "Clinical Trial Matcher"

To prove their ideas work, they built a system to match patients with clinical trials (medical research studies).

  • The Problem: Finding the right patient for a trial is hard. It involves reading complex medical notes, checking strict rules, and ensuring patient safety.
  • The Solution: They built a three-layer system using their recipes:
    1. Layer 1 (The Foundation): Robots that grab patient data and check if the patient has signed the right consent forms (Task Robots).
    2. Layer 2 (The Brain): Smart AI that reads the medical notes, figures out if the patient fits the trial criteria, and explains why (Strategic Players).
    3. Layer 3 (The Orchestra): A system that coordinates with doctors, handles negotiations with other hospitals, and ensures a human doctor makes the final "Yes/No" decision (The Community).

The Result: The system worked, but more importantly, the "Rulebook" (ODP-EL) proved that the AI never broke the rules. It showed that the AI could only recommend, and the human doctor had to decide. This gives companies the confidence to use AI in sensitive areas like healthcare.

The Bottom Line

This paper says: "We have these amazing new AI tools that can think and adapt. But to use them in the real world (like in banks or hospitals), we can't just let them run free. We need to organize them into teams, give them clear roles, and use a formal 'rulebook' to track who is responsible for what."

They provide the blueprints (patterns) and the legal framework (formal language) to build these teams safely, ensuring that even as AI gets smarter, humans stay in the loop and accountability is never lost.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →