Skip to content

feat: Agent Town cognitive warfare simulation#7

Merged
aWN4Y25pa2EK merged 3 commits into
mainfrom
feat/agent-town-simulation
Jan 21, 2026
Merged

feat: Agent Town cognitive warfare simulation#7
aWN4Y25pa2EK merged 3 commits into
mainfrom
feat/agent-town-simulation

Conversation

@aWN4Y25pa2EK
Copy link
Copy Markdown
Member

Summary

Multi-agent simulation demonstrating M2M protocol for encrypted agent communication.

Features

  • 9 agent personas (Analyst, Skeptic, Propagandist, Conspiracist, etc.)
  • Watts-Strogatz small-world network topology
  • ChaCha20-Poly1305 encrypted messaging via M2M
  • OpenRouter API integration for LLM responses
  • Belief tracking and propagation metrics
  • Protocol telemetry dashboard
  • Multiple output modes (default, compact, transcript, beliefs)

Architecture

  • Epistemic error taxonomy (B_i/I^B/K_i)
  • Circuit breaker for API resilience
  • Exponential backoff retry policy
  • Model health tracking with rotation

Usage

# Dry run (no API key needed)
cargo run --bin agent-town --features crypto --release -- --dry-run --agents 20 --rounds 30 --verbose

# Live run
OPENROUTER_API_KEY=sk-... cargo run --bin agent-town --features crypto --release -- --agents 20 --rounds 30

CI

Added smoke tests for:

  • Basic dry-run execution
  • All output modes
  • All network topologies
  • Export functionality

Multi-agent simulation demonstrating M2M protocol for encrypted
agent communication. Features:

- 9 agent personas (Analyst, Skeptic, Propagandist, etc.)
- Watts-Strogatz small-world network topology
- ChaCha20-Poly1305 encrypted messaging via M2M
- OpenRouter API integration for LLM responses
- Belief tracking and propagation metrics
- Protocol telemetry dashboard
- Multiple output modes (default, compact, transcript, beliefs)

Epistemic architecture with proper error taxonomy (B_i/I^B/K_i).
Includes circuit breaker and retry policies for API resilience.
Add new CI job to verify agent-town binary works correctly:
- Basic dry-run execution
- All output modes (compact, transcript)
- All network topologies (random, ring)
- Export functionality (JSON, transcript, graph)
The agent-town binary uses rand and crypto crates which are only
available with the crypto feature. Mark it as requiring that feature
so MSRV builds without crypto succeed.
@aWN4Y25pa2EK aWN4Y25pa2EK merged commit 40f4e27 into main Jan 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant