AgentSkillsCN

Society Tier Selection

交互式引导,助您选择恰当的信任验证层级

SKILL.md
--- frontmatter
description: Interactive guidance for selecting appropriate trust verification tier

Society Tier Selection

Interactive guidance for selecting appropriate trust verification tier

Society Tier Selection Skill

Select the optimal trust verification tier for multi-agent interactions based on stakes, context, and requirements.

Society Tier Selection Skill

Select the optimal trust verification tier for multi-agent interactions based on stakes, context, and requirements.

Process

See the detailed interactive selection process below with decision trees and tier reference.

Best Practices

  • Match verification cost to interaction stakes
  • Start with lower tiers and escalate only when needed
  • Use presets for common scenarios (DEVELOPMENT, PRODUCTION, ENTERPRISE)
  • Document tier selection rationale for future reference
  • Monitor escalation triggers and adjust accordingly
  • Consider de-escalation after compliance periods

Core Principle

Match verification cost to interaction stakes. Don't pay for blockchain when signatures suffice.

Quick Decision Tree

code
START: What is the economic value at risk?

Less than $100?
  └─► L0 Local (free, <10ms)
      Unless: Cross-organization OR audit required
              └─► L1 Attested ($0.0001, minutes)

$100 - $10,000?
  └─► L1 Attested (audit trail)
      Unless: Automated enforcement needed
              └─► L2 Contracted ($0.10, seconds)

$10,000 - $100,000?
  └─► L2 Contracted (smart contracts)
      Unless: Multi-party agreement required
              └─► L3 Consensus ($1-5, minutes)

Over $100,000?
  └─► L3 Consensus OR L4 Economic
      L4 if: Long-term partnership with stake commitment
code
START: What is the economic value at risk?

Less than $100?
  └─► L0 Local (free, <10ms)
      Unless: Cross-organization OR audit required
              └─► L1 Attested ($0.0001, minutes)

$100 - $10,000?
  └─► L1 Attested (audit trail)
      Unless: Automated enforcement needed
              └─► L2 Contracted ($0.10, seconds)

$10,000 - $100,000?
  └─► L2 Contracted (smart contracts)
      Unless: Multi-party agreement required
              └─► L3 Consensus ($1-5, minutes)

Over $100,000?
  └─► L3 Consensus OR L4 Economic
      L4 if: Long-term partnership with stake commitment

Tier Reference

TierMechanismLatencyCostBest For
L0 LocalEd25519 signatures<10msFreeInternal agents, development
L1 AttestedMerkle anchoringMinutes$0.0001Cross-org, audit trails
L2 ContractedSmart contractsSeconds$0.10Payments, SLAs
L3 ConsensusMulti-party BFTMinutes$1-5Critical decisions
L4 EconomicStake + slashingVariableStakeLong-term partnerships

Interactive Selection

When asked to select a tier, gather these inputs:

1. Economic Value

Ask: What is the approximate economic value at risk?

  • Less than $100 → Start with L0
  • $100-$10K → Start with L1
  • $10K-$100K → Start with L2
  • Over $100K → Start with L3/L4

2. Organizational Boundary

Ask: Is this interaction within the same organization or cross-organization?

  • Same org → No change
  • Cross-org → Increase tier by 1

3. Audit Requirements

Ask: Is an audit trail required for compliance or legal reasons?

  • No → No change
  • Yes → Minimum L1

4. Enforcement Needs

Ask: Do you need automated enforcement (penalties, refunds)?

  • No → No change
  • Yes → Minimum L2

5. Decision Authority

Ask: Does this require multi-party consensus?

  • No → No change
  • Yes → Minimum L3

6. Relationship Duration

Ask: Is this a long-term relationship requiring ongoing trust?

  • No → Use tier from previous steps
  • Yes → Consider L4 with stake

Selection Output Format

After gathering inputs, provide:

markdown

## Recommended Trust Tier: L{tier_number} {tier_name}
### Rationale
- Economic value: {value}
- Cross-organization: {yes/no}
- Audit required: {yes/no}
- Automated enforcement: {yes/no}
- Multi-party consensus: {yes/no}
- Long-term relationship: {yes/no}

### Tier Details
- **Mechanism**: {mechanism}
- **Latency**: {latency}
- **Cost**: {cost}
- **Guarantees**: {guarantees}

### Implementation
```python
from lib.society.simple import create_agent_society, SocietyPreset

# For L{tier_number}, use {preset} preset
society = create_agent_society(
    "YourProject",
    agents=["agent1", "agent2"],
    preset=SocietyPreset.{preset}
)

Escalation Triggers

The system will automatically escalate to a higher tier if:

  • {escalation_trigger_1}
  • {escalation_trigger_2}
code

```python
from lib.society.simple import create_agent_society, SocietyPreset

# For L{tier_number}, use {preset} preset
society = create_agent_society(
    "YourProject",
    agents=["agent1", "agent2"],
    preset=SocietyPreset.{preset}
)

Common Scenarios

Development & Testing

Recommendation: L0 Local (DEVELOPMENT preset)

python
society = create_agent_society("MyProject", preset=SocietyPreset.DEVELOPMENT)

Production Internal

Recommendation: L1 Attested (PRODUCTION preset)

python
society = create_agent_society("MyProject", preset=SocietyPreset.PRODUCTION)

Cross-Organization API

Recommendation: L2 Contracted (ENTERPRISE preset)

python
society = create_agent_society("MyProject", preset=SocietyPreset.ENTERPRISE)

Financial Transactions

Recommendation: L2 or L3 depending on value

python
# Configure for contracted trust
from lib.society.presets import SocietyBuilder, TrustTier

society = (SocietyBuilder("FinanceProject")
    .with_trust_tier(TrustTier.L2_CONTRACTED)
    .with_contract_enforcement(True)
    .with_agents(["payment_agent", "verification_agent"])
    .build())
python
society = create_agent_society("MyProject", preset=SocietyPreset.DEVELOPMENT)
python
society = create_agent_society("MyProject", preset=SocietyPreset.PRODUCTION)
python
society = create_agent_society("MyProject", preset=SocietyPreset.ENTERPRISE)
python
# Configure for contracted trust
from lib.society.presets import SocietyBuilder, TrustTier

society = (SocietyBuilder("FinanceProject")
    .with_trust_tier(TrustTier.L2_CONTRACTED)
    .with_contract_enforcement(True)
    .with_agents(["payment_agent", "verification_agent"])
    .build())

Cost-Benefit Analysis

TierSetup CostOperational CostSecurity Level
L0MinimalFreeGood for trusted environments
L1Low$0.10-$1/monthAudit-ready
L2Medium$10-$100/monthEnterprise-grade
L3High$100-$1000/monthCritical infrastructure
L4Very highStake opportunity costMaximum security

Escalation and De-escalation

Automatic Escalation Triggers

  • 3+ violations in 24 hours → +1 tier
  • Dispute open >48 hours → +1 tier
  • Multi-party conflict → Jump to L3
  • Critical axiom violation → Jump to L3

De-escalation

  • 7 days compliance with no violations → -1 tier (minimum L0)

References

Prerequisites

[!IMPORTANT] Requirements: