SyndiChain

The Multi-Agent DAO Treasury Swarm — a society of specialized AI agents that collaborate, debate, and safely execute complex DeFi strategies on Somnia.

The Agent Society

Manager

Qwen-Plus

Parses treasury goals, decomposes tasks, mediates debate rounds, routes to human when stuck.

Analyst

Qwen-Turbo

Queries Somnia Exchange & Potion Swap DEX APIs to find highest-APY yield pools matching the goal.

Risk

Qwen-Turbo

Consults SomniaAgentRiskOracle.sol for audit scores, TVL history & exploit probability. Issues vetoes.

Execution

Qwen-Turbo

Formats approved strategy as a gas-optimized Multicall3 transaction ready for on-chain submission.

Compliance

Rules Engine

Verifies the final transaction against TreasuryPolicy.sol — daily limits, allowlists, multisig threshold.

Swarm Execution Flow

1
User inputs complex goal
2
Manager decomposes → parallel tasks
3
Analyst + Risk run in parallel
4
Risk vetoes? → 2-round debate
5
No consensus? → Escalate to human
6
Execution formats multicall tx
7
Compliance checks TreasuryPolicy
8
Human approves → on-chain

The Conflict Resolution Protocol

What makes SyndiChain different from a single-agent LLM

1. Veto Issued

Risk Agent flags a proposal with riskScore > 70 and issues a structured veto with quantified exploit probability.

2. Debate Rounds

Analyst cites 3 data points. Risk quantifies its counter. Manager mediates up to 2 rounds seeking consensus.

3. Human Tie-Break

If no consensus after 2 rounds, Manager escalates with both sides presented for human decision via the War Room.

On-Chain Infrastructure

TreasuryPolicy.sol

Somnia Testnet

Hard policy enforcement — daily limits, protocol allowlists, multisig thresholds. The Compliance Agent reads this before every transaction.

SomniaAgentRiskOracle.sol

Somnia Testnet

On-chain risk registry for Somnia DeFi protocols — audit scores, TVL history, incident records. The Risk Agent queries this.

StreamPay.sol

Somnia Testnet

Existing streaming contract powering payroll disbursements. Integrated into treasury strategy when user needs liquid payroll reserves.