hoare-1978-csp

Analyze synchronous guarded communication for multi-agent coordination with dependency graphs.

2|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/curiositech/port-daddy --skill hoare-1978-csp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hoare-1978-csp
Source: https://github.com/curiositech/port-daddy/tree/main/skills/hoare-1978-csp
Command: npx skills add https://github.com/curiositech/port-daddy --skill hoare-1978-csp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It provides a rigorous framework for designing and analyzing multi-agent coordination using synchronous, guarded communication where the topology dictates behavior, enabling deadlock-free orchestration.

Core Features & Use Cases

  • Guarded commands with input guards to select among multiple communication paths
  • Pattern matching for message discrimination and type-safe routing
  • Termination propagation through a communication topology and architectural deadlock prevention
  • Guidance for applying CSP concepts to pipelines, trees, arrays, and star topologies in agent systems
  • Use cases include agent orchestration planning, deadlock debugging, and formal-methods education

Quick Start

Build a minimal three-skill topology (source → processor → sink) and observe how termination propagates when the source closes.

Frequently Asked Questions about hoare-1978-csp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent deadlock when coordinating multiple agents in a dependency graph?

Deadlock avoidance in multiple agent coordination relies on synchronous guarded communication, where input guards and deterministic arbitration select safe communication paths dictated by the topology. This approach prevents circular waits in pipelines and trees.

What is synchronous guarded communication for agent coordination?

Synchronous guarded communication is a coordination mechanism using guarded commands with input guards to select among multiple communication paths. Pattern matching discriminates messages, and deterministic arbitration ensures type-safe routing across agent topologies.

How do I apply CSP concepts to pipeline and tree topologies in agent systems?

Applying CSP concepts to agent topologies involves using guarded input and pattern matching to manage communication flows. You build a source-processor-sink structure and observe how termination propagates when the source closes.

Why does termination fail to propagate through my multi-agent communication topology?

Termination propagation fails when the topology lacks proper guarded input and deterministic arbitration. Architectural deadlock prevention requires topology-driven design where guarded commands ensure termination signals cascade correctly through pipelines and trees.

Do I need formal methods knowledge to use guarded commands for agent orchestration?

Guarded commands for agent orchestration require understanding synchronous communication, pattern matching, and deterministic arbitration. The framework is suited for formal-methods education, deadlock debugging, and agent orchestration planning across star and array topologies.

What's the best way to architect deadlock-free orchestration for multi-agent systems?

Deadlock-free orchestration is best achieved through topology-driven architecture using CSP-inspired guards. This requires guarded input, pattern matching for message discrimination, and deterministic arbitration to coordinate agents across pipelines and trees.