Notre vérificateur de conformité intègre désormais la vérification du Règlement européen sur l'intelligence artificielle (AI Act) ! En savoir plus.

Flux de coordination d'agents par Kanban (Hermes)

Un planificateur décompose la demande sur un tableau partagé, des workers spécialisés prennent les tâches, et l'orchestrateur livre lorsque toutes les cartes sont fermées.

Code FlowZap complet

Copiez et collez le code FlowZap suivant dans un projet de votre compte FlowZap pour voir ce diagramme.

task_planner { # Planner
  n1: rectangle label:"Orchestrator"
  specialized_workers.n5.handle(right) -> final_result.n6.handle(left) [label="publish"]
  shared_board.n2.handle(bottom) -> specialized_workers.n5.handle(top) [label="unblock writer"]
  specialized_workers.n4.handle(right) -> shared_board.n2.handle(right) [label="complete"]
  specialized_workers.n3.handle(right) -> shared_board.n2.handle(right) [label="complete"]
  shared_board.n2.handle(right) -> specialized_workers.n4.handle(left) [label="claim task 2"]
  shared_board.n2.handle(right) -> specialized_workers.n3.handle(left) [label="claim task 1"]
  task_planner.n1.handle(right) -> shared_board.n2.handle(left) [label="create tasks"]
}

shared_board { # Coordination
  n2: rectangle label:"Shared kanban.db"
}

specialized_workers { # Workers
  n3: rectangle label:"Researcher A"
  n4: rectangle label:"Researcher B"
  n5: rectangle label:"Writer"
}

final_result { # Output
  n6: circle label:"Deliverable"
}

Installer le paquet MCPnpm install -g flowzap-mcpDocumentation MCP

Modèles associés

Retour à tous les modèles