Symfony AI & MCP Hackathon · 2026

Parallel agents.
One accountable
world.

When autonomous agents work in parallel, the hard problem is not simply who goes first. It is knowing when one agent's change makes another agent's assumptions stale — and exactly what must be refreshed before that work can safely continue.

PHP research prototypeSymfony AIOfficial PHP MCP SDKRecorded traces · Reproducible checks
A SHARED WORLD · MULTIPLE AGENTSILLUSTRATIVE · NOT LIVE
How a version change propagates through dependent workstale / heldchange / refreshcurrent / eligible
DIRECTORprotocol composition
COMPOSEP-DEP · P-REVIEW · P-ESCALATE
BOUNDARIESscope · authority · policy
AGENT Acontract owner
READ V1current contract
CHANGE V1 → V2versioned change
AGENT Bdependent consumer
BUILD ON V1local implementation
STALE · HOLDold assumption invalid
ACK + RE-READconsume change packet
UPDATE + RETESTbind current evidence
AGENT Cindependent work
CONTINUEunaffected branch
STILL MOVINGno global freeze
HOST / ORACLEevidence boundary
ELIGIBLEcurrent snapshot checked
1 / Start with independent workAgents work within their own scopes. The Director composes situational protocols; it does not micromanage every implementation step.
STEP 01 / 05
Conceptual walkthrough, not a live execution feed or a measured single run. Recorded project scenarios are shown below.
The problem beneath parallelism

Locks protect writes.
They do not protect meaning.

A file can remain untouched while the assumptions behind an agent's work become obsolete. A contract changes. A policy revision invalidates a generated snapshot. A new relationship changes what must be checked. This is semantic staleness — often discovered only after more work has been built on top of it.

Typical coordination baseline

Coordinate activity

Task graphs, messages, and file locks are useful — but semantic freshness is often left to agents, tests, or a human to infer.

  • ×A write lock cannot prevent cross-file business drift.
  • ×A message may announce a change without defining what must be invalidated or re-proven.
  • ×A global restart can discard independent progress.
XiangGraph's design direction

Coordinate validity

Keep agents autonomous while making the consequences of change explicit, scoped, and reviewable.

  • ✓Track which work depends on a changed relationship or contract.
  • ✓Turn change into targeted refresh obligations and evidence re-binding.
  • ✓Hold affected work while unrelated work remains eligible to continue.

Conceptual design contrast, not a benchmark against every orchestration framework.

The coordination model

Do not stop every agent.
Stop only what became stale.

The Director composes a small set of situational protocols before execution. Agents still decide how to do their work. When a versioned change arrives, the intended response is local: identify affected scope, create the right obligation, notify the dependent agent, and require evidence against the current snapshot.

01 / COMPOSE

Plan the rules, not every move

A Director selects reusable protocols for dependencies, review, conflict, recovery, or escalation instead of hard-coding one giant workflow.

02 / LOCALIZE

Keep the blast radius small

A changed premise should invalidate only the work that depends on it. Unrelated agents should not be frozen because something changed elsewhere.

03 / PROVE

Evidence before eligibility

Receiving a message is not refreshing work. Passing a check is not authorization. Eligibility is not an external commit.

Recorded project scenarios

Three different coordination pressures.
One semantic approach.

These are recorded prototype scenarios, not a claim that a production runtime continuously monitors a live agent fleet.

P3 · RESOURCE CONTENTIONRECORDED

When two agents need the same resource

The trace records two RESOURCE_BUSY lease-request denials. This is explicit resource acquisition — not a claim that the filesystem itself rejected two writes.

Boundary: lease contention is demonstrated; this is not an OS-level distributed lock guarantee.
P4 · CONTRACT PROPAGATIONRECORDED

When a contract changes underneath a consumer

Contract revision 1 becomes revision 2. One ChangePacket reaches the consumer, which acknowledges, re-reads the contract, updates its client, and passes the affected test and host oracle.

Boundary: the separate verify-agent did not run; the host oracle is not an agent verification run.
P6 · DIRECTOR INTERVENTIONRECORDED REPLAY

When local coordination reaches its limit

A Director decision affects W1 and W2. Their acknowledgements and W3's independent completion remain distinct pieces of evidence in the replay.

Boundary: ACK means receipt, not publication, universal completion, or an external commit.
90-second project film

See the work move.
Not just the cards.

The film walks through resource contention, contract-change propagation, and a scoped Director decision. It is a recorded demonstration of the current prototype.

XiangGraph · Coordination beyond task orderRecorded project film · 1:30. Replay the exact recorded event checkpoints separately.
What has been checked

Show the receipts.
Keep the claims bounded.

These checks were run against an isolated Linux clone of the published source snapshot. They are reproducible engineering evidence, not an independent audit or a claim of production readiness.

65G1 vertical-slice checksScoped route invalidation and current-snapshot eligibility in the validated snapshot.
6 / 6Symfony AI bridge checksSymfony AI 1.0.0-BETA1 MCP bridge; two expected denials; model_calls = 0.
12 / 12Official PHP MCP SDK round-trip checksSDK 0.9.0 stdio direct roundtrip; five expected denials.
3Sanitized replay chainsPublic P3, P4, and P6 evidence chains verified in the tested snapshot.
Important: the G1 slice is a controlled pure-computation prototype. Future change tracking is declared but not enforced; publication_committed = false. The public evidence bundle is sanitized and re-hashed, so its chain is not represented as the original private chain head.
Architecture

Autonomy at the edge.
Invariants at the boundary.

XiangGraph is designed to avoid turning the coordinator into another all-knowing agent loop. Models propose and perform work; the coordination layer makes scope, versions, obligations, and decision boundaries explicit.

01

Autonomous agents

Agents choose implementation details inside their assigned Work and authority. The Director does not micromanage every tool call.

Agent discretion
02

Director-composed protocols

Reusable situational protocols describe what to do when dependencies change, evidence expires, conflicts arise, recovery is uncertain, or escalation is required.

Planning / composition
03

Semantic coordination core

Candidate contracts distinguish Work from Attempt, obligations from observations, evidence from authorization, and current eligibility from commitment.

Research contract · selected slices implemented
04

Symfony AI + MCP boundary

Symfony AI provides the agent integration path; the official PHP MCP SDK provides standard tool connectivity. Public checks exercise these integration boundaries.

PHP integration checks
Research prototype, honestly stated

A green check is not a production commit.

XiangGraph explores a stronger semantic contract for multi-agent work. The public repository contains runnable PHP slices, integration checks, and sanitized replays. It does not yet claim a production distributed runtime, OS-level fencing, continuously enforced future-change monitoring, real external publication, or statistically established superiority over other orchestration approaches.

DemonstratedRecorded coordination scenarios, scoped protocol logic, public replay evidence, and PHP integration checks.
Prototype / candidateBroader semantic contracts and the full relationship-to-obligation-to-evidence model.
Not claimedProduction distributed fencing, autonomous production writes, external commits, benchmark superiority, or independent certification.